Lines Matching +full:lynx +full:- +full:28 +full:g
2 # Guess values for system-dependent variables and create Makefiles.
5 # Report bugs to <unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
14 ## -------------------- ##
16 ## -------------------- ##
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
32 set -o posix ;; #(
46 # Quoting is to prevent editors from complaining about space-tab.
56 # Ensure predictable behavior from utilities with locale-dependent output.
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
111 if test ! -f "$as_myself"; then
118 # into an infinite loop, continuously re-executing ourselves.
124 # Preserve -v and -x to the replacement shell.
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
153 case \`(set -o) 2>/dev/null\` in #(
155 set -o posix ;; #(
181 test -x / || exit 1"
188 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
194 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
225 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
239 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
253 # Preserve -v and -x to the replacement shell.
257 case $- in # ((((
258 *v*x* | *x*v* ) as_opts=-vx ;;
259 *v* ) as_opts=-v ;;
260 *x* ) as_opts=-x ;;
266 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
278 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
279 $0: unbound-bugs@nlnetlabs.nl or
289 SHELL=${CONFIG_SHELL-/bin/sh}
295 ## --------------------- ##
297 ## --------------------- ##
299 # ---------------
309 # -----------------------
317 # -----------------
318 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # ---------
335 # -------------
341 -*) as_dir=./$as_dir;;
343 test -d "$as_dir" || eval $as_mkdir_p || {
347 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
351 as_dir=`$as_dirname -- "$as_dir" ||
374 test -d "$as_dir" && break
376 test -z "$as_dirs" || eval "mkdir $as_dirs"
377 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
383 # -----------------------
387 test -f "$1" && test -x "$1"
390 # ----------------------
409 # ------------------
422 as_val=`expr "$@" || test $? -eq 1`
427 # ---------
436 # ----------------------------------------
442 as_status=$1; test $as_status -eq 0 && as_status=1
444 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
458 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
464 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_me=`$as_basename -- "$0" ||
501 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
502 sed -n '
507 s/[$]LINENO.*/&-/
515 s/-\n.*//
520 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
537 case `echo -n x` in #(((((
538 -n*)
546 ECHO_N='-n';;
549 # For backward compatibility with old third-party macros, we provide
556 rm -f conf$$ conf$$.exe conf$$.file
557 if test -d conf$$.dir; then
558 rm -f conf$$.dir/conf$$.file
560 rm -f conf$$.dir
564 if ln -s conf$$.file conf$$ 2>/dev/null; then
565 as_ln_s='ln -s'
567 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
568 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
569 # In both cases, we have to default to `cp -pR'.
570 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
571 as_ln_s='cp -pR'
575 as_ln_s='cp -pR'
578 as_ln_s='cp -pR'
580 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
583 if mkdir -p . 2>/dev/null; then
584 as_mkdir_p='mkdir -p "$as_dir"'
586 test -d ./-p && rmdir ./-p
590 as_test_x='test -x'
594 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
597 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
599 SHELL=${CONFIG_SHELL-/bin/sh}
602 test -n "$DJDIR" || exec 7<&0 </dev/null
608 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
627 PACKAGE_BUGREPORT='unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues'
1022 if test -n "$ac_prev"; then
1035 --)
1038 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1040 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1043 -build | --build | --buil | --bui | --bu)
1045 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1048 -cache-file | --cache-file | --cache-fil | --cache-fi \
1049 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1051 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1052 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1055 --config-cache | -C)
1058 -datadir | --datadir | --datadi | --datad)
1060 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1063 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1064 | --dataroo | --dataro | --datar)
1066 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1067 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1070 -disable-* | --disable-*)
1071 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1076 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1086 -docdir | --docdir | --docdi | --doc | --do)
1088 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1091 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1093 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1096 -enable-* | --enable-*)
1097 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1099 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1102 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1107 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1112 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1113 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1114 | --exec | --exe | --ex)
1116 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1117 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1118 | --exec=* | --exe=* | --ex=*)
1121 -gas | --gas | --ga | --g)
1122 # Obsolete; use --with-gas.
1125 -help | --help | --hel | --he | -h)
1127 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1129 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1132 -host | --host | --hos | --ho)
1134 -host=* | --host=* | --hos=* | --ho=*)
1137 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1139 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1140 | --ht=*)
1143 -includedir | --includedir | --includedi | --included | --include \
1144 | --includ | --inclu | --incl | --inc)
1146 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1147 | --includ=* | --inclu=* | --incl=* | --inc=*)
1150 -infodir | --infodir | --infodi | --infod | --info | --inf)
1152 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1155 -libdir | --libdir | --libdi | --libd)
1157 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1160 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1161 | --libexe | --libex | --libe)
1163 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1164 | --libexe=* | --libex=* | --libe=*)
1167 -localedir | --localedir | --localedi | --localed | --locale)
1169 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1172 -localstatedir | --localstatedir | --localstatedi | --localstated \
1173 | --localstate | --localstat | --localsta | --localst | --locals)
1175 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1176 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1179 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1181 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1184 -nfp | --nfp | --nf)
1185 # Obsolete; use --without-fp.
1188 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1189 | --no-cr | --no-c | -n)
1192 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1193 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1196 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1197 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1198 | --oldin | --oldi | --old | --ol | --o)
1200 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1201 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1202 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1205 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1207 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1210 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1211 | --program-pre | --program-pr | --program-p)
1213 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1214 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1217 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1218 | --program-suf | --program-su | --program-s)
1220 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1221 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1224 -program-transform-name | --program-transform-name \
1225 | --program-transform-nam | --program-transform-na \
1226 | --program-transform-n | --program-transform- \
1227 | --program-transform | --program-transfor \
1228 | --program-transfo | --program-transf \
1229 | --program-trans | --program-tran \
1230 | --progr-tra | --program-tr | --program-t)
1232 -program-transform-name=* | --program-transform-name=* \
1233 | --program-transform-nam=* | --program-transform-na=* \
1234 | --program-transform-n=* | --program-transform-=* \
1235 | --program-transform=* | --program-transfor=* \
1236 | --program-transfo=* | --program-transf=* \
1237 | --program-trans=* | --program-tran=* \
1238 | --progr-tra=* | --program-tr=* | --program-t=*)
1241 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1243 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1246 -psdir | --psdir | --psdi | --psd | --ps)
1248 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1251 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1252 | -silent | --silent | --silen | --sile | --sil)
1255 -runstatedir | --runstatedir | --runstatedi | --runstated \
1256 | --runstate | --runstat | --runsta | --runst | --runs \
1257 | --run | --ru | --r)
1259 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1260 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1261 | --run=* | --ru=* | --r=*)
1264 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1266 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1267 | --sbi=* | --sb=*)
1270 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1271 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1272 | --sharedst | --shareds | --shared | --share | --shar \
1273 | --sha | --sh)
1275 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1276 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1277 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1278 | --sha=* | --sh=*)
1281 -site | --site | --sit)
1283 -site=* | --site=* | --sit=*)
1286 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1288 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1291 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1292 | --syscon | --sysco | --sysc | --sys | --sy)
1294 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1295 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1298 -target | --target | --targe | --targ | --tar | --ta | --t)
1300 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1303 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1306 -version | --version | --versio | --versi | --vers | -V)
1309 -with-* | --with-*)
1310 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1312 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1315 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1320 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1325 -without-* | --without-*)
1326 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1328 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1331 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1336 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1341 --x)
1342 # Obsolete; use --with-x.
1345 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1346 | --x-incl | --x-inc | --x-in | --x-i)
1348 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1349 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1352 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1353 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1355 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1356 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1359 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1360 Try \`$0 --help' for more information"
1367 '' | [0-9]* | *[!_$as_cr_alnum]* )
1375 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1376 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1384 if test -n "$ac_prev"; then
1385 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1389 if test -n "$ac_unrecognized_opts"; then
1415 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1419 # used to hold the argument of --host etc.
1435 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1440 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1441 ac_ls_di=`ls -di .` &&
1442 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1449 if test -z "$srcdir"; then
1452 ac_confdir=`$as_dirname -- "$as_myself" ||
1476 if test ! -r "$srcdir/$ac_unique_file"; then
1482 if test ! -r "$srcdir/$ac_unique_file"; then
1488 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1496 # mess up M-x gdb in Emacs.
1508 # Report the --help message.
1518 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1524 -h, --help display this help and exit
1525 --help=short display options specific to this package
1526 --help=recursive display the short help of all the included packages
1527 -V, --version display version information and exit
1528 -q, --quiet, --silent do not print \`checking ...' messages
1529 --cache-file=FILE cache test results in FILE [disabled]
1530 -C, --config-cache alias for \`--cache-file=config.cache'
1531 -n, --no-create do not create output files
1532 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1535 --prefix=PREFIX install architecture-independent files in PREFIX
1537 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1542 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1543 for instance \`--prefix=\$HOME'.
1548 --bindir=DIR user executables [EPREFIX/bin]
1549 --sbindir=DIR system admin executables [EPREFIX/sbin]
1550 --libexecdir=DIR program executables [EPREFIX/libexec]
1551 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1552 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1553 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1554 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1555 --libdir=DIR object code libraries [EPREFIX/lib]
1556 --includedir=DIR C header files [PREFIX/include]
1557 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1558 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1559 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1560 --infodir=DIR info documentation [DATAROOTDIR/info]
1561 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1562 --mandir=DIR man documentation [DATAROOTDIR/man]
1563 --docdir=DIR documentation root [DATAROOTDIR/doc/unbound]
1564 --htmldir=DIR html documentation [DOCDIR]
1565 --dvidir=DIR dvi documentation [DOCDIR]
1566 --pdfdir=DIR pdf documentation [DOCDIR]
1567 --psdir=DIR ps documentation [DOCDIR]
1573 --build=BUILD configure for building on BUILD [guessed]
1574 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1578 if test -n "$ac_init_help"; then
1585 --disable-option-checking ignore unrecognized --enable/--with options
1586 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1587 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1588 --enable-checking Enable warnings, asserts, makefile-dependencies
1589 --enable-debug same as enable-checking
1590 --disable-flto Disable link-time optimization (gcc specific option)
1591 --enable-pie Enable Position-Independent Executable (eg. to fully
1593 --enable-relro-now Enable full relocation binding at load-time (RELRO
1595 --enable-shared[=PKGS] build shared libraries [default=yes]
1596 --enable-static[=PKGS] build static libraries [default=yes]
1597 --enable-fast-install[=PKGS]
1599 --disable-libtool-lock avoid locking (might break parallel builds)
1600 --disable-rpath disable hardcoded rpath (default=enabled)
1601 --disable-largefile omit support for large files
1602 --enable-systemd compile with systemd support (requires libsystemd,
1603 pkg-config)
1604 --enable-alloc-checks enable to memory allocation statistics, for debug
1606 --enable-alloc-lite enable for lightweight alloc assertions, for debug
1608 --enable-alloc-nonregional
1612 --disable-swig-version-check
1615 --disable-sha1 Disable SHA1 RRSIG support, does not disable nsec3
1617 --disable-sha2 Disable SHA256 and SHA512 RRSIG support
1618 --enable-subnet Enable client subnet
1619 --disable-gost Disable GOST support
1620 --disable-ecdsa Disable ECDSA support
1621 --disable-dsa Disable DSA support
1622 --disable-ed25519 Disable ED25519 support
1623 --disable-ed448 Disable ED448 support
1624 --enable-event-api Enable (experimental) pluggable event base
1625 libunbound API installed to unbound-event.h
1626 --enable-tfo-client Enable TCP Fast Open for client mode
1627 --enable-tfo-server Enable TCP Fast Open for server mode
1628 --enable-static-exe enable to compile executables statically against
1630 --enable-fully-static enable to compile fully static
1631 --enable-lock-checks enable to check lock and unlock calls, for debug
1633 --enable-allsymbols export all symbols from libunbound and link binaries
1636 --enable-dnstap Enable dnstap support (requires protobuf-c)
1637 --enable-dnscrypt Enable dnscrypt support (requires libsodium)
1638 --enable-cachedb enable cachedb module that can use external cache
1640 --enable-ipsecmod Enable ipsecmod module that facilitates
1642 --enable-ipset enable ipset module
1643 --disable-explicit-port-randomisation
1646 --enable-linux-ip-local-port-range
1654 restricts (e.g. some of SELinux enabled
1655 distributions) the use of non-ephemeral ports.
1658 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1659 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1660 --with-conf-file=path Pathname to the Unbound configuration file
1661 --with-run-dir=path set default directory to chdir to (by default dir
1663 --with-chroot-dir=path set default directory to chroot to (by default same
1664 as run-dir)
1665 --with-share-dir=path set default directory with shared data (by default
1667 --with-pidfile=filename set default pathname to unbound pidfile (default
1668 run-dir/unbound.pid)
1669 --with-rootkey-file=filename
1671 run-dir/root.key). This file is read and written.
1672 --with-rootcert-file=filename
1674 (default run-dir/icannbundle.pem). This file need
1676 --with-username=user set default user that unbound changes to (default
1678 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1680 --with-aix-soname=aix|svr4|both
1683 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1684 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1686 --with-pthreads use pthreads library, or --without-pthreads to
1688 --with-solaris-threads use solaris native thread library.
1689 --with-syslog-facility=LOCAL0 - LOCAL7
1691 --with-dynlibmodule build dynamic library module, or
1692 --without-dynlibmodule to disable it. (default=no)
1693 --with-pyunbound build PyUnbound, or --without-pyunbound to skip it.
1695 --with-pythonmodule build Python module, or --without-pythonmodule to
1697 --with-nss=path use libnss instead of openssl, installed at path.
1698 --with-nettle=path use libnettle as crypto library, installed at path.
1699 --with-ssl=pathname enable SSL (will check /usr/local/ssl /usr/lib/ssl
1702 --with-libbsd Use portable libbsd functions
1703 --with-deprecate-rsa-1024
1707 --with-libevent=pathname
1712 --with-libexpat=path specify explicit path for libexpat.
1713 --with-libhiredis=path specify explicit path for libhiredis.
1714 --with-libnghttp2=path specify explicit path for libnghttp2.
1715 --with-libngtcp2=path specify explicit path for libngtcp2, for QUIC.
1716 --with-dnstap-socket-path=pathname
1718 --with-protobuf-c=path Path where protobuf-c is installed, for dnstap
1719 --with-libsodium=path Path where libsodium is installed, for dnscrypt
1720 --with-libmnl=path specify explicit path for libmnl.
1721 --with-libunbound-only do not build daemon and tool programs
1726 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1728 LIBS libraries to pass to the linker, e.g. -l<library>
1729 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1732 Defaults to the first program found out of: `bison -y', `byacc',
1736 default value of `-d' given by some make applications.
1738 User-defined run-time library search path.
1739 PKG_CONFIG path to pkg-config utility
1741 directories to add to pkg-config's search path
1743 path overriding pkg-config's built-in search path
1746 C compiler flags for SYSTEMD, overriding pkg-config
1748 linker flags for SYSTEMD, overriding pkg-config
1750 C compiler flags for SYSTEMD_DAEMON, overriding pkg-config
1752 linker flags for SYSTEMD_DAEMON, overriding pkg-config
1762 C compiler flags for PROTOBUFC, overriding pkg-config
1764 linker flags for PROTOBUFC, overriding pkg-config
1769 Report bugs to <unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues>.
1775 # If there are subdirs, report their specific --help.
1777 test -d "$ac_dir" ||
1778 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1787 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1816 # Metaconfig's "Configure" on case-insensitive file systems.
1817 if test -f "$ac_srcdir/configure.gnu"; then
1819 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1820 elif test -f "$ac_srcdir/configure"; then
1822 $SHELL "$ac_srcdir/configure" --help=recursive
1830 test -n "$ac_init_help" && exit $ac_status
1843 ## ------------------------ ##
1845 ## ------------------------ ##
1848 # --------------------------
1852 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 rm -f conftest.$ac_objext conftest.beam
1859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1863 if test -s conftest.err; then
1864 grep -v '^ *+' conftest.err >conftest.er1
1866 mv -f conftest.er1 conftest.err
1868 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1870 test -z "$ac_c_werror_flag" ||
1871 test ! -s conftest.err
1872 } && test -s conftest.$ac_objext
1887 # -------------------------------------------------------
1892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1910 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
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
1925 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1935 if test -s conftest.err; then
1936 grep -v '^ *+' conftest.err >conftest.er1
1938 mv -f conftest.er1 conftest.err
1940 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1942 test -z "$ac_c_werror_flag" ||
1943 test ! -s conftest.err
1944 } && test -s conftest$ac_exeext && {
1946 test -x conftest$ac_exeext
1960 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1967 # ----------------------------------
1971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2029 # -------------------------------------------
2034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2074 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2086 # ----------------------
2090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2100 if test -s conftest.err; then
2101 grep -v '^ *+' conftest.err >conftest.er1
2103 mv -f conftest.er1 conftest.err
2105 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2107 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2108 test ! -s conftest.err
2124 # ----------------------
2129 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2135 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2145 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2160 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2167 # --------------------------------------------
2168 # Tries to find the compile-time value of EXPR in a program that includes
2173 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2182 static int test_array [1 - 2 * !(($2) >= 0)];
2194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2200 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2213 if test $ac_lo -le $ac_mid; then
2219 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2228 static int test_array [1 - 2 * !(($2) < 0)];
2238 ac_hi=-1 ac_mid=-1
2240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2246 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2258 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2259 if test $ac_mid -le $ac_hi; then
2265 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2272 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2275 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2282 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2296 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2345 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2347 rm -f conftest.val
2355 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
2356 # ------------------------------------------------------------------
2358 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
2361 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2369 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2396 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2408 # ----------------------------------------------------
2413 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2458 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2471 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2482 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
2499 ## --------- ##
2501 ## --------- ##
2503 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2504 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2505 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2506 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2507 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2509 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2510 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2513 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2540 ## ----------- ##
2542 ## ----------- ##
2548 # Strip out --no-create and --no-recursion so they do not pile up.
2549 # Strip out --silent because we don't want to record it for future runs.
2550 # Also quote any args containing shell meta-characters.
2551 # Make two passes to allow for proper duplicate-argument suppression.
2561 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2562 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2563 | -silent | --silent | --silen | --sile | --sil)
2566 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2576 *=* | --config-cache | -C | -disable-* | --disable-* \
2577 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2578 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2579 | -with-* | --with-* | -without-* | --without-* | --x)
2584 -* ) ac_must_keep_next=true ;;
2607 printf "%s\n" "## ---------------- ##
2609 ## ---------------- ##"
2613 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2618 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2631 sed -n \
2632 "s/'\''/'\''\\\\'\'''\''/g;
2636 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2643 printf "%s\n" "## ----------------- ##
2645 ## ----------------- ##"
2651 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2657 if test -n "$ac_subst_files"; then
2658 printf "%s\n" "## ------------------- ##
2660 ## ------------------- ##"
2666 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2673 if test -s confdefs.h; then
2674 printf "%s\n" "## ----------- ##
2676 ## ----------- ##"
2685 rm -f core *.core core.conftest.* &&
2686 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2695 rm -f -r conftest* confdefs.h
2716 if test -n "$CONFIG_SITE"; then
2732 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2737 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2744 if test -r "$cache_file"; then
2747 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2783 static char *f (char * (*g) (char **, int), char **p, ...)
2788 s = g (p, va_arg (v,int));
2793 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2796 as an "x". The following induces an error, until -std is added to get
2799 that is true only with -std. */
2800 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2802 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2805 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2859 static long long int bignum = -9223372036854775807LL;
2879 // See if C++-style comments work.
2942 ia->datasize = 10;
2943 for (int i = 0; i < ia->datasize; ++i)
2944 ia->data[i] = i * 1.234;
2957 dynamic_array[ni.number - 1] = 543;
2961 || dynamic_array[ni.number - 1] != 543);
2984 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2998 // Check UTF-8 literals.
3007 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3091 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3115 # As a special case, if "install-sh" is required, that requirement
3116 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3118 if test x"$ac_aux" = x"install-sh"
3120 if test -f "${as_dir}install-sh"; then
3121 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3122 ac_install_sh="${as_dir}install-sh -c"
3123 elif test -f "${as_dir}install.sh"; then
3124 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3125 ac_install_sh="${as_dir}install.sh -c"
3126 elif test -f "${as_dir}shtool"; then
3127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3128 ac_install_sh="${as_dir}shtool install -c"
3132 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3138 if test -f "${as_dir}${ac_aux}"; then
3139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3171 if test -f "${ac_aux_dir}config.guess"; then
3174 if test -f "${ac_aux_dir}config.sub"; then
3177 if test -f "$ac_aux_dir/configure"; then
3191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3222 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3236 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3239 ## -------------------- ##
3241 ## -------------------- ##
3245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3267 # 1.3.0 had 1:0:0 # ub_cancel and -export-symbols.
3272 # 1.4.0-snapshots had 1:5:0
3353 # 1.21.0 had 9:28:1
3358 # Current -- the number of the binary API that we're implementing
3359 # Revision -- which iteration of the implementation of the binary
3361 # Age -- How many previous binary API versions do we also
3381 cmdln="`echo $@ | sed -e 's/\\\\/\\\\\\\\/g' | sed -e 's/"/\\\\"/'g`"
3398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3401 if test -n "$ac_tool_prefix"; then
3404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3410 if test -n "$CC"; then
3425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3435 if test -n "$CC"; then
3436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3445 if test -z "$ac_cv_prog_CC"; then
3449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3455 if test -n "$ac_ct_CC"; then
3470 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3480 if test -n "$ac_ct_CC"; then
3481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3503 if test -z "$CC"; then
3504 if test -n "$ac_tool_prefix"; then
3507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3513 if test -n "$CC"; then
3528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3538 if test -n "$CC"; then
3539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3549 if test -z "$CC"; then
3552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3558 if test -n "$CC"; then
3578 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3600 if test -n "$CC"; then
3601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610 if test -z "$CC"; then
3611 if test -n "$ac_tool_prefix"; then
3616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3622 if test -n "$CC"; then
3637 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3647 if test -n "$CC"; then
3648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3656 test -n "$CC" && break
3659 if test -z "$CC"; then
3665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 if test -n "$ac_ct_CC"; then
3686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3696 if test -n "$ac_ct_CC"; then
3697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3705 test -n "$ac_ct_CC" && break
3713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3722 if test -z "$CC"; then
3723 if test -n "$ac_tool_prefix"; then
3726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3732 if test -n "$CC"; then
3747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3757 if test -n "$CC"; then
3758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3767 if test -z "$ac_cv_prog_CC"; then
3771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3777 if test -n "$ac_ct_CC"; then
3792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3802 if test -n "$ac_ct_CC"; then
3803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3828 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3834 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3837 for ac_option in --version -v -V -qversion -version; do
3843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3847 if test -s conftest.err; then
3853 rm -f conftest.er1 conftest.err
3854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3871 # Try to create an executable without -o first, disregard a.out.
3874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3876 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3889 rm -f $ac_rmfiles
3896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3900 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3903 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3906 # so that the user can short-circuit this test for compilers unknown to
3910 test -f "$ac_file" || continue
3924 # safe: cross compilers may not add the suffix if given an `-o'
3938 if test -z "$ac_file"
3940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3945 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3959 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3980 test -f "$ac_file" || continue
3989 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3994 rm -f conftest conftest$ac_cv_exeext
3995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3998 rm -f conftest.$ac_ext
4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4040 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4047 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4050 If you meant to cross compile, use \`--host'.
4055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4058 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077 rm -f conftest.o conftest.obj
4083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091 test -f "$ac_file" || continue;
4102 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4107 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4155 printf %s "checking whether $CC accepts -g... " >&6; }
4163 CFLAGS="-g"
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 CFLAGS="-g"
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4214 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4225 CFLAGS="-g -O2"
4227 CFLAGS="-g"
4231 CFLAGS="-O2"
4239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4251 for ac_arg in '' -std=gnu11
4258 rm -f core conftest.err conftest.$ac_objext conftest.beam
4261 rm -f conftest.$ac_ext
4267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4297 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4304 rm -f core conftest.err conftest.$ac_objext conftest.beam
4307 rm -f conftest.$ac_ext
4313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4343 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4350 rm -f core conftest.err conftest.$ac_objext conftest.beam
4353 rm -f conftest.$ac_ext
4359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4494 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
4571 if uname -s 2>&1 | grep MINGW >/dev/null; then on_mingw="yes"
4592 # Check whether --with-conf_file was given.
4599 hdr_config="`echo $ub_conf_file | sed -e 's/\\\\/\\\\\\\\/g'`"
4604 ub_conf_dir=`$as_dirname -- "$ub_conf_file" ||
4631 # Check whether --with-run-dir was given.
4645 hdr_run="`echo $UNBOUND_RUN_DIR | sed -e 's/\\\\/\\\\\\\\/g'`"
4652 # Check whether --with-chroot-dir was given.
4666 hdr_chroot="`echo $UNBOUND_CHROOT_DIR | sed -e 's/\\\\/\\\\\\\\/g'`"
4673 # Check whether --with-share-dir was given.
4687 # Check whether --with-pidfile was given.
4701 hdr_pid="`echo $UNBOUND_PIDFILE | sed -e 's/\\\\/\\\\\\\\/g'`"
4708 # Check whether --with-rootkey-file was given.
4722 hdr_rkey="`echo $UNBOUND_ROOTKEY_FILE | sed -e 's/\\\\/\\\\\\\\/g'`"
4729 # Check whether --with-rootcert-file was given.
4743 hdr_rpem="`echo $UNBOUND_ROOTCERT_FILE | sed -e 's/\\\\/\\\\\\\\/g'`"
4750 # Check whether --with-username was given.
4766 wnvs=`echo $PACKAGE_VERSION | sed -e 's/^[^0-9]*\([0-9][0-9]*\)[^0-9][^0-9]*\([0-9][0-9]*\)[^0-9][^0-9]*\([0-9][0-9]*\)[^0-9][^0-9]*\([0-9][0-9]*\).*$/\1,\2,\3,\4/' -e 's/^[^0-9]*\([0-9][0-9]*\)[^0-9][^0-9]*\([0-9][0-9]*\)[^0-9][^0-9]*\([0-9][0-9]*\)[^0-9]*$/\1,\2,\3,0/' `
4772 # Check for 'grep -e' program, here, since ACX_CHECK_FLTO needs that.
4773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4774 printf %s "checking for grep that handles long lines and -e... " >&6; }
4779 if test -z "$GREP"; then
4781 # Loop through the user's path and test for each of PROGNAME-LIST
4798 case `"$ac_path_GREP" --version 2>&1` in
4810 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4813 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4819 test $ac_count -gt 10 && break
4821 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4829 if test -z "$ac_cv_path_GREP"; then
4837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4845 printf %s "checking for an ANSI C-conforming const... " >&6; }
4850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4869 an arm of an if-expression whose if-part is not a constant
4871 const char *g = "string";
4872 pcpcc = &g + (g ? g-g : 0);
4885 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4890 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4896 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4898 struct s *b = &bx; b->j = 5;
4900 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4917 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4933 # allow user to override the -g -O2 flags.
4938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -g" >&5
4939 printf %s "checking whether $CC supports -g... " >&6; }
4940 cache=`echo g | sed 'y%.=/+-%___p_%'`
4947 if test -z "`$CC $CPPFLAGS $CFLAGS -g -c conftest.c 2>&1`"; then
4952 rm -f conftest conftest.o conftest.c
4957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4960 CFLAGS="$CFLAGS -g"
4962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -O2" >&5
4971 printf %s "checking whether $CC supports -O2... " >&6; }
4972 cache=`echo O2 | sed 'y%.=/+-%___p_%'`
4979 if test -z "`$CC $CPPFLAGS $CFLAGS -O2 -c conftest.c 2>&1`"; then
4984 rm -f conftest conftest.o conftest.c
4989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4992 CFLAGS="$CFLAGS -O2"
4994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5007 if test -n "$ac_tool_prefix"; then
5010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 if test -n "$CC"; then
5031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5041 if test -n "$CC"; then
5042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5051 if test -z "$ac_cv_prog_CC"; then
5055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5061 if test -n "$ac_ct_CC"; then
5076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5086 if test -n "$ac_ct_CC"; then
5087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5109 if test -z "$CC"; then
5110 if test -n "$ac_tool_prefix"; then
5113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5119 if test -n "$CC"; then
5134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5144 if test -n "$CC"; then
5145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5155 if test -z "$CC"; then
5158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5164 if test -n "$CC"; then
5184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5206 if test -n "$CC"; then
5207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5216 if test -z "$CC"; then
5217 if test -n "$ac_tool_prefix"; then
5222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228 if test -n "$CC"; then
5243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5253 if test -n "$CC"; then
5254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5262 test -n "$CC" && break
5265 if test -z "$CC"; then
5271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5277 if test -n "$ac_ct_CC"; then
5292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5302 if test -n "$ac_ct_CC"; then
5303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5311 test -n "$ac_ct_CC" && break
5319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5328 if test -z "$CC"; then
5329 if test -n "$ac_tool_prefix"; then
5332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5338 if test -n "$CC"; then
5353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5363 if test -n "$CC"; then
5364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5373 if test -z "$ac_cv_prog_CC"; then
5377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5383 if test -n "$ac_ct_CC"; then
5398 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5408 if test -n "$ac_ct_CC"; then
5409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5434 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5440 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5443 for ac_option in --version -v -V -qversion -version; do
5449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5453 if test -s conftest.err; then
5459 rm -f conftest.er1 conftest.err
5460 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5490 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5506 printf %s "checking whether $CC accepts -g... " >&6; }
5514 CFLAGS="-g"
5515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5547 CFLAGS="-g"
5548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5563 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5565 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5567 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5576 CFLAGS="-g -O2"
5578 CFLAGS="-g"
5582 CFLAGS="-O2"
5590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5602 for ac_arg in '' -std=gnu11
5609 rm -f core conftest.err conftest.$ac_objext conftest.beam
5612 rm -f conftest.$ac_ext
5618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5648 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5655 rm -f core conftest.err conftest.$ac_objext conftest.beam
5658 rm -f conftest.$ac_ext
5664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5694 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5701 rm -f core conftest.err conftest.$ac_objext conftest.beam
5704 rm -f conftest.$ac_ext
5710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking $CC dependency flag" >&5
5737 if test "`$CC -MM conftest.c 2>&1`" = "conftest.o: conftest.c"; then
5738 DEPFLAG="-MM"
5740 if test "`$CC -xM1 conftest.c 2>&1`" = "conftest.o: conftest.c"; then
5741 DEPFLAG="-xM1"
5743 DEPFLAG="-MM" # dunno do something
5746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DEPFLAG" >&5
5748 rm -f conftest.c
5754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
5755 printf %s "checking whether $CC supports -Werror... " >&6; }
5756 cache=`echo Werror | sed 'y%.=/+-%___p_%'`
5763 if test -z "`$CC $CPPFLAGS $CFLAGS -Werror -c conftest.c 2>&1`"; then
5768 rm -f conftest conftest.o conftest.c
5773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5776 ERRFLAG="-Werror"
5778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5781 ERRFLAG="-errwarn"
5786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wall" >&5
5787 printf %s "checking whether $CC supports -Wall... " >&6; }
5788 cache=`echo Wall | sed 'y%.=/+-%___p_%'`
5795 if test -z "`$CC $CPPFLAGS $CFLAGS -Wall -c conftest.c 2>&1`"; then
5800 rm -f conftest conftest.o conftest.c
5805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5808 ERRFLAG="$ERRFLAG -Wall"
5810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5813 ERRFLAG="$ERRFLAG -errfmt"
5820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -std=c99" >&5
5821 printf %s "checking whether $CC supports -std=c99... " >&6; }
5822 cache=`echo std=c99 | sed 'y%.=/+-%___p_%'`
5829 if test -z "`$CC $CPPFLAGS $CFLAGS -std=c99 -c conftest.c 2>&1`"; then
5834 rm -f conftest conftest.o conftest.c
5839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5842 C99FLAG="-std=c99"
5844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -xc99" >&5
5853 printf %s "checking whether $CC supports -xc99... " >&6; }
5854 cache=`echo xc99 | sed 'y%.=/+-%___p_%'`
5861 if test -z "`$CC $CPPFLAGS $CFLAGS -xc99 -c conftest.c 2>&1`"; then
5866 rm -f conftest conftest.o conftest.c
5871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5874 C99FLAG="-xc99"
5876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE as a flag for $CC" >&5
5903 printf %s "checking whether we need $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE as a flag for $CC... " >&6; }
5904 cache=`printf "%s\n" "$C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE" | $as_tr_sh`
5946 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
5950 if test -z "`$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE $ERRFLAG -c conftest.c 2>&1`"; then
5956 #echo "$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE $ERRFLAG -c conftest.c 2>&1"
5957 #echo `$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE $ERRFLAG -c conftest.c 2>&1`
5962 rm -f conftest conftest.c conftest.o
5967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5970 CFLAGS="$CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE"
5973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5977 #echo "$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE $ERRFLAG -c conftest.c 2>&1"
5978 #echo `$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE $ERRFLAG -c conftest.c 2>&1`
5983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE as a flag for $CC" >&5
5995 printf %s "checking whether we need $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE as a flag for $CC... " >&6; }
5996 cache=`printf "%s\n" "$C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE" | $as_tr_sh`
6038 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
6042 if test -z "`$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE $ERRFLAG -c conftest.c 2>&1`"; then
6048 #echo "$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE $ERRFLAG -c conftest.c 2>&1"
6049 #echo `$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE $ERRFLAG -c conftest.c 2>&1`
6054 rm -f conftest conftest.c conftest.o
6059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6062 CFLAGS="$CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE"
6065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6069 #echo "$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE $ERRFLAG -c conftest.c 2>&1"
6070 #echo `$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE $ERRFLAG -c conftest.c 2>&1`
6075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need $C99FLAG as a flag for $CC" >&5
6103 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
6107 if test -z "`$CC $CPPFLAGS $CFLAGS $C99FLAG $ERRFLAG -c conftest.c 2>&1`"; then
6113 #echo "$CC $CPPFLAGS $CFLAGS $C99FLAG $ERRFLAG -c conftest.c 2>&1"
6114 #echo `$CC $CPPFLAGS $CFLAGS $C99FLAG $ERRFLAG -c conftest.c 2>&1`
6119 rm -f conftest conftest.c conftest.o
6124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6134 #echo "$CC $CPPFLAGS $CFLAGS $C99FLAG $ERRFLAG -c conftest.c 2>&1"
6135 #echo `$CC $CPPFLAGS $CFLAGS $C99FLAG $ERRFLAG -c conftest.c 2>&1`
6140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need -D_BSD_SOURCE -D_DEFAULT_SOURCE as a flag for $CC" >&5
6152 printf %s "checking whether we need -D_BSD_SOURCE -D_DEFAULT_SOURCE as a flag for $CC... " >&6; }
6169 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
6173 if test -z "`$CC $CPPFLAGS $CFLAGS -D_BSD_SOURCE -D_DEFAULT_SOURCE $ERRFLAG -c conftest.c 2>&1`"; then
6179 #echo "$CC $CPPFLAGS $CFLAGS -D_BSD_SOURCE -D_DEFAULT_SOURCE $ERRFLAG -c conftest.c 2>&1"
6180 #echo `$CC $CPPFLAGS $CFLAGS -D_BSD_SOURCE -D_DEFAULT_SOURCE $ERRFLAG -c conftest.c 2>&1`
6185 rm -f conftest conftest.c conftest.o
6190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6193 CFLAGS="$CFLAGS -D_BSD_SOURCE -D_DEFAULT_SOURCE"
6196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6200 #echo "$CC $CPPFLAGS $CFLAGS -D_BSD_SOURCE -D_DEFAULT_SOURCE $ERRFLAG -c conftest.c 2>&1"
6201 #echo `$CC $CPPFLAGS $CFLAGS -D_BSD_SOURCE -D_DEFAULT_SOURCE $ERRFLAG -c conftest.c 2>&1`
6206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need -D_GNU_SOURCE as a flag for $CC" >&5
6218 printf %s "checking whether we need -D_GNU_SOURCE as a flag for $CC... " >&6; }
6235 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
6239 if test -z "`$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE $ERRFLAG -c conftest.c 2>&1`"; then
6245 #echo "$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE $ERRFLAG -c conftest.c 2>&1"
6246 #echo `$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE $ERRFLAG -c conftest.c 2>&1`
6251 rm -f conftest conftest.c conftest.o
6256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6259 CFLAGS="$CFLAGS -D_GNU_SOURCE"
6262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6266 #echo "$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE $ERRFLAG -c conftest.c 2>&1"
6267 #echo `$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE $ERRFLAG -c conftest.c 2>&1`
6272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6281 # is not available at all. -D_FRSRESGID is to make this check unique.
6286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for $CC" >&5
6287 printf %s "checking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for $CC... " >&6; }
6304 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
6308 if test -z "`$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE -D_FRSRESGID $ERRFLAG -c conftest.c 2>&1`"; then
6314 #echo "$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE -D_FRSRESGID $ERRFLAG -c conftest.c 2>&1"
6315 #echo `$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE -D_FRSRESGID $ERRFLAG -c conftest.c 2>&1`
6320 rm -f conftest conftest.c conftest.o
6325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6328 CFLAGS="$CFLAGS -D_GNU_SOURCE"
6331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6335 #echo "$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE -D_FRSRESGID $ERRFLAG -c conftest.c 2>&1"
6336 #echo `$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE -D_FRSRESGID $ERRFLAG -c conftest.c 2>&1`
6341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need -D_POSIX_C_SOURCE=200112 as a flag for $CC" >&5
6353 printf %s "checking whether we need -D_POSIX_C_SOURCE=200112 as a flag for $CC... " >&6; }
6381 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
6385 if test -z "`$CC $CPPFLAGS $CFLAGS -D_POSIX_C_SOURCE=200112 $ERRFLAG -c conftest.c 2>&1`"; then
6391 #echo "$CC $CPPFLAGS $CFLAGS -D_POSIX_C_SOURCE=200112 $ERRFLAG -c conftest.c 2>&1"
6392 #echo `$CC $CPPFLAGS $CFLAGS -D_POSIX_C_SOURCE=200112 $ERRFLAG -c conftest.c 2>&1`
6397 rm -f conftest conftest.c conftest.o
6402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6405 CFLAGS="$CFLAGS -D_POSIX_C_SOURCE=200112"
6408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6412 #echo "$CC $CPPFLAGS $CFLAGS -D_POSIX_C_SOURCE=200112 $ERRFLAG -c conftest.c 2>&1"
6413 #echo `$CC $CPPFLAGS $CFLAGS -D_POSIX_C_SOURCE=200112 $ERRFLAG -c conftest.c 2>&1`
6418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need -D__EXTENSIONS__ as a flag for $CC" >&5
6430 printf %s "checking whether we need -D__EXTENSIONS__ as a flag for $CC... " >&6; }
6464 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
6468 if test -z "`$CC $CPPFLAGS $CFLAGS -D__EXTENSIONS__ $ERRFLAG -c conftest.c 2>&1`"; then
6474 #echo "$CC $CPPFLAGS $CFLAGS -D__EXTENSIONS__ $ERRFLAG -c conftest.c 2>&1"
6475 #echo `$CC $CPPFLAGS $CFLAGS -D__EXTENSIONS__ $ERRFLAG -c conftest.c 2>&1`
6480 rm -f conftest conftest.c conftest.o
6485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6488 CFLAGS="$CFLAGS -D__EXTENSIONS__"
6491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6495 #echo "$CC $CPPFLAGS $CFLAGS -D__EXTENSIONS__ $ERRFLAG -c conftest.c 2>&1"
6496 #echo `$CC $CPPFLAGS $CFLAGS -D__EXTENSIONS__ $ERRFLAG -c conftest.c 2>&1`
6501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6512 # Check whether --enable-checking was given.
6518 # Check whether --enable-debug was given.
6531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -W" >&5
6532 printf %s "checking whether $CC supports -W... " >&6; }
6533 cache=`echo W | sed 'y%.=/+-%___p_%'`
6540 if test -z "`$CC $CPPFLAGS $CFLAGS -W -c conftest.c 2>&1`"; then
6545 rm -f conftest conftest.o conftest.c
6550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6553 CFLAGS="$CFLAGS -W"
6555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wall" >&5
6564 printf %s "checking whether $CC supports -Wall... " >&6; }
6565 cache=`echo Wall | sed 'y%.=/+-%___p_%'`
6572 if test -z "`$CC $CPPFLAGS $CFLAGS -Wall -c conftest.c 2>&1`"; then
6577 rm -f conftest conftest.o conftest.c
6582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6585 CFLAGS="$CFLAGS -Wall"
6587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wextra" >&5
6596 printf %s "checking whether $CC supports -Wextra... " >&6; }
6597 cache=`echo Wextra | sed 'y%.=/+-%___p_%'`
6604 if test -z "`$CC $CPPFLAGS $CFLAGS -Wextra -c conftest.c 2>&1`"; then
6609 rm -f conftest conftest.o conftest.c
6614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6617 CFLAGS="$CFLAGS -Wextra"
6619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
6628 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
6629 cache=`echo Wdeclaration-after-statement | sed 'y%.=/+-%___p_%'`
6636 if test -z "`$CC $CPPFLAGS $CFLAGS -Wdeclaration-after-statement -c conftest.c 2>&1`"; then
6641 rm -f conftest conftest.o conftest.c
6646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6649 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
6651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6670 # Check whether --enable-flto was given.
6679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -flto" >&5
6680 printf %s "checking if $CC supports -flto... " >&6; }
6682 CFLAGS="$CFLAGS -flto"
6683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6697 if $CC $CFLAGS -o conftest conftest.c 2>&1 | $GREP -e "warning: no debug symbols in executable" -e "warning: object" >/dev/null; then
6699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6705 rm -f conftest conftest.c conftest.o
6708 CFLAGS="$BAKCFLAGS" ; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6711 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6717 # Check whether --enable-pie was given.
6726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports PIE" >&5
6730 LDFLAGS="$LDFLAGS -pie"
6731 CFLAGS="$CFLAGS -fPIE"
6732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6746 if $CC $CFLAGS $LDFLAGS -o conftest conftest.c 2>&1 | grep "warning: no debug symbols in executable" >/dev/null; then
6748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6754 rm -f conftest conftest.c conftest.o
6757 LDFLAGS="$BAKLDFLAGS" ; CFLAGS="$BAKCFLAGS" ; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6766 # Check whether --enable-relro_now was given.
6775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wl,-z,relro,-z,now" >&5
6776 printf %s "checking if $CC supports -Wl,-z,relro,-z,now... " >&6; }
6778 LDFLAGS="$LDFLAGS -Wl,-z,relro,-z,now"
6779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6793 if $CC $CFLAGS $LDFLAGS -o conftest conftest.c 2>&1 | grep "warning: no debug symbols in executable" >/dev/null; then
6795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6801 rm -f conftest conftest.c conftest.o
6804 LDFLAGS="$BAKLDFLAGS" ; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
6822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
6859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler (${CC-cc}) accepts the \"format\" attribute" >&5
6860 printf %s "checking whether the C compiler (${CC-cc}) accepts the \"format\" attribute... " >&6; }
6866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6888 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_format_attribute" >&5
6902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler (${CC-cc}) accepts the \"unused\" attribute" >&5
6903 printf %s "checking whether the C compiler (${CC-cc}) accepts the \"unused\" attribute... " >&6; }
6909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6930 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_unused_attribute" >&5
6948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler (${CC-cc}) accepts the \"weak\" attribute" >&5
6949 printf %s "checking whether the C compiler (${CC-cc}) accepts the \"weak\" attribute... " >&6; }
6955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6976 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_weak_attribute" >&5
6999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler (${CC-cc}) accepts the \"noreturn\" attribute" >&5
7000 printf %s "checking whether the C compiler (${CC-cc}) accepts the \"noreturn\" attribute... " >&6; }
7006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7027 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_noreturn_attribute" >&5
7050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler (${CC-cc}) accepts the \"fallthrough\" attribute" >&5
7051 printf %s "checking whether the C compiler (${CC-cc}) accepts the \"fallthrough\" attribute... " >&6; }
7053 CFLAGS="$CFLAGS -Werror"
7059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fallthrough_attribute" >&5
7118 CPPFLAGS="$CPPFLAGS -I$srcdir"
7129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7135 if test -n "$LEX"; then
7150 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7160 if test -n "$LEX"; then
7161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
7164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7169 test -n "$LEX" && break
7171 test -n "$LEX" || LEX=":"
7210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex output file root" >&5
7223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7229 if test -f lex.yy.c; then
7231 elif test -f lexyy.c; then
7235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
7239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find output from $LEX; giving up on $LEX" >&5
7250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex library" >&5
7259 for ac_cv_lib_lex in 'none needed' -lfl -ll 'not found'; do
7271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
7292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: required lex library not found; giving up on $LEX" >&5
7308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
7315 # default is implementation-dependent. Figure out which it is, since
7318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7328 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
7340 rm -f conftest.l $LEX_OUTPUT_ROOT.c
7343 if test "$LEX" != "" -a "$LEX" != ":"; then
7345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for yylex_destroy" >&5
7347 if echo %% | $LEX -t 2>&1 | grep yylex_destroy >/dev/null 2>&1; then
7351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7353 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7359 if test "$LEX" != "" -a "$LEX" != ":"; then
7361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex %option" >&5
7363 if cat <<EOF | $LEX -t 2>&1 | grep yy_delete_buffer >/dev/null 2>&1; then
7367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7369 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7375 if test "$LEX" = "" -o "$LEX" = ":"; then
7376 if test ! -f util/configlexer.c; then
7380 for ac_prog in 'bison -y' byacc
7384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 if test -n "$YACC"; then
7405 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7415 if test -n "$YACC"; then
7416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
7419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7424 test -n "$YACC" && break
7426 test -n "$YACC" || YACC="yacc"
7428 if test "$YACC" = "" -o "$YACC" = ":"; then
7429 if test ! -f util/configparser.c; then
7435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7441 if test -n "$doxygen"; then
7456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7466 if test -n "$doxygen"; then
7467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $doxygen" >&5
7470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7475 if test -n "$ac_tool_prefix"; then
7478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7484 if test -n "$STRIP"; then
7499 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7509 if test -n "$STRIP"; then
7510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7519 if test -z "$ac_cv_prog_STRIP"; then
7523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7529 if test -n "$ac_ct_STRIP"; then
7544 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7554 if test -n "$ac_ct_STRIP"; then
7555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
7599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
7602 *-*-*) ;;
7606 ac_save_IFS=$IFS; IFS='-'
7616 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
7619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
7633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
7636 *-*-*) ;;
7640 ac_save_IFS=$IFS; IFS='-'
7650 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
7664 if test -z "$libtool"; then
7673 if test -n "$ac_tool_prefix"; then
7676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7699 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7710 if test -n "$AR"; then
7711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7720 if test -z "$ac_cv_path_AR"; then
7724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7758 if test -n "$ac_pt_AR"; then
7759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_AR" >&5
7762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7813 # double-quoted strings.
7814 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7817 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7821 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7824 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7827 no_glob_subst='s/\*/\\\*/g'
7833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7836 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7837 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7838 ECHO='print -r --'
7853 # Invoke $ECHO with all args, space-separated.
7860 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7862 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7863 printf "%s\n" "print -r" >&6; } ;;
7864 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7893 if test -z "$SED"; then
7895 # Loop through the user's path and test for each of PROGNAME-LIST
7912 case `"$ac_path_SED" --version 2>&1` in
7924 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7927 if test $ac_count -gt ${ac_path_SED_max-0}; then
7933 test $ac_count -gt 10 && break
7935 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7943 if test -z "$ac_cv_path_SED"; then
7951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7954 rm -f conftest.sed
7956 test -z "$SED" && SED=sed
7957 Xsed="$SED -e 1s/^X//"
7969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7975 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7976 then ac_cv_path_EGREP="$GREP -E"
7978 if test -z "$EGREP"; then
7980 # Loop through the user's path and test for each of PROGNAME-LIST
7997 case `"$ac_path_EGREP" --version 2>&1` in
8012 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
8018 test $ac_count -gt 10 && break
8020 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8028 if test -z "$ac_cv_path_EGREP"; then
8037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
8042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
8048 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
8049 then ac_cv_path_FGREP="$GREP -F"
8051 if test -z "$FGREP"; then
8053 # Loop through the user's path and test for each of PROGNAME-LIST
8070 case `"$ac_path_FGREP" --version 2>&1` in
8085 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
8091 test $ac_count -gt 10 && break
8093 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8101 if test -z "$ac_cv_path_FGREP"; then
8110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
8115 test -z "$GREP" && GREP=grep
8135 # Check whether --with-gnu-ld was given.
8145 # Check if gcc -print-prog-name=ld gives a path.
8146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
8149 *-*-mingw*)
8151 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8153 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
8160 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
8164 test -z "$LD" && LD=$ac_prog
8176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
8179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
8180 printf %s "checking for non-GNU ld... " >&6; }
8186 if test -z "$LD"; then
8190 test -z "$ac_dir" && ac_dir=.
8191 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8193 # Check to see if the program is GNU ld. I'd rather use --version,
8194 # but apparently some variants of GNU ld only accept -v.
8195 # Break only if it was the GNU/non-GNU ld that we prefer.
8196 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8213 if test -n "$LD"; then
8214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8220 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
8221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
8227 # I'd rather use --version here, but apparently some GNU lds only accept -v.
8228 case `$LD -v 2>&1 </dev/null` in
8237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
8249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
8250 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
8255 if test -n "$NM"; then
8260 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
8267 test -z "$ac_dir" && ac_dir=.
8269 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
8270 # Check to see if the nm accepts a BSD-compat flag.
8271 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
8279 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
8281 lt_cv_path_NM="$tmp_nm -B"
8285 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8287 lt_cv_path_NM="$tmp_nm -p"
8304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
8310 if test -n "$DUMPBIN"; then :
8313 if test -n "$ac_tool_prefix"; then
8314 for ac_prog in dumpbin "link -dump"
8318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8324 if test -n "$DUMPBIN"; then
8339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8349 if test -n "$DUMPBIN"; then
8350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
8353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8358 test -n "$DUMPBIN" && break
8361 if test -z "$DUMPBIN"; then
8363 for ac_prog in dumpbin "link -dump"
8367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8373 if test -n "$ac_ct_DUMPBIN"; then
8388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8398 if test -n "$ac_ct_DUMPBIN"; then
8399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
8402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8407 test -n "$ac_ct_DUMPBIN" && break
8415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8423 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
8425 DUMPBIN="$DUMPBIN -symbols -headers"
8437 test -z "$NM" && NM=nm
8444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
8463 rm -f conftest*
8465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
8469 printf %s "checking whether ln -s works... " >&6; }
8471 if test "$LN_S" = "ln -s"; then
8472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
8480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
8501 # Libtool will interpret -1 as no limit whatsoever
8502 lt_cv_sys_max_cmd_len=-1;
8506 # On Win9x/ME, this test blows up -- it succeeds, but takes
8508 # Worse, since 9x/ME are not pre-emptively multitasking,
8529 if test -x /sbin/sysctl; then
8530 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
8531 elif test -x /usr/sbin/sysctl; then
8532 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
8558 if test -x /sbin/sysconfig; then
8559 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8560 *1*) lt_cv_sys_max_cmd_len=-1 ;;
8569 if test -n "$kargmax"; then
8577 if test -n "$lt_cv_sys_max_cmd_len" && \
8587 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8588 # If test is not a shell built-in, we'll probably end up computing a
8611 if test -n "$lt_cv_sys_max_cmd_len"; then
8612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
8625 : ${CP="cp -f"}
8626 : ${MV="mv -f"}
8627 : ${RM="rm -f"}
8660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8667 *-*-mingw* )
8669 *-*-mingw* ) # actually msys
8672 *-*-cygwin* )
8680 *-*-cygwin* )
8682 *-*-mingw* ) # actually msys
8685 *-*-cygwin* )
8701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8717 *-*-mingw* )
8719 *-*-mingw* ) # actually msys
8729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8742 lt_cv_ld_reload_flag='-r'
8744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8751 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8760 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
8762 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8775 if test -n "$ac_tool_prefix"; then
8778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8784 if test -n "$OBJDUMP"; then
8799 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8809 if test -n "$OBJDUMP"; then
8810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8819 if test -z "$ac_cv_prog_OBJDUMP"; then
8823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8829 if test -n "$ac_ct_OBJDUMP"; then
8844 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8854 if test -n "$ac_ct_OBJDUMP"; then
8855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8877 test -z "$OBJDUMP" && OBJDUMP=objdump
8887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8898 # 'none' -- dependencies not supported.
8899 # 'unknown' -- same as none, but documents that we really don't know.
8900 # 'pass_all' -- all dependencies passed with no checks.
8901 # 'test_compile' -- check by making test program.
8902 # 'file_magic [[regex]]' -- check by looking for files in library path
8908 aix[4-9]*)
8917 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8918 lt_cv_file_magic_cmd='/usr/bin/file -L'
8931 # unless we find 'file', for example because we are cross-compiling.
8937 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8938 lt_cv_file_magic_cmd='$OBJDUMP -f'
8944 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8945 lt_cv_file_magic_cmd='$OBJDUMP -f'
8953 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8958 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8976 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8980 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
8984 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8990 interix[3-9]*)
8997 *-32|*"-32 ") libmagic=32-bit;;
8998 *-n32|*"-n32 ") libmagic=N32;;
8999 *-64|*"-64 ") libmagic=64-bit;;
9000 *) libmagic=never-match;;
9006 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9011 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9012 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9019 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
9029 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9030 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
9032 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9055 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
9063 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
9067 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
9088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
9099 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
9107 test -z "$deplibs_check_method" && deplibs_check_method=unknown
9130 if test -n "$ac_tool_prefix"; then
9133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9139 if test -n "$DLLTOOL"; then
9154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9164 if test -n "$DLLTOOL"; then
9165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9174 if test -z "$ac_cv_prog_DLLTOOL"; then
9178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9184 if test -n "$ac_ct_DLLTOOL"; then
9199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9209 if test -n "$ac_ct_DLLTOOL"; then
9210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9232 test -z "$DLLTOOL" && DLLTOOL=dlltool
9243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
9255 case `$DLLTOOL --help 2>&1` in
9256 *--identify-strict*)
9271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
9274 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
9282 if test -n "$ac_tool_prefix"; then
9287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9293 if test -n "$AR"; then
9308 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9318 if test -n "$AR"; then
9319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9327 test -n "$AR" && break
9330 if test -z "$AR"; then
9336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9342 if test -n "$ac_ct_AR"; then
9357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9367 if test -n "$ac_ct_AR"; then
9368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9376 test -n "$ac_ct_AR" && break
9384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
9412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9427 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9432 if test 0 -eq "$ac_status"; then
9434 rm -f conftest.$ac_objext libconftest.a
9435 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9440 if test 0 -ne "$ac_status"; then
9444 rm -f conftest.* libconftest.a
9447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
9465 if test -n "$ac_tool_prefix"; then
9468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9474 if test -n "$STRIP"; then
9489 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9499 if test -n "$STRIP"; then
9500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9509 if test -z "$ac_cv_prog_STRIP"; then
9513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9519 if test -n "$ac_ct_STRIP"; then
9534 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9544 if test -n "$ac_ct_STRIP"; then
9545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
9548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9567 test -z "$STRIP" && STRIP=:
9574 if test -n "$ac_tool_prefix"; then
9577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9583 if test -n "$RANLIB"; then
9598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9608 if test -n "$RANLIB"; then
9609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9618 if test -z "$ac_cv_prog_RANLIB"; then
9622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9628 if test -n "$ac_ct_RANLIB"; then
9643 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9653 if test -n "$ac_ct_RANLIB"; then
9654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9676 test -z "$RANLIB" && RANLIB=:
9683 # Determine commands to create old-style static archives.
9688 if test -n "$RANLIB"; then
9691 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9737 if test -n "$AWK"; then
9752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9762 if test -n "$AWK"; then
9763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
9766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9771 test -n "$AWK" && break
9793 LTCC=${LTCC-"$CC"}
9796 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9817 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9819 # Define system-specific variables.
9856 case `$NM -V 2>&1` in
9863 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
9865 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
9866 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
9868 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
9869 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
9881 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
9883 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
9884 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
9887 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
9889 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9890 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
9894 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
9896 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9897 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
9898 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
9916 # Fake it for dumpbin and say T for any non-static function,
9936 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9943 rm -f conftest*
9957 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9964 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9968 test $ac_status = 0; } && test -s "$nlist"; then
9971 mv -f "$nlist"T "$nlist"
9973 rm -f "$nlist"T
9983 relocations are performed -- see ld's documentation on pseudo-relocs. */
9998 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
10011 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
10033 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10036 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10037 test $ac_status = 0; } && test -s conftest$ac_exeext; then
10055 rm -rf conftest* conftst*
10067 if test -z "$lt_cv_sys_global_symbol_pipe"; then
10070 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
10074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
10081 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
10121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
10124 # Check whether --with-sysroot was given.
10137 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
10141 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
10146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
10152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
10153 printf "%s\n" "${lt_sysroot:-no}" >&6; }
10159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
10168 if test -z "$lt_DD"; then
10170 # Loop through the user's path and test for each of PROGNAME-LIST
10186 cmp -s conftest.i conftest.out \
10194 if test -z "$ac_cv_path_lt_DD"; then
10201 rm -f conftest.i conftest2.i conftest.out
10203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
10207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
10217 cmp -s conftest.i conftest.out \
10220 rm -f conftest.i conftest2.i conftest.out
10221 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
10223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
10232 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
10239 \-*) ;;
10243 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10246 # Check whether --enable-libtool-lock was given.
10257 ia64-*-hpux*)
10261 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10267 *ELF-32*)
10270 *ELF-64*)
10275 rm -rf conftest*
10277 *-*-irix6*)
10281 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10288 *32-bit*)
10289 LD="${LD-ld} -melf32bsmip"
10292 LD="${LD-ld} -melf32bmipn32"
10294 *64-bit*)
10295 LD="${LD-ld} -melf64bmip"
10300 *32-bit*)
10301 LD="${LD-ld} -32"
10304 LD="${LD-ld} -n32"
10306 *64-bit*)
10307 LD="${LD-ld} -64"
10312 rm -rf conftest*
10315 mips64*-*linux*)
10319 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10326 *32-bit*)
10329 *64-bit*)
10346 LD="${LD-ld} -m $emul"
10348 rm -rf conftest*
10351 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
10352 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
10356 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
10360 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10366 *32-bit*)
10368 x86_64-*kfreebsd*-gnu)
10369 LD="${LD-ld} -m elf_i386_fbsd"
10371 x86_64-*linux*)
10373 *x86-64*)
10374 LD="${LD-ld} -m elf32_x86_64"
10377 LD="${LD-ld} -m elf_i386"
10381 powerpc64le-*linux*)
10382 LD="${LD-ld} -m elf32lppclinux"
10384 powerpc64-*linux*)
10385 LD="${LD-ld} -m elf32ppclinux"
10387 s390x-*linux*)
10388 LD="${LD-ld} -m elf_s390"
10390 sparc64-*linux*)
10391 LD="${LD-ld} -m elf32_sparc"
10395 *64-bit*)
10397 x86_64-*kfreebsd*-gnu)
10398 LD="${LD-ld} -m elf_x86_64_fbsd"
10400 x86_64-*linux*)
10401 LD="${LD-ld} -m elf_x86_64"
10403 powerpcle-*linux*)
10404 LD="${LD-ld} -m elf64lppc"
10406 powerpc-*linux*)
10407 LD="${LD-ld} -m elf64ppc"
10409 s390*-*linux*|s390*-*tpf*)
10410 LD="${LD-ld} -m elf64_s390"
10412 sparc*-*linux*)
10413 LD="${LD-ld} -m elf64_sparc"
10419 rm -rf conftest*
10422 *-*-sco3.2v5*)
10423 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10425 CFLAGS="$CFLAGS -belf"
10426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
10427 printf %s "checking whether the C compiler needs -belf... " >&6; }
10434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
10467 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10471 *-*solaris*)
10475 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10478 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10481 *64-bit*)
10485 i?86-*-solaris*|x86_64-*-solaris*)
10486 LD="${LD-ld} -m elf_x86_64"
10488 sparc*-*-solaris*)
10489 LD="${LD-ld} -m elf64_sparc"
10493 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
10494 LD=${LD-ld}_sol2
10498 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
10499 LD="${LD-ld} -64"
10506 rm -rf conftest*
10512 if test -n "$ac_tool_prefix"; then
10515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10521 if test -n "$MANIFEST_TOOL"; then
10536 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10546 if test -n "$MANIFEST_TOOL"; then
10547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
10550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10556 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
10560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10566 if test -n "$ac_ct_MANIFEST_TOOL"; then
10581 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10591 if test -n "$ac_ct_MANIFEST_TOOL"; then
10592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
10595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10614 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
10615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
10622 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
10623 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
10628 rm -f conftest*
10630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
10643 if test -n "$ac_tool_prefix"; then
10646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10652 if test -n "$DSYMUTIL"; then
10667 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10677 if test -n "$DSYMUTIL"; then
10678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
10681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10687 if test -z "$ac_cv_prog_DSYMUTIL"; then
10691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10697 if test -n "$ac_ct_DSYMUTIL"; then
10712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10722 if test -n "$ac_ct_DSYMUTIL"; then
10723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10745 if test -n "$ac_tool_prefix"; then
10748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10754 if test -n "$NMEDIT"; then
10769 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10779 if test -n "$NMEDIT"; then
10780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10789 if test -z "$ac_cv_prog_NMEDIT"; then
10793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10799 if test -n "$ac_ct_NMEDIT"; then
10814 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10824 if test -n "$ac_ct_NMEDIT"; then
10825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10847 if test -n "$ac_tool_prefix"; then
10850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10856 if test -n "$LIPO"; then
10871 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10881 if test -n "$LIPO"; then
10882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10891 if test -z "$ac_cv_prog_LIPO"; then
10895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10901 if test -n "$ac_ct_LIPO"; then
10916 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10926 if test -n "$ac_ct_LIPO"; then
10927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10949 if test -n "$ac_tool_prefix"; then
10952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10958 if test -n "$OTOOL"; then
10973 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10983 if test -n "$OTOOL"; then
10984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10993 if test -z "$ac_cv_prog_OTOOL"; then
10997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11003 if test -n "$ac_ct_OTOOL"; then
11018 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11028 if test -n "$ac_ct_OTOOL"; then
11029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
11032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11051 if test -n "$ac_tool_prefix"; then
11054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11060 if test -n "$OTOOL64"; then
11075 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11085 if test -n "$OTOOL64"; then
11086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
11089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11095 if test -z "$ac_cv_prog_OTOOL64"; then
11099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11105 if test -n "$ac_ct_OTOOL64"; then
11120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11130 if test -n "$ac_ct_OTOOL64"; then
11131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
11134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
11180 printf %s "checking for -single_module linker flag... " >&6; }
11186 if test -z "$LT_MULTI_MODULE"; then
11187 # By default we will add the -single_module flag. You can override
11189 # non-empty at configure time, or by adding -multi_module to the
11191 rm -rf libconftest.dylib*
11193 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11194 -dynamiclib -Wl,-single_module conftest.c" >&5
11195 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11196 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
11198 # If there is a non-empty error log, and "single_module"
11200 if test -s conftest.err && $GREP single_module conftest.err; then
11204 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
11209 rm -rf libconftest.dylib*
11210 rm -f conftest.*
11213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
11216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
11217 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
11225 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
11226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
11251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
11252 printf %s "checking for -force_load linker flag... " >&6; }
11261 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
11262 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
11270 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
11271 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
11273 if test -s conftest.err && $GREP force_load conftest.err; then
11275 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
11280 rm -f conftest.err libconftest.a conftest conftest.c
11281 rm -rf conftest.dSYM
11284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
11288 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
11290 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
11295 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
11296 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
11297 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
11299 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
11301 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
11309 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
11311 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
11322 # -----------------------------------
11341 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
11344 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
11347 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
11348 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
11351 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
11380 # Check whether --enable-shared was given.
11383 enableval=$enable_shared; p=${PACKAGE-default}
11412 # Check whether --enable-static was given.
11415 enableval=$enable_static; p=${PACKAGE-default}
11445 # Check whether --with-pic was given.
11448 withval=$with_pic; lt_p=${PACKAGE-default}
11475 # Check whether --enable-fast-install was given.
11478 enableval=$enable_fast_install; p=${PACKAGE-default}
11508 power*-*-aix[5-9]*,yes)
11509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
11512 # Check whether --with-aix-soname was given.
11519 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
11534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
11540 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
11542 if test 64 = "${OBJECT_MODE-32}"; then
11598 test -z "$LN_S" && LN_S="ln -s"
11613 if test -n "${ZSH_VERSION+set}"; then
11617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
11623 rm -f .libs 2>/dev/null
11625 if test -d .libs; then
11628 # MS-DOS does not allow filenames that begin with a dot.
11633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
11672 test -z "$CC" && CC=cc
11673 test -z "$LTCC" && LTCC=$CC
11674 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11675 test -z "$LD" && LD=ld
11676 test -z "$ac_objext" && ac_objext=o
11683 test -z "$MAGIC_CMD" && MAGIC_CMD=file
11687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
11703 test -z "$ac_dir" && ac_dir=.
11704 if test -f "$ac_dir/${ac_tool_prefix}file"; then
11706 if test -n "$file_magic_test_file"; then
11724 *** bug-libtool@gnu.org
11740 if test -n "$MAGIC_CMD"; then
11741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11752 if test -z "$lt_cv_path_MAGIC_CMD"; then
11753 if test -n "$ac_tool_prefix"; then
11754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
11770 test -z "$ac_dir" && ac_dir=.
11771 if test -f "$ac_dir/file"; then
11773 if test -n "$file_magic_test_file"; then
11791 *** bug-libtool@gnu.org
11807 if test -n "$MAGIC_CMD"; then
11808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11855 LTCC=${LTCC-"$CC"}
11858 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11878 $RM -r conftest*
11881 if test -n "$compiler"; then
11888 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11890 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11894 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11902 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
11909 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11910 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11911 -e 's:$: $lt_compiler_flag:'`
11917 if (exit $ac_status) && test -s "$ac_outfile"; then
11922 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11933 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11951 lt_prog_compiler_wl='-Wl,'
11952 lt_prog_compiler_static='-static'
11959 lt_prog_compiler_static='-Bstatic'
11961 lt_prog_compiler_pic='-fPIC'
11968 lt_prog_compiler_pic='-fPIC'
11972 # adding the '-m68020' flag to GCC prevents building anything better,
11973 # like '-m68040'.
11974 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11986 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11987 # (--disable-auto-import) libraries
11988 lt_prog_compiler_pic='-DDLL_EXPORT'
11991 lt_prog_compiler_static='$wl-static'
11999 lt_prog_compiler_pic='-fno-common'
12004 # The "-static" flag exists, but is broken.
12009 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12010 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12017 lt_prog_compiler_pic='-fPIC'
12022 interix[3-9]*)
12023 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12035 # QNX uses GNU C++, but need to define -shared option too, otherwise
12037 lt_prog_compiler_pic='-fPIC -shared'
12041 if test -d /usr/nec; then
12042 lt_prog_compiler_pic=-Kconform_pic
12047 lt_prog_compiler_pic='-fPIC'
12053 lt_prog_compiler_wl='-Xlinker '
12054 if test -n "$lt_prog_compiler_pic"; then
12055 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
12063 lt_prog_compiler_wl='-Wl,'
12066 lt_prog_compiler_static='-Bstatic'
12068 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
12075 lt_prog_compiler_pic='-fno-common'
12079 lt_prog_compiler_wl='-Wl,-Wl,,'
12080 lt_prog_compiler_pic='-PIC'
12081 lt_prog_compiler_static='-Bstatic'
12089 lt_prog_compiler_pic='-DDLL_EXPORT'
12092 lt_prog_compiler_static='$wl-static'
12098 lt_prog_compiler_wl='-Wl,'
12099 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12100 # not for PA HP-UX.
12110 lt_prog_compiler_static='$wl-a ${wl}archive'
12114 lt_prog_compiler_wl='-Wl,'
12115 # PIC (with -KPIC) is the default.
12116 lt_prog_compiler_static='-non_shared'
12119 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12121 # old Intel for x86_64, which still supported -KPIC.
12123 lt_prog_compiler_wl='-Wl,'
12124 lt_prog_compiler_pic='-KPIC'
12125 lt_prog_compiler_static='-static'
12128 # ICC 10 doesn't accept -KPIC any more.
12130 lt_prog_compiler_wl='-Wl,'
12131 lt_prog_compiler_pic='-fPIC'
12132 lt_prog_compiler_static='-static'
12136 lt_prog_compiler_wl='-Wl,'
12137 lt_prog_compiler_pic='--shared'
12138 lt_prog_compiler_static='--static'
12142 lt_prog_compiler_wl='-Wl,-Wl,,'
12143 lt_prog_compiler_pic='-PIC'
12144 lt_prog_compiler_static='-Bstatic'
12148 lt_prog_compiler_wl='-Wl,'
12149 lt_prog_compiler_pic='-fPIC'
12150 lt_prog_compiler_static='-static'
12155 lt_prog_compiler_wl='-Wl,'
12156 lt_prog_compiler_pic='-fpic'
12157 lt_prog_compiler_static='-Bstatic'
12160 lt_prog_compiler_wl='-Wl,'
12162 lt_prog_compiler_static='-non_shared'
12166 lt_prog_compiler_wl='-Wl,'
12167 lt_prog_compiler_pic='-qpic'
12168 lt_prog_compiler_static='-qstaticlink'
12171 case `$CC -V 2>&1 | sed 5q` in
12172 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
12174 lt_prog_compiler_pic='-KPIC'
12175 lt_prog_compiler_static='-Bstatic'
12179 lt_prog_compiler_pic='-KPIC'
12180 lt_prog_compiler_static='-Bstatic'
12181 lt_prog_compiler_wl='-Qoption ld '
12185 lt_prog_compiler_pic='-KPIC'
12186 lt_prog_compiler_static='-Bstatic'
12187 lt_prog_compiler_wl='-Wl,'
12190 lt_prog_compiler_wl='-Wl,'
12191 lt_prog_compiler_pic='-fPIC'
12192 lt_prog_compiler_static='-static'
12195 lt_prog_compiler_wl='-Wl,'
12196 lt_prog_compiler_pic='-fpic'
12197 lt_prog_compiler_static='-Bstatic'
12205 lt_prog_compiler_pic='-KPIC'
12206 lt_prog_compiler_static='-Bstatic'
12210 # QNX uses GNU C++, but need to define -shared option too, otherwise
12212 lt_prog_compiler_pic='-fPIC -shared'
12216 lt_prog_compiler_wl='-Wl,'
12218 lt_prog_compiler_static='-non_shared'
12222 lt_prog_compiler_static='-non_shared'
12226 lt_prog_compiler_pic='-KPIC'
12227 lt_prog_compiler_static='-Bstatic'
12230 lt_prog_compiler_wl='-Qoption ld ';;
12232 lt_prog_compiler_wl='-Wl,';;
12237 lt_prog_compiler_wl='-Qoption ld '
12238 lt_prog_compiler_pic='-PIC'
12239 lt_prog_compiler_static='-Bstatic'
12243 lt_prog_compiler_wl='-Wl,'
12244 lt_prog_compiler_pic='-KPIC'
12245 lt_prog_compiler_static='-Bstatic'
12249 if test -d /usr/nec; then
12250 lt_prog_compiler_pic='-Kconform_pic'
12251 lt_prog_compiler_static='-Bstatic'
12256 lt_prog_compiler_wl='-Wl,'
12257 lt_prog_compiler_pic='-KPIC'
12258 lt_prog_compiler_static='-Bstatic'
12262 lt_prog_compiler_wl='-Wl,'
12267 lt_prog_compiler_pic='-pic'
12268 lt_prog_compiler_static='-Bstatic'
12278 # For platforms that do not support PIC, -DPIC is meaningless:
12283 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
12287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
12302 if test -n "$lt_prog_compiler_pic"; then
12303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
12312 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
12319 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12320 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12321 -e 's:$: $lt_compiler_flag:'`
12327 if (exit $ac_status) && test -s "$ac_outfile"; then
12332 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
12368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12378 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12381 if test -s conftest.err; then
12393 $RM -r conftest*
12397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
12412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12413 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12419 $RM -r conftest 2>/dev/null
12425 lt_compiler_flag="-o out/conftest2.$ac_objext"
12431 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12432 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12433 -e 's:$: $lt_compiler_flag:'`
12439 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12445 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12453 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12456 $RM -r conftest
12460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12469 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12475 $RM -r conftest 2>/dev/null
12481 lt_compiler_flag="-o out/conftest2.$ac_objext"
12487 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12488 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12489 -e 's:$: $lt_compiler_flag:'`
12495 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12501 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12509 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12512 $RM -r conftest
12516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
12537 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
12549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12576 # include_expsyms should be a list of space-separated symbols to be *always*
12622 case `$LD -v 2>&1` in
12624 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12625 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12645 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12646 export_dynamic_flag_spec='$wl--export-dynamic'
12647 # ancient GNU ld didn't support --whole-archive et. al.
12648 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12649 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
12654 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
12656 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12665 aix[3-9]*)
12675 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12686 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12690 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12691 hardcode_libdir_flag_spec='-L$libdir'
12698 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12701 # support --undefined. This deserves some investigation. FIXME
12702 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12711 hardcode_libdir_flag_spec='-L$libdir'
12712 export_dynamic_flag_spec='$wl--export-all-symbols'
12716 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
12717 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
12719 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12720 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12721 # If the export-symbols file already is a .def file, use it as
12723 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12729 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12736 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12741 hardcode_libdir_flag_spec='-L$libdir'
12750 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12751 emximp -o $lib $output_objdir/$libname.def'
12758 prefix_cmds="$prefix_cmds -e 1d";
12760 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12762 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12763 emximp -o $lib $output_objdir/$libname.def'
12764 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12768 interix[3-9]*)
12771 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12772 export_dynamic_flag_spec='$wl-E'
12777 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12779 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12780 archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12783 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12785 if test linux-dietlibc = "$host_os"; then
12787 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12790 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12794 tmp_sharedflag='-shared'
12797 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
12802 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
12803 tmp_addflag=' $pic_flag -Mnomain' ;;
12805 tmp_addflag=' -i_dynamic' ;;
12807 tmp_addflag=' -i_dynamic -nofor_main' ;;
12809 tmp_addflag=' -nofor_main' ;;
12812 tmp_sharedflag='--shared' ;;
12814 tmp_sharedflag='-Wl,-shared' ;;
12816 tmp_sharedflag='-qmkshrobj'
12819 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
12823 case `$CC -V 2>&1 | sed 5q` in
12825 whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
12827 tmp_sharedflag='-G' ;;
12829 tmp_sharedflag='-G' ;;
12831 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12835 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12837 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
12842 export_dynamic_flag_spec='-rdynamic'
12846 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12847 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12848 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12851 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12853 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12863 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12864 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12867 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12868 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12873 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12885 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12886 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12887 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12894 case `$LD -v 2>&1` in
12895 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12913 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12914 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12915 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12916 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12925 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12932 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12933 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12934 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12953 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
12955 # are no directories specified by -L.
12957 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
12964 aix[4-9]*)
12969 exp_sym_flag='-Bexport'
12972 # If we're using GNU nm, then we don't want the "-C" option.
12973 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
12974 # Without the "-l" option, or with the "-B" option, AIX nm treats
12978 # it in the Import File for the 'aix-soname' feature, so we have
12979 # to replace the "-B" option with "-P" for AIX nm.
12980 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12981 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
12983 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
12988 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12991 # depending on the kind of the shared library created -
13002 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13004 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
13010 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13014 LDFLAGS="$LDFLAGS -Wl,-brtl"
13019 exp_sym_flag='-bexport'
13020 no_entry_flag='-bnoentry'
13025 # or program results in "error TOC overflow" add -mminimal-toc to
13026 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13027 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13034 file_list_spec='$wl-f,'
13048 collect2name=`$CC -print-prog-name=collect2`
13049 if test -f "$collect2name" &&
13061 hardcode_libdir_flag_spec='-L$libdir'
13066 shared_flag='-shared'
13068 shared_flag="$shared_flag "'$wl-G'
13072 # /with/ Import File - we do not want to mix them.
13073 shared_flag_aix='-shared'
13074 shared_flag_svr4='-shared $wl-G'
13078 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13079 # chokes on -Wl,-G. The following line is correct:
13080 shared_flag='-G'
13083 shared_flag='$wl-G'
13085 shared_flag='$wl-bM:SRE'
13087 shared_flag_aix='$wl-bM:SRE'
13088 shared_flag_svr4='$wl-G'
13092 export_dynamic_flag_spec='$wl-bexpall'
13093 # It seems that -bexpall does not export symbols beginning with
13097 # Warning - without using the other runtime loading flags (-brtl),
13098 # -berok will link without error, but may produce a broken library.
13099 allow_undefined_flag='-berok'
13109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13130 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13131 # Check for a 64-bit object if we didn't find anything.
13132 if test -z "$lt_cv_aix_libpath_"; then
13133 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13138 if test -z "$lt_cv_aix_libpath_"; then
13147 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
13148 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
13151 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
13152 allow_undefined_flag="-z nodefs"
13153 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
13164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13185 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13186 # Check for a 64-bit object if we didn't find anything.
13187 if test -z "$lt_cv_aix_libpath_"; then
13188 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13193 if test -z "$lt_cv_aix_libpath_"; then
13202 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
13203 # Warning - without using the other run time loading flags,
13204 # -berok will link without error, but may produce a broken library.
13205 no_undefined_flag=' $wl-bernotok'
13206 allow_undefined_flag=' $wl-berok'
13208 # We only use this code for GNU lds that support --whole-archive.
13209 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
13215 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13216 # -brtl affects multiple linker settings, -berok does not and is overridden later
13217 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
13220 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
13223 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
13225 # used by -dlpreopen to get the symbols
13228 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
13237 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13241 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
13242 hardcode_libdir_flag_spec='-L$libdir'
13249 export_dynamic_flag_spec=-rdynamic
13269 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
13270 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
13274 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13276 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13282 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13294 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13295 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13308 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13312 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
13326 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13339 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
13340 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
13341 archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
13342 module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
13351 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13352 hardcode_libdir_flag_spec='-L$libdir'
13361 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13362 hardcode_libdir_flag_spec='-R$libdir'
13369 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13375 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13377 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13378 hardcode_libdir_flag_spec='-R$libdir'
13385 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
13387 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
13396 export_dynamic_flag_spec='$wl-E'
13401 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13403 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13410 export_dynamic_flag_spec='$wl-E'
13421 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13424 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13427 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13433 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13436 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13440 # Older versions of the 11.00 compiler do not understand -b yet
13441 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
13442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
13443 printf %s "checking if $CC understands -b... " >&6; }
13450 LDFLAGS="$LDFLAGS -b"
13452 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13455 if test -s conftest.err; then
13467 $RM -r conftest*
13471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
13475 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13477 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13495 export_dynamic_flag_spec='$wl-E'
13507 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
13508 # Try to use the -exported_symbol ld option, if it does not
13509 # work, assume that -exports_file does not work either and
13511 # This should be the same for all languages, so no per-tag cache variable.
13512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
13513 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
13519 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
13520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
13537 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
13540 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
13541 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
13544 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13555 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13561 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13562 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13564 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13566 hardcode_libdir_flag_spec='-R$libdir'
13572 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13574 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13583 if test -f /usr/libexec/ld.so; then
13587 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13588 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13589 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
13590 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13591 export_dynamic_flag_spec='$wl-E'
13593 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13594 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13602 hardcode_libdir_flag_spec='-L$libdir'
13611 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13612 emximp -o $lib $output_objdir/$libname.def'
13619 prefix_cmds="$prefix_cmds -e 1d";
13621 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13623 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13624 emximp -o $lib $output_objdir/$libname.def'
13625 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13631 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13632 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
13634 allow_undefined_flag=' -expect_unresolved \*'
13635 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
13638 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13642 osf4* | osf5*) # as osf3* with the addition of -msym flag
13644 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13645 archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
13646 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13648 allow_undefined_flag=' -expect_unresolved \*'
13649 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
13650 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
13651 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
13653 # Both c and cxx compiler support -rpath directly
13654 hardcode_libdir_flag_spec='-rpath $libdir'
13661 no_undefined_flag=' -z defs'
13664 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13665 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13666 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13668 case `$CC -V 2>&1` in
13671 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
13672 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13673 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13677 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13678 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13679 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13683 hardcode_libdir_flag_spec='-R$libdir'
13686 solaris2.[0-5] | solaris2.[0-5].*) ;;
13689 # but understands '-z linker_flag'. GCC discards it without '$wl',
13693 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
13695 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
13706 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13708 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13710 hardcode_libdir_flag_spec='-L$libdir'
13719 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13725 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13726 reload_cmds='$CC -r -o $output$reload_objs'
13730 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13739 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13741 export_dynamic_flag_spec='-Bexport'
13745 if test -d /usr/nec; then
13746 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13755 no_undefined_flag='$wl-z,text'
13761 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13762 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13764 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13765 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13770 # Note: We CANNOT use -z defs as we might desire, because we do not
13771 # link with -lc, and that would cause any symbols used from libc to
13773 # ever link correctly. If we're not using GNU ld we use -z text
13774 # though, which does catch some bad symbols but isn't as heavy-handed
13775 # as -z defs.
13776 no_undefined_flag='$wl-z,text'
13777 allow_undefined_flag='$wl-z,nodefs'
13780 hardcode_libdir_flag_spec='$wl-R,$libdir'
13783 export_dynamic_flag_spec='$wl-Bexport'
13787 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13788 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13790 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13791 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13796 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13797 hardcode_libdir_flag_spec='-L$libdir'
13809 export_dynamic_flag_spec='$wl-Blargedynsym'
13815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13840 # Assume -lc should be added
13846 # FIXME: we may have to deal with multi-command sequences.
13849 # Test whether the compiler implicitly links with -lc since on some
13850 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13851 # to ld, don't add -lc before -lgcc.
13852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13853 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
13861 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13864 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13872 compiler_flags=-v
13873 linker_flags=-v
13879 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13880 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13882 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
14056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14065 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
14066 *) lt_sed_strip_eq='s|=/|/|g' ;;
14068 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
14072 # otherwise default to the standard path separator (i.e. ":") - it is
14075 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
14078 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
14084 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
14086 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
14093 if test -d "$lt_sys_path$lt_multi_os_dir"; then
14095 elif test -n "$lt_multi_os_dir"; then
14096 test -d "$lt_sys_path" && \
14104 for (lt_i = NF; lt_i > 0; lt_i--) {
14112 lt_count--;
14124 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
14146 # when you set need_version to no, make sure it does not cause -set_version
14162 aix[4-9]*)
14181 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
14189 # filename-based versioning of shared library archives on AIX. While
14191 # prevent static linking of such archives. So we do filename-based
14196 # versioned .so libs for executables only if there is the -brtl
14197 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
14198 # To allow for filename-based versioning support, we need to create
14208 # but for link time we create the symlink libNAME.so -> libNAME.so.V
14238 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
14248 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
14249 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
14260 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14288 # libtool to hard-code these into programs
14303 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
14305 test -d \$dldir || mkdir -p \$dldir~
14308 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14311 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14319 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14325 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14329 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14338 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14355 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14361 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14362 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14363 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14367 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14369 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14371 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14374 # common. (e.g. "Program Files" -> "PROGRA~1")
14380 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
14382 test -d \$dldir || mkdir -p \$dldir~
14384 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14393 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
14428 if test -x /usr/bin/objformat; then
14436 version_type=freebsd-$objformat
14438 freebsd-elf*)
14444 freebsd-*)
14458 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14459 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14526 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14532 interix[3-9]*)
14564 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14565 libsuff= shlibsuff= libmagic=32-bit;;
14566 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14568 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14569 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14570 *) libsuff= shlibsuff= libmagic=never-match;;
14602 # Don't embed -rpath directories since the linker doesn't support them.
14603 hardcode_libdir_flag_spec='-L$libdir'
14607 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14613 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14640 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
14645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14659 # Add ABI-specific directories to the system library path.
14665 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
14666 # even though it is searched at run-time. Try to do the best guess by
14668 if test -f /etc/ld.so.conf; then
14669 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14676 # most powerpc-linux boxes support dynamic linking these days and
14677 # people can always --disable-shared, the test was removed, and we
14686 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14688 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14723 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
14729 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14741 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
14742 v=$($ECHO $release$versuffix | tr -d .-);
14743 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
14751 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
14753 test -d \$dldir || mkdir -p \$dldir~
14756 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14759 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
14828 if test -d /usr/nec; then
14859 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14900 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
15002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15005 if test -n "$hardcode_libdir_flag_spec" ||
15006 test -n "$runpath_var" ||
15009 # We can hardcode non-existent directories.
15013 # when we should be linking with a yet-to-be-installed one
15027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
15072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15073 printf %s "checking for dlopen in -ldl... " >&6; }
15079 LIBS="-ldl $LIBS"
15080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15109 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
15122 # because TPF is a cross-compiler, and we know how we open DSOs.
15134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
15135 printf %s "checking for shl_load in -ldld... " >&6; }
15141 LIBS="-ldld $LIBS"
15142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
15171 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
15178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15179 printf %s "checking for dlopen in -ldl... " >&6; }
15185 LIBS="-ldl $LIBS"
15186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15215 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
15217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
15218 printf %s "checking for dlopen in -lsvld... " >&6; }
15224 LIBS="-lsvld $LIBS"
15225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
15254 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
15256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
15257 printf %s "checking for dld_link in -ldld... " >&6; }
15263 LIBS="-ldld $LIBS"
15264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
15293 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
15323 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
15384 /* When -fvisibility=hidden is used, assume the code has been annotated
15412 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15415 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15416 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
15429 rm -fr conftest*
15433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
15438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
15491 /* When -fvisibility=hidden is used, assume the code has been annotated
15519 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15522 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15523 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
15536 rm -fr conftest*
15540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
15579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
15581 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
15582 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15583 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15587 # FIXME - insert some real tests, host_os isn't really good enough
15590 if test -n "$STRIP"; then
15591 striplib="$STRIP -x"
15592 old_striplib="$STRIP -S"
15593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
15621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
15624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
15633 if test -n "$RANLIB"; then
15639 aix[4-9]*)
15649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
15652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
15656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
15665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15695 # pkg-config is only needed for these options, do not require it otherwise
15696 if test "$enable_systemd" = "yes" -o "$enable_dnstap" = "yes" -o "$with_pyunbound" = "yes" -o "$with_pythonmod" = "yes"; then
15705 if test -n "$ac_tool_prefix"; then
15706 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15707 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15742 if test -n "$PKG_CONFIG"; then
15743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15752 if test -z "$ac_cv_path_PKG_CONFIG"; then
15754 # Extract the first word of "pkg-config", so it can be a program name with args.
15755 set dummy pkg-config; ac_word=$2
15756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15790 if test -n "$ac_pt_PKG_CONFIG"; then
15791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15814 if test -n "$PKG_CONFIG"; then
15816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15817 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15818 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16021 # https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Header-Portability.html
16216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
16222 if test -n "$CPP" && test -d "$CPP"; then
16225 if test -z "$CPP"; then
16231 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
16237 # with a fresh cross-compiler works.
16238 # On the NeXT, cc -E runs the code through the compiler's parser,
16240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16252 rm -f conftest.err conftest.i conftest.$ac_ext
16256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16269 rm -f conftest.err conftest.i conftest.$ac_ext
16273 rm -f conftest.i conftest.err conftest.$ac_ext
16287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
16293 # with a fresh cross-compiler works.
16294 # On the NeXT, cc -E runs the code through the compiler's parser,
16296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16308 rm -f conftest.err conftest.i conftest.$ac_ext
16312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16325 rm -f conftest.err conftest.i conftest.$ac_ext
16329 rm -f conftest.i conftest.err conftest.$ac_ext
16334 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
16353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16365 rm -rf conftest*
16368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
16386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memcmp compares unsigned" >&5
16520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cross-compile no" >&5
16521 printf "%s\n" "cross-compile no" >&6; }
16533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16566 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16572 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
16599 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
16618 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
16632 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
16653 # Check whether --enable-rpath was given.
16662 ac_config_commands="$ac_config_commands disable-rpath"
16669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5
16676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16693 if test -z "$ac_lib"; then
16696 ac_res=-l$ac_lib
16697 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5
16728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
16735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16752 if test -z "$ac_lib"; then
16755 ac_res=-l$ac_lib
16756 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
16791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5
16801 *-gnu*) ac_cv_func_chown_works=yes ;;
16806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16821 if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
16837 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16841 rm -f conftest.chown
16844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >&5
16870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
16880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16900 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
16913 *-*-amigaos* | *-*-msdosdjgpp*)
16921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
16926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
16936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16955 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
16970 write(-1, "", 0);
17014 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
17050 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
17061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
17083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
17090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
17141 rm -rf conftest*
17153 # Check whether --enable-largefile was given.
17161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
17172 # so use the C compiler's -n32 option if that helps.
17173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17176 /* Check that off_t can represent 2**63 - 1 correctly.
17180 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
17183 ? 1 : -1];
17196 rm -f core conftest.err conftest.$ac_objext conftest.beam
17197 CC="$CC -n32"
17200 ac_cv_sys_largefile_CC=' -n32'; break
17202 rm -f core conftest.err conftest.$ac_objext conftest.beam
17206 rm -f conftest.$ac_ext
17209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
17215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17225 /* Check that off_t can represent 2**63 - 1 correctly.
17229 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
17232 ? 1 : -1];
17245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17250 /* Check that off_t can represent 2**63 - 1 correctly.
17254 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
17257 ? 1 : -1];
17270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
17283 rm -rf conftest*
17285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
17292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17295 /* Check that off_t can represent 2**63 - 1 correctly.
17299 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
17302 ? 1 : -1];
17315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17320 /* Check that off_t can represent 2**63 - 1 correctly.
17324 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
17327 ? 1 : -1];
17340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
17353 rm -rf conftest*
17360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need -D_LARGEFILE_SOURCE=1 as a flag for $CC" >&5
17361 printf %s "checking whether we need -D_LARGEFILE_SOURCE=1 as a flag for $CC... " >&6; }
17376 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
17380 if test -z "`$CC $CPPFLAGS $CFLAGS -D_LARGEFILE_SOURCE=1 $ERRFLAG -c conftest.c 2>&1`"; then
17386 #echo "$CC $CPPFLAGS $CFLAGS -D_LARGEFILE_SOURCE=1 $ERRFLAG -c conftest.c 2>&1"
17387 #echo `$CC $CPPFLAGS $CFLAGS -D_LARGEFILE_SOURCE=1 $ERRFLAG -c conftest.c 2>&1`
17392 rm -f conftest conftest.c conftest.o
17397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17400 CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE=1"
17403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17407 #echo "$CC $CPPFLAGS $CFLAGS -D_LARGEFILE_SOURCE=1 $ERRFLAG -c conftest.c 2>&1"
17408 #echo `$CC $CPPFLAGS $CFLAGS -D_LARGEFILE_SOURCE=1 $ERRFLAG -c conftest.c 2>&1`
17413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
17422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if nonblocking sockets work" >&5
17425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no (windows)" >&5
17434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: crosscompile(yes)" >&5
17438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17486 if(sfd == -1) {
17498 if(fcntl(sfd, F_SETFL, O_NONBLOCK) == -1) {
17504 if(cfd == -1) {
17531 if(p == -1) {
17570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17582 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mkdir has one arg" >&5
17591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17626 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strptime works" >&5
17643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17649 res = strptime("2010-07-15T00:00:00+00:00", "%t%Y%t-%t%m%t-%t%d%tT%t%H%t:%t%M%t:%t%S%t", &tm);
17661 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_strptime_works" >&5
17696 if echo "$host" | $GREP -i -e linux >/dev/null; then reuseport_default=1; fi
17697 if echo "$host" | $GREP -i -e dragonfly >/dev/null; then reuseport_default=1; fi
17708 # Include systemd.m4 - begin
17712 # Check whether --enable-systemd was given.
17724 if test -n "$PKG_CONFIG"; then
17728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5
17731 if test -n "$SYSTEMD_CFLAGS"; then
17733 elif test -n "$PKG_CONFIG"; then
17734 if test -n "$PKG_CONFIG" && \
17735 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5
17736 ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5
17738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17740 pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd" 2>/dev/null`
17748 if test -n "$SYSTEMD_LIBS"; then
17750 elif test -n "$PKG_CONFIG"; then
17751 if test -n "$PKG_CONFIG" && \
17752 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5
17753 ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5
17755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17757 pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd" 2>/dev/null`
17769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17772 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17778 SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd" 2>&1`
17780 SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd" 2>&1`
17790 installed software in a non-standard prefix.
17793 and SYSTEMD_LIBS to avoid the need to call pkg-config.
17794 See the pkg-config man page for more details." "$LINENO" 5
17796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17798 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17800 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17802 path to pkg-config.
17805 and SYSTEMD_LIBS to avoid the need to call pkg-config.
17806 See the pkg-config man page for more details.
17808 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD_DAEMON" >&5
17826 if test -n "$SYSTEMD_DAEMON_CFLAGS"; then
17828 elif test -n "$PKG_CONFIG"; then
17829 if test -n "$PKG_CONFIG" && \
17830 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
17831 ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
17833 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17835 pkg_cv_SYSTEMD_DAEMON_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-daemon" 2>/dev/null`
17843 if test -n "$SYSTEMD_DAEMON_LIBS"; then
17845 elif test -n "$PKG_CONFIG"; then
17846 if test -n "$PKG_CONFIG" && \
17847 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
17848 ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
17850 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17852 pkg_cv_SYSTEMD_DAEMON_LIBS=`$PKG_CONFIG --libs "libsystemd-daemon" 2>/dev/null`
17864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17867 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17873 SYSTEMD_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
17875 SYSTEMD_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
17880 as_fn_error $? "Package requirements (libsystemd-daemon) were not met:
17885 installed software in a non-standard prefix.
17888 and SYSTEMD_DAEMON_LIBS to avoid the need to call pkg-config.
17889 See the pkg-config man page for more details." "$LINENO" 5
17891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17893 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17895 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17897 path to pkg-config.
17900 and SYSTEMD_DAEMON_LIBS to avoid the need to call pkg-config.
17901 See the pkg-config man page for more details.
17903 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17932 as_fn_error $? "systemd enabled but need pkg-config to configure for it" "$LINENO" 5
17945 # Include systemd.m4 - end
17948 # Check whether --enable-alloc-checks was given.
17954 # Check whether --enable-alloc-lite was given.
17960 # Check whether --enable-alloc-nonregional was given.
17986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
17990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no (crosscompile)" >&5
18002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18039 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CreateThread" >&5
18060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18098 # the non-threadsafe C libraries.
18100 # Check whether --with-pthreads was given.
18116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18123 # requires special compiler flags (e.g. on Tru64 or Sequent).
18143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
18145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
18179 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
18180 # libraries is broken (non-POSIX).
18184 # starting with a "-" are C compiler flags, and remaining items are
18186 # any flags at all, and "pthread-config" which is a program returning
18189 ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
18194 # pthreads: AIX (must check this before -lpthread)
18195 # none: in case threads are in libc; should be tried before -Kthread and
18197 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
18198 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
18199 # (Note: HP C rejects this with "bad form for `-t' option")
18200 # -pthreads: Solaris/gcc (Note: HP C also rejects)
18201 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
18203 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
18204 # is present but should not be used directly; and before -mthreads,
18205 # because the compiler interprets this as "-mt" + "-hreads")
18206 # -mthreads: Mingw32/gcc, Lynx/gcc
18208 # --thread-safe: KAI C++
18209 # pthread-config: use pthread-config program (for GNU Pth library)
18215 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
18216 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
18218 ax_pthread_flags="-kthread lthread $ax_pthread_flags"
18223 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
18224 # multi-threading and also sets -lpthread."
18226 ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
18231 # IBM z/OS requires a feature-test macro to be defined in order to
18236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
18248 printf "%s\n" "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
18250 rm -rf conftest*
18257 # (non-functional) versions of the pthreads routines, so link-based
18262 # standard Solaris way of linking pthreads (-mt -lpthread).
18264 ax_pthread_flags="-mt,-lpthread pthread $ax_pthread_flags"
18270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
18279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18281 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
18292 rm -rf conftest*
18297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
18302 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
18304 # Note that for GCC and Clang -pthread generally implies -lpthread,
18305 # except when -nostdlib is passed.
18309 # [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468555
18310 # To solve this, first try -pthread together with -lpthread for GCC
18314 ax_pthread_flags="-pthread,-lpthread -pthread -pthreads $ax_pthread_flags"
18317 # Clang takes -pthread (never supported any other flag), but we'll try with -lpthread first
18321 ax_pthread_flags="-pthread,-lpthread -pthread"
18325 # The presence of a feature test macro requesting re-entrant function
18339 ax_pthread_check_macro="--"
18342 if test "x$ax_pthread_check_macro" = "x--"
18355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
18362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with \"$PTHREAD_CFLAGS\" and \"$PTHREAD_LIBS\"" >&5
18366 -*)
18367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
18372 pthread-config)
18373 # Extract the first word of "pthread-config", so it can be a program name with args.
18374 set dummy pthread-config; ac_word=$2
18375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18381 if test -n "$ax_pthread_config"; then
18396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18403 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
18407 if test -n "$ax_pthread_config"; then
18408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
18411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18420 PTHREAD_CFLAGS="`pthread-config --cflags`"
18421 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
18425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
18426 printf %s "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
18427 PTHREAD_LIBS="-l$ax_pthread_try_flag"
18438 # need a special flag -Kthread to make this header compile.)
18439 # We check for pthread_join because it is in -lpthread on IRIX
18441 # due to DEC craziness with -lpthreads. We check for
18443 # functions on Solaris that doesn't have a non-functional libc stub.
18446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18455 /* To avoid any unused-parameter or
18456 unused-but-set-parameter warning. */
18477 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
18496 # Clang needs special handling, because older versions handle the -pthread
18501 # Clang takes -pthread; it has never supported any other flag
18507 # (Note 2: On some systems, notably Darwin, -pthread is not needed
18510 # -pthread does define _REENTRANT, and while the Darwin headers
18511 # ignore this macro, third-party headers might not.)
18515 # taking place, the -pthread option has no effect ("argument unused
18516 # during compilation"). They expect -pthread to be passed in only
18527 # Even though use of the -pthread flag in linking would only print
18528 # a warning, this can be a nuisance for well-run software projects
18529 # that build with -Werror. So if the active version of Clang has
18532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
18533 printf %s "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
18540 # links in two steps (.c -> .o, .o -> exe) instead of one
18541 # (.c -> exe), because the warning occurs only in the second
18544 ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
18548 for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
18553 CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
18555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
18606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
18614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
18647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
18656 ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
18661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
18670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
18676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
18741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18747 if test -n "$PTHREAD_CC"; then
18762 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18772 if test -n "$PTHREAD_CC"; then
18773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
18776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18781 test -n "$PTHREAD_CC" && break
18783 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
18791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18797 if test -n "$PTHREAD_CXX"; then
18812 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18822 if test -n "$PTHREAD_CXX"; then
18823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CXX" >&5
18826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18831 test -n "$PTHREAD_CXX" && break
18833 test -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
18848 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
18849 test -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
18856 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
18862 if test -n "$PTHREAD_LIBS"; then
18888 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
18902 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
18921 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of pthread_t" >&5
18935 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pthread_t" >&5
18954 if echo "$CFLAGS" | $GREP -e "-pthread" >/dev/null; then
18955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if -pthread unused during linking" >&5
18956 printf %s "checking if -pthread unused during linking... " >&6; }
18958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18967 echo "$CC $CFLAGS -c conftest.c -o conftest.o" >&5
18968 $CC $CFLAGS -c conftest.c -o conftest.o 2>&5 >&5
18971 echo "$CC $CFLAGS -Werror $LDFLAGS $LIBS -o conftest contest.o" >&5
18972 $CC $CFLAGS -Werror $LDFLAGS $LIBS -o conftest conftest.o 2>&5 >&5
18973 if test $? -ne 0; then
18974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18976 CFLAGS=`echo "$CFLAGS" | sed -e 's/-pthread//'`
18977 PTHREAD_CFLAGS_ONLY="-pthread"
18980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18987 rm -f conftest conftest.c conftest.o
18988 fi # endif -pthread in CFLAGS
18998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19007 # Check whether --with-solaris-threads was given.
19018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Have pthreads already, ignoring --with-solaris-threads" >&5
19019 printf "%s\n" "$as_me: WARNING: Have pthreads already, ignoring --with-solaris-threads" >&2;}
19021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing thr_create" >&5
19028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19045 if test -z "$ac_lib"; then
19048 ac_res=-l$ac_lib
19049 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_thr_create" >&5
19084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mt" >&5
19085 printf %s "checking whether $CC supports -mt... " >&6; }
19086 cache=`echo mt | sed 'y%.=/+-%___p_%'`
19093 if test -z "`$CC $CPPFLAGS $CFLAGS -mt -c conftest.c 2>&1`"; then
19098 rm -f conftest conftest.o conftest.c
19103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19106 CFLAGS="$CFLAGS -mt"
19108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19111 CFLAGS="$CFLAGS -D_REENTRANT"
19125 fi # end of non-mingw check of thread libraries
19129 # Check whether --with-syslog-facility was given.
19137 LOCAL[0-7]) UNBOUND_SYSLOG_FACILITY="LOG_${UNBOUND_SYSLOG_FACILITY}" ;;
19148 # Check whether --with-dynlibmodule was given.
19168 # link with -ldl if not already there, for all executables because
19171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19195 if test -z "$ac_lib"; then
19198 ac_res=-l$ac_lib
19199 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19230 DYNLIBMOD_EXTRALIBS="-export-dynamic"
19232 DYNLIBMOD_EXTRALIBS="-Wl,--export-all-symbols,--out-implib,libunbound.dll.a"
19239 # Check whether --with-pyunbound was given.
19257 # Check whether --with-pythonmodule was given.
19285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19308 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19319 if test -n "$PYTHON"; then
19320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
19323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19328 if test -z "$PYTHON"; then
19333 if test -z "$PYTHON_VERSION"; then
19334 PYTHON_VERSION=`$PYTHON -c "import sys; \
19340 PYTHON_VERSION_MAJOR=`echo $v | sed 's/[^0-9].*//'`
19341 if test -z "$PYTHON_VERSION_MAJOR"; then PYTHON_VERSION_MAJOR="0"; fi
19342 v=`echo $v | sed -e 's/^[0-9]*$//' -e 's/[0-9]*[^0-9]//'`
19343 PYTHON_VERSION_MINOR=`echo $v | sed 's/[^0-9].*//'`
19344 if test -z "$PYTHON_VERSION_MINOR"; then PYTHON_VERSION_MINOR="0"; fi
19345 v=`echo $v | sed -e 's/^[0-9]*$//' -e 's/[0-9]*[^0-9]//'`
19346 PYTHON_VERSION_PATCH=`echo $v | sed 's/[^0-9].*//'`
19347 if test -z "$PYTHON_VERSION_PATCH"; then PYTHON_VERSION_PATCH="0"; fi
19356 if test $PYTHON_VERSION_MAJOR -lt 3; then
19359 if test $PYTHON_VERSION_MAJOR -eq 3 -a $PYTHON_VERSION_MINOR -lt 10; then
19366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the $m Python module" >&5
19368 if ac_modulecheck_result1=`$PYTHON -c "import $m" 2>&1`; then
19369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19378 if test -z "$sysconfig_module"; then
19380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the $m2 Python module" >&5
19382 if ac_modulecheck_result2=`$PYTHON -c "import $m2" 2>&1`; then
19383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python include path" >&5
19405 if test -z "$PYTHON_CPPFLAGS"; then
19407 python_path=`$PYTHON -c 'import sysconfig; \
19410 python_path=`$PYTHON -c "import distutils.sysconfig; \
19413 if test -n "${python_path}"; then
19414 python_path="-I$python_path"
19418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5
19425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python library path" >&5
19427 if test -z "$PYTHON_LDFLAGS"; then
19428 PYTHON_LDFLAGS=`$PYTHON -c "from $sysconfig_module import *; \
19429 print('-L'+get_config_var('LIBDIR')+' -L'+get_config_var('LIBDEST')+' '+get_config_var('BLDLIBRARY'));"`
19431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5
19435 if test -z "$PYTHON_LIBDIR"; then
19436 PYTHON_LIBDIR=`$PYTHON -c "from $sysconfig_module import *; \
19443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python site-packages path" >&5
19444 printf %s "checking for Python site-packages path... " >&6; }
19445 if test -z "$PYTHON_SITE_PKG"; then
19447 PYTHON_SITE_PKG=`$PYTHON -c 'import sysconfig; \
19450 PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
19454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_SITE_PKG" >&5
19461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking consistency of all components of python development environment" >&5
19465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pythonexists" >&5
19505 installed in some non-standard library path. If so, pass it to configure,
19507 Example: ./configure LDFLAGS=\"-L/usr/non-standard-path/python/lib\"
19518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19530 if test ! -z "$PYTHON_VERSION"; then
19532 if test "$PYTHON_VERSION_MAJOR" -lt 2; then
19535 if test "$PYTHON_VERSION_MAJOR" -eq 2 -a "$PYTHON_VERSION_MINOR" -lt 4; then
19542 PY_MAJOR_VERSION="`$PYTHON -c \"import sys; print(sys.version_info[0])\"`"
19549 if test -n "$LIBS"; then
19557 if test -n "$CPPFLAGS"; then
19562 if test "$PYTHON_LIBDIR" != "/usr/lib" -a "$PYTHON_LIBDIR" != "" -a "$PYTHON_LIBDIR" != "/usr/lib64"; then
19566 RUNTIME_PATH="$RUNTIME_PATH -R$PYTHON_LIBDIR"
19572 if test -n "$PKG_CONFIG" && \
19573 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"python\${PY_MAJOR_VERSION}\"\""; } >&5
19574 ($PKG_CONFIG --exists --print-errors ""python${PY_MAJOR_VERSION}"") 2>&5
19576 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19586 # Check whether --enable-swig-version-check was given.
19599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19622 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19633 if test -n "$SWIG"; then
19634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
19637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19642 test -n "$SWIG" && break
19645 if test -z "$SWIG" ; then
19647 elif test -z "2.0.1" ; then
19650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking SWIG version" >&5
19652 swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`
19653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $swig_version" >&5
19655 if test -n "$swig_version" ; then
19658 required_major=`echo $required | sed 's/[^0-9].*//'`
19659 if test -z "$required_major" ; then
19662 required=`echo $required. | sed 's/[0-9]*[^0-9]//'`
19663 required_minor=`echo $required | sed 's/[^0-9].*//'`
19664 if test -z "$required_minor" ; then
19667 required=`echo $required. | sed 's/[0-9]*[^0-9]//'`
19668 required_patch=`echo $required | sed 's/[^0-9].*//'`
19669 if test -z "$required_patch" ; then
19674 available_major=`echo $available | sed 's/[^0-9].*//'`
19675 if test -z "$available_major" ; then
19678 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
19679 available_minor=`echo $available | sed 's/[^0-9].*//'`
19680 if test -z "$available_minor" ; then
19683 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
19684 available_patch=`echo $available | sed 's/[^0-9].*//'`
19685 if test -z "$available_patch" ; then
19696 if test $available_swig_vernum -lt $required_swig_vernum; then
19697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version >= 2.0.1 is required. You have $swig_version." >&5
19702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SWIG library" >&5
19704 SWIG_LIB=`$SWIG -swiglib | tr '\r\n' ' '`
19705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SWIG_LIB" >&5
19710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine SWIG version" >&5
19725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19759 if test -n "$SWIG"; then
19760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
19763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19768 test -n "$SWIG" && break
19771 if test -z "$SWIG" ; then
19773 elif test -z "" ; then
19776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking SWIG version" >&5
19778 swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`
19779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $swig_version" >&5
19781 if test -n "$swig_version" ; then
19784 required_major=`echo $required | sed 's/[^0-9].*//'`
19785 if test -z "$required_major" ; then
19788 required=`echo $required. | sed 's/[0-9]*[^0-9]//'`
19789 required_minor=`echo $required | sed 's/[^0-9].*//'`
19790 if test -z "$required_minor" ; then
19793 required=`echo $required. | sed 's/[0-9]*[^0-9]//'`
19794 required_patch=`echo $required | sed 's/[^0-9].*//'`
19795 if test -z "$required_patch" ; then
19800 available_major=`echo $available | sed 's/[^0-9].*//'`
19801 if test -z "$available_major" ; then
19804 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
19805 available_minor=`echo $available | sed 's/[^0-9].*//'`
19806 if test -z "$available_minor" ; then
19809 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
19810 available_patch=`echo $available | sed 's/[^0-9].*//'`
19811 if test -z "$available_patch" ; then
19822 if test $available_swig_vernum -lt $required_swig_vernum; then
19823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version >= is required. You have $swig_version." >&5
19828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SWIG library" >&5
19830 SWIG_LIB=`$SWIG -swiglib | tr '\r\n' ' '`
19831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SWIG_LIB" >&5
19836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine SWIG version" >&5
19845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking SWIG" >&5
19847 if test ! -x "$SWIG"; then
19855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: present" >&5
19870 PYTHONMOD_INSTALL=pythonmod-install
19872 PYTHONMOD_UNINSTALL=pythonmod-uninstall
19887 PYUNBOUND_INSTALL=pyunbound-install
19889 PYUNBOUND_UNINSTALL=pyunbound-uninstall
19894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: *** Python libraries not found, won't build PythonMod or PyUnbound ***" >&5
19902 NETBSD_LINTFLAGS='"-D__RENAME(x)=" -D_NETINET_IN_H_'
19908 GCC_DOCKER_LINTFLAGS='-syntax'
19911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for build time" >&5
19918 ax_build_date=`date -u -d "@$SOURCE_DATE_EPOCH" "+$ax_date_fmt" 2>/dev/null \
19919 || date -u -r "$SOURCE_DATE_EPOCH" "+$ax_date_fmt" 2>/dev/null`
19927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONFIG_DATE" >&5
19938 # Check whether --with-nss was given.
19946 if test "$withval" != "" -a "$withval" != "yes"; then
19947 CPPFLAGS="$CPPFLAGS -I$withval/include/nss3"
19948 LDFLAGS="$LDFLAGS -L$withval/lib"
19952 RUNTIME_PATH="$RUNTIME_PATH -R$withval/lib"
19956 CPPFLAGS="-I$withval/include/nspr4 $CPPFLAGS"
19958 CPPFLAGS="$CPPFLAGS -I/usr/include/nss3"
19959 CPPFLAGS="-I/usr/include/nspr4 $CPPFLAGS"
19961 LIBS="$LIBS -lnss3 -lnspr4"
19973 # Check whether --with-nettle was given.
19981 ac_fn_c_check_header_compile "$LINENO" "nettle/dsa-compat.h" "ac_cv_header_nettle_dsa_compat_h" "$ac_includes_default
19989 if test "$withval" != "" -a "$withval" != "yes"; then
19990 CPPFLAGS="$CPPFLAGS -I$withval/include/nettle"
19991 LDFLAGS="$LDFLAGS -L$withval/lib"
19995 RUNTIME_PATH="$RUNTIME_PATH -R$withval/lib"
20000 CPPFLAGS="$CPPFLAGS -I/usr/include/nettle"
20002 LIBS="$LIBS -lhogweed -lnettle -lgmp"
20012 if test $USE_NSS = "no" -a $USE_NETTLE = "no"; then
20015 # Check whether --with-ssl was given.
20032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL" >&5
20034 if test -n "$withval"; then
20035 if test ! -f "$withval/include/openssl/ssl.h" -a -f "$withval/openssl/ssl.h"; then
20040 ssldir_lib=`echo $ssldir | sed -e 's/include/lib/'`
20041 if test -f "$ssldir_lib/libssl.a" -o -f "$ssldir_lib/libssl.so"; then
20044 ssldir_lib=`echo $ssldir | sed -e 's/include/lib64/'`
20045 if test -f "$ssldir_lib/libssl.a" -o -f "$ssldir_lib/libssl.so"; then
20053 if test x_$withval = x_ -o x_$withval = x_yes; then
20058 if test -f "$dir/include/openssl/ssl.h"; then
20061 if test ! -d "$ssldir/lib" -a -d "$ssldir/lib64"; then
20072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $ssldir" >&5
20079 CPPFLAGS="$CPPFLAGS -I$ssldir_include"
20080 LIBSSL_CPPFLAGS="$LIBSSL_CPPFLAGS -I$ssldir_include"
20081 LDFLAGS="$LDFLAGS -L$ssldir_lib"
20082 LIBSSL_LDFLAGS="$LIBSSL_LDFLAGS -L$ssldir_lib"
20086 RUNTIME_PATH="$RUNTIME_PATH -R$ssldir_lib"
20092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EVP_sha256 in -lcrypto" >&5
20093 printf %s "checking for EVP_sha256 in -lcrypto... " >&6; }
20094 LIBS="$LIBS -lcrypto"
20095 LIBSSL_LIBS="$LIBSSL_LIBS -lcrypto"
20096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20123 # check if -lwsock32 or -lgdi32 are needed.
20126 LIBS="$LIBS -lgdi32 -lws2_32"
20127 LIBSSL_LIBS="$LIBSSL_LIBS -lgdi32 -lws2_32"
20128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if -lcrypto needs -lgdi32" >&5
20129 printf %s "checking if -lcrypto needs -lgdi32... " >&6; }
20130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20160 LIBS="$LIBS -lgdi32 -lws2_32 -lcrypt32"
20161 LIBSSL_LIBS="$LIBSSL_LIBS -lgdi32 -lws2_32 -lcrypt32"
20162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if -lcrypto needs -lgdi32 -lws2_32 -lcrypt32" >&5
20163 printf %s "checking if -lcrypto needs -lgdi32 -lws2_32 -lcrypt32... " >&6; }
20164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20194 LIBS="$LIBS -lgdi32 -lws2_32 -lcrypt32 -l:libssp.a"
20195 LIBSSL_LIBS="$LIBSSL_LIBS -lgdi32 -lws2_32 -lcrypt32 -l:libssp.a"
20196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if -lcrypto needs -lgdi32 -lws2_32 -lcrypt32 -l:libssp.a" >&5
20197 printf %s "checking if -lcrypto needs -lgdi32 -lws2_32 -lcrypt32 -l:libssp.a... " >&6; }
20198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20228 LIBS="$LIBS -ldl"
20229 LIBSSL_LIBS="$LIBSSL_LIBS -ldl"
20230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if -lcrypto needs -ldl" >&5
20231 printf %s "checking if -lcrypto needs -ldl... " >&6; }
20232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20261 LIBS="$LIBS -ldl -pthread"
20262 LIBSSL_LIBS="$LIBSSL_LIBS -ldl -pthread"
20263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if -lcrypto needs -ldl -pthread" >&5
20264 printf %s "checking if -lcrypto needs -ldl -pthread... " >&6; }
20265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20295 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20303 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20350 LIBS="-lssl $LIBS"
20351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libssl needs libdl" >&5
20353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
20387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20404 if test -z "$ac_lib"; then
20407 ac_res=-l$ac_lib
20408 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
20441 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20443 SSLLIB="-lssl"
20448 # check if -lcrypt32 is needed because CAPIENG needs that. (on windows)
20450 LIBS="-lssl $LIBS"
20451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libssl needs -lcrypt32" >&5
20452 printf %s "checking if libssl needs -lcrypt32... " >&6; }
20453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20479 LIBS="$LIBS -lcrypt32"
20482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LibreSSL" >&5
20488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
20503 for ac_arg in '' -fno-builtin; do
20506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20524 # declaration. Include always-available headers on the
20526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20554 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20556 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
20565 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20827 # these check_funcs need -lssl
20829 LIBS="-lssl $LIBS"
20987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the return type of HMAC_Init_ex" >&5
20989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: int" >&5
21032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: void" >&5
21039 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21047 # Check whether --with-libbsd was given.
21066 if test "x$ac_cv_header_bsd_string_h" = xyes -a "x$ac_cv_header_bsd_stdlib_h" = xyes; then
21069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing $func" >&5
21076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21093 if test -z "$ac_lib"; then
21096 ac_res=-l$ac_lib
21097 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21141 # Check whether --enable-sha1 was given.
21158 # Check whether --enable-sha2 was given.
21174 # Check whether --enable-subnet was given.
21185 SUBNET_OBJ="edns-subnet.lo subnetmod.lo addrtree.lo subnet-whitelist.lo"
21187 SUBNET_HEADER='$(srcdir)/edns-subnet/subnetmod.h $(srcdir)/edns-subnet/edns-subnet.h $(srcdir)/edns-subnet/subnet-whitelist.h $(srcdir)/edns-subnet/addrtree.h'
21196 # Check whether --enable-gost was given.
21203 if test $USE_NSS = "no" -a $USE_NETTLE = "no"; then
21225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GOST works" >&5
21229 if test -n "$ssldir"; then
21230 CFLAGS="$CFLAGS -Wl,-rpath,$ssldir_lib"
21236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21254 meth = EVP_PKEY_asn1_find_str(NULL, "gost2001", -1);
21278 meth = EVP_PKEY_asn1_find_str(&e, "gost2001", -1);
21291 unsigned char digest[64]; /* its a 256-bit digest, so uses 32 bytes */
21327 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gost_works" >&5
21347 # Check whether --enable-ecdsa was given.
21358 if test $USE_NSS = "no" -a $USE_NETTLE = "no"; then
21370 as_fn_error $? "OpenSSL does not support ECDSA: please upgrade or rerun with --disable-ecdsa" "$LINENO" 5
21382 as_fn_error $? "OpenSSL does not support ECDSA: please upgrade or rerun with --disable-ecdsa" "$LINENO" 5
21390 as_fn_error $? "OpenSSL does not support SHA384: please upgrade or rerun with --disable-ecdsa" "$LINENO" 5
21411 as_fn_error $? "OpenSSL does not support the ECDSA curves: please upgrade or rerun with --disable-ecdsa" "$LINENO" 5
21428 as_fn_error $? "OpenSSL does not support the ECDSA curves: please upgrade or rerun with --disable-ecdsa" "$LINENO" 5
21432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if openssl supports SHA2 and ECDSA with EVP" >&5
21436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21459 # Check whether --enable-dsa was given.
21469 if test $USE_NSS = "no" -a $USE_NETTLE = "no"; then
21502 if test "x$enable_dsa" = "xyes"; then as_fn_error $? "OpenSSL does not support DSA and you used --enable-dsa." "$LINENO" 5
21508 if test "x$enable_dsa" = "xyes"; then as_fn_error $? "OpenSSL does not support DSA and you used --enable-dsa." "$LINENO" 5
21525 # Check whether --with-deprecate-rsa-1024 was given.
21537 # Check whether --enable-ed25519 was given.
21548 if test $USE_NSS = "no" -a $USE_NETTLE = "no"; then
21566 if test "x$enable_ed25519" = "xyes"; then as_fn_error $? "OpenSSL does not support ED25519 and you used --enable-ed25519." "$LINENO" 5
21592 # Check whether --enable-ed448 was given.
21603 if test $USE_NSS = "no" -a $USE_NETTLE = "no"; then
21621 if test "x$enable_ed448" = "xyes"; then as_fn_error $? "OpenSSL does not support ED448 and you used --enable-ed448." "$LINENO" 5
21634 # Check whether --enable-event-api was given.
21642 UNBOUND_EVENT_INSTALL=unbound-event-install
21644 UNBOUND_EVENT_UNINSTALL=unbound-event-uninstall
21651 # Check whether --enable-tfo-client was given.
21666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Check the platform specific TFO kernel parameters are correctly configured to support client mode TFO" >&5
21669 as_fn_error $? "TCP Fast Open is not available for client mode: please rerun without --enable-tfo-client" "$LINENO" 5
21681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Check the platform specific TFO kernel parameters are correctly configured to support client mode TFO" >&5
21684 as_fn_error $? "TCP Fast Open is not available for client mode: please rerun without --enable-tfo-client" "$LINENO" 5
21696 # Check whether --enable-tfo-server was given.
21710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Check the platform specific TFO kernel parameters are correctly configured to support server mode TFO" >&5
21713 as_fn_error $? "TCP Fast Open is not available for server mode: please rerun without --enable-tfo-server" "$LINENO" 5
21725 # Check whether --with-libevent was given.
21737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libevent" >&5
21739 if test "x_$with_libevent" = x_ -o "x_$with_libevent" = x_yes; then
21744 if test -f "$dir/include/event.h" -o -f "$dir/include/event2/event.h"; then
21747 CPPFLAGS="$CPPFLAGS -I$thedir/include"
21753 if test -f "$dir/event.h" -a \( -f "$dir/libevent.la" -o -f "$dir/libev.la" \) ; then
21755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $thedir" >&5
21757 CPPFLAGS="$CPPFLAGS -I$thedir -I$thedir/include"
21764 ev_files_o=`ls $thedir/*.o | grep -v evdns\.o | grep -v bufferevent_openssl\.o`
21765 ev_files_lo=`ls $thedir/*.lo | grep -v evdns\.lo | grep -v bufferevent_openssl\.lo`
21766 ev_files_libso=`ls $thedir/.libs/*.o | grep -v evdns\.o | grep -v bufferevent_openssl\.o`
21770 LATE_LDFLAGS="build/libevent/*.lo -lm"
21771 LDFLAGS="build/libevent/*.o $LDFLAGS -lm"
21774 You can restart ./configure --with-libevent=no to use a builtin alternative.
21779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $thedir" >&5
21781 if test ! -f $thedir/lib/libevent.a -a ! -f $thedir/lib/libevent.so -a -d "$thedir/lib/event2"; then
21782 LDFLAGS="$LDFLAGS -L$thedir/lib/event2"
21786 RUNTIME_PATH="$RUNTIME_PATH -R$thedir/lib/event2"
21791 if test "$thedir" != "/usr" -a "$thedir" != ""; then
21792 LDFLAGS="$LDFLAGS -L$thedir/lib"
21796 RUNTIME_PATH="$RUNTIME_PATH -R$thedir/lib"
21804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21828 if test -z "$ac_lib"; then
21831 ac_res=-l$ac_lib
21832 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing event_set" >&5
21887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21904 if test -z "$ac_lib"; then
21907 ac_res=-l$ac_lib
21908 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_event_set" >&5
21942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing event_set" >&5
21949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21966 if test -z "$ac_lib"; then
21969 ac_res=-l$ac_lib
21970 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_event_set" >&5
22051 # in libevent, for thread-safety
22070 if test -n "$BAK_LDFLAGS_SET"; then
22081 # Check whether --with-libexpat was given.
22089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libexpat" >&5
22093 if test -f "$dir/include/expat.h"; then
22096 CPPFLAGS="$CPPFLAGS -I$dir/include"
22097 LDFLAGS="$LDFLAGS -L$dir/lib"
22099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $dir" >&5
22130 # Check whether --with-libhiredis was given.
22139 if test x_$withval = x_yes -o x_$withval != x_no; then
22140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libhiredis" >&5
22142 if test x_$withval = x_ -o x_$withval = x_yes; then
22146 if test -f "$dir/include/hiredis/hiredis.h"; then
22149 CPPFLAGS="$CPPFLAGS -I$dir/include"
22150 LDFLAGS="$LDFLAGS -L$dir/lib"
22152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $dir" >&5
22157 LIBS="$LIBS -lhiredis"
22188 # Check whether --with-libnghttp2 was given.
22197 if test x_$withval = x_yes -o x_$withval != x_no; then
22198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libnghttp2" >&5
22200 if test x_$withval = x_ -o x_$withval = x_yes; then
22204 if test -f "$dir/include/nghttp2/nghttp2.h"; then
22207 CPPFLAGS="$CPPFLAGS -I$dir/include"
22208 LDFLAGS="$LDFLAGS -L$dir/lib"
22210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $dir" >&5
22215 LIBS="$LIBS -lnghttp2"
22246 # Check whether --with-libngtcp2 was given.
22255 if test x_$withval = x_yes -o x_$withval != x_no; then
22256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2" >&5
22258 if test x_$withval = x_ -o x_$withval = x_yes; then
22262 if test -f "$dir/include/ngtcp2/ngtcp2.h"; then
22265 CPPFLAGS="$CPPFLAGS -I$dir/include"
22266 LDFLAGS="$LDFLAGS -L$dir/lib"
22268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $dir" >&5
22273 LIBS="$LIBS -lngtcp2"
22326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_encrypt_cb in -lngtcp2_crypto_openssl" >&5
22327 printf %s "checking for ngtcp2_crypto_encrypt_cb in -lngtcp2_crypto_openssl... " >&6; }
22333 LIBS="-lngtcp2_crypto_openssl $LIBS"
22334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_openssl_ngtcp2_crypto_encrypt_cb" >&5
22363 LIBS="$LIBS -lngtcp2_crypto_openssl"
22366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_encrypt_cb in -lngtcp2_crypto_quictls" >&5
22367 printf %s "checking for ngtcp2_crypto_encrypt_cb in -lngtcp2_crypto_quictls... " >&6; }
22373 LIBS="-lngtcp2_crypto_quictls $LIBS"
22374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22395 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_encrypt_cb" >&5
22403 LIBS="$LIBS -lngtcp2_crypto_quictls"
22555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ngtcp2_conn_shutdown_stream has 4 arguments" >&5
22557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22587 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22594 # Check whether --enable-static-exe was given.
22601 staticexe="-static"
22603 staticexe="-all-static"
22608 LIBS="$LIBS -lgdi32"
22610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
22611 printf %s "checking for compress in -lz... " >&6; }
22617 LIBS="-lz $LIBS"
22618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22639 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
22647 LIBS="$LIBS -lz"
22650 if echo "$LIBS" | grep -e "libssp.a" -e "lssp" >/dev/null; then
22653 LIBS="$LIBS -l:libssp.a"
22659 # Check whether --enable-fully-static was given.
22666 staticexe="-all-static"
22672 LIBS="$LIBS -lgdi32"
22674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
22675 printf %s "checking for compress in -lz... " >&6; }
22681 LIBS="-lz $LIBS"
22682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
22711 LIBS="$LIBS -lz"
22714 if echo "$LIBS" | grep -e "libssp.a" -e "lssp" >/dev/null; then
22717 LIBS="$LIBS -l:libssp.a"
22723 # Check whether --enable-lock_checks was given.
22738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5
22741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22770 LIBS="$LIBS -lws2_32"
22775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22804 LIBS="$LIBS -lws2_32"
22805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22842 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getaddrinfo" >&5
22871 if test -n "$ac_tool_prefix"; then
22874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22880 if test -n "$WINDRES"; then
22895 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22905 if test -n "$WINDRES"; then
22906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
22909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22915 if test -z "$ac_cv_prog_WINDRES"; then
22919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22925 if test -n "$ac_ct_WINDRES"; then
22940 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22950 if test -n "$ac_ct_WINDRES"; then
22951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
22954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
22974 LIBS="$LIBS -liphlpapi"
22976 LIBS="$LIBS -liphlpapi -lcrypt32"
22978 WINAPPS="unbound-service-install.exe unbound-service-remove.exe anchor-update.exe"
23000 *" fake-rfc2553.$ac_objext "* ) ;;
23001 *) LIBOBJS="$LIBOBJS fake-rfc2553.$ac_objext"
23009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ioctlsocket" >&5
23011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if daemon is deprecated" >&5
23058 cache=`echo daemon | sed 'y%.=/+-%___p_%'`
23069 if test -z "`$CC $CPPFLAGS $CFLAGS -c conftest.c 2>&1 | grep -e deprecated -e unavailable`"; then
23074 rm -f conftest conftest.o conftest.c
23079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for htobe64" >&5
23156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23186 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for be64toh" >&5
23191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing setusercontext" >&5
23231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23248 if test -z "$ac_lib"; then
23251 ac_res=-l$ac_lib
23252 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23258 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setusercontext" >&5
23534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for atomic_store" >&5
23536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for correct snprintf return value" >&5
23699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: maybe" >&5
23702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23728 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for reallocarray" >&5
23822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23974 LIBS="$LIBS -lmd"
23976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
23983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24000 if test -z "$ac_lib"; then
24003 ac_res=-l$ac_lib
24004 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
24089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
24096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24113 if test -z "$ac_lib"; then
24116 ac_res=-l$ac_lib
24117 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
24188 # Check whether --enable-allsymbols was given.
24205 UBSYMS='-export-symbols $(srcdir)/libunbound/ubsyms.def'
24213 UBSYMS="-export-symbols clubsyms.def"
24231 # Check whether --enable-dnstap was given.
24241 # Check whether --with-dnstap-socket-path was given.
24251 # Extract the first word of "protoc-c", so it can be a program name with args.
24252 set dummy protoc-c; ac_word=$2
24253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24287 if test -n "$PROTOC_C"; then
24288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PROTOC_C" >&5
24291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24296 if test -z "$PROTOC_C"; then
24297 as_fn_error $? "The protoc-c program was not found. Please install protobuf-c!" "$LINENO" 5
24300 # Check whether --with-protobuf-c was given.
24304 # workaround for protobuf-c includes at old dir before protobuf-c-1.0.0
24305 if test -f $withval/include/google/protobuf-c/protobuf-c.h; then
24306 CFLAGS="$CFLAGS -I$withval/include/google"
24308 CFLAGS="$CFLAGS -I$withval/include"
24310 LDFLAGS="$LDFLAGS -L$withval/lib"
24314 if test -n "$PKG_CONFIG"; then
24317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PROTOBUFC" >&5
24320 if test -n "$PROTOBUFC_CFLAGS"; then
24322 elif test -n "$PKG_CONFIG"; then
24323 if test -n "$PKG_CONFIG" && \
24324 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprotobuf-c\""; } >&5
24325 ($PKG_CONFIG --exists --print-errors "libprotobuf-c") 2>&5
24327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24329 pkg_cv_PROTOBUFC_CFLAGS=`$PKG_CONFIG --cflags "libprotobuf-c" 2>/dev/null`
24337 if test -n "$PROTOBUFC_LIBS"; then
24339 elif test -n "$PKG_CONFIG"; then
24340 if test -n "$PKG_CONFIG" && \
24341 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprotobuf-c\""; } >&5
24342 ($PKG_CONFIG --exists --print-errors "libprotobuf-c") 2>&5
24344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24346 pkg_cv_PROTOBUFC_LIBS=`$PKG_CONFIG --libs "libprotobuf-c" 2>/dev/null`
24358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24361 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24367 PROTOBUFC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libprotobuf-c" 2>&1`
24369 PROTOBUFC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libprotobuf-c" 2>&1`
24375 # pkg-config failed; try falling back to known values
24376 # workaround for protobuf-c includes at old dir before protobuf-c-1.0.0
24377 if test -f /usr/include/google/protobuf-c/protobuf-c.h; then
24378 CFLAGS="$CFLAGS -I/usr/include/google"
24380 if test -f /usr/local/include/google/protobuf-c/protobuf-c.h; then
24381 CFLAGS="$CFLAGS -I/usr/local/include/google"
24382 LDFLAGS="$LDFLAGS -L/usr/local/lib"
24384 as_fn_error $? "The protobuf-c package was not found with pkg-config. Please install protobuf-c!" "$LINENO" 5
24390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24393 # pkg-config failed; try falling back to known values
24394 # workaround for protobuf-c includes at old dir before protobuf-c-1.0.0
24395 if test -f /usr/include/google/protobuf-c/protobuf-c.h; then
24396 CFLAGS="$CFLAGS -I/usr/include/google"
24398 if test -f /usr/local/include/google/protobuf-c/protobuf-c.h; then
24399 CFLAGS="$CFLAGS -I/usr/local/include/google"
24400 LDFLAGS="$LDFLAGS -L/usr/local/lib"
24402 as_fn_error $? "The protobuf-c package was not found with pkg-config. Please install protobuf-c!" "$LINENO" 5
24410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24418 # workaround for protobuf-c includes at old dir before protobuf-c-1.0.0
24419 if test -f /usr/include/google/protobuf-c/protobuf-c.h; then
24420 CFLAGS="$CFLAGS -I/usr/include/google"
24422 if test -f /usr/local/include/google/protobuf-c/protobuf-c.h; then
24423 CFLAGS="$CFLAGS -I/usr/local/include/google"
24424 LDFLAGS="$LDFLAGS -L/usr/local/lib"
24432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing protobuf_c_message_pack" >&5
24439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24454 for ac_lib in '' protobuf-c
24456 if test -z "$ac_lib"; then
24459 ac_res=-l$ac_lib
24460 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_protobuf_c_message_pack" >&5
24490 as_fn_error $? "The protobuf-c library was not found. Please install the development libraries for protobuf-c!" "$LINENO" 5
24501 hdr_dnstap_socket_path="`echo $opt_dnstap_socket_path | sed -e 's/\\\\/\\\\\\\\/g'`"
24508 DNSTAP_SOCKET_TESTBIN='unbound-dnstap-socket$(EXEEXT)'
24510 DNSTAP_SRC="dnstap/dnstap.c dnstap/dnstap.pb-c.c dnstap/dnstap_fstrm.c dnstap/dtstream.c"
24512 DNSTAP_OBJ="dnstap.lo dnstap.pb-c.lo dnstap_fstrm.lo dtstream.lo"
24526 # Check whether --enable-dnscrypt was given.
24537 # Check whether --with-libsodium was given.
24541 CFLAGS="$CFLAGS -I$withval/include"
24542 LDFLAGS="$LDFLAGS -L$withval/lib"
24546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sodium_init" >&5
24553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24570 if test -z "$ac_lib"; then
24573 ac_res=-l$ac_lib
24574 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sodium_init" >&5
24607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing crypto_box_curve25519xchacha20poly1305_beforenm" >&5
24614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24631 if test -z "$ac_lib"; then
24634 ac_res=-l$ac_lib
24635 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24641 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypto_box_curve25519xchacha20poly1305_beforenm" >&5
24677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sodium_set_misuse_handler" >&5
24684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24701 if test -z "$ac_lib"; then
24704 ac_res=-l$ac_lib
24705 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24711 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sodium_set_misuse_handler" >&5
24764 # Check whether --enable-cachedb was given.
24788 # Check whether --enable-ipsecmod was given.
24799 IPSECMOD_OBJ="ipsecmod.lo ipsecmod-whitelist.lo"
24801 IPSECMOD_HEADER='$(srcdir)/ipsecmod/ipsecmod.h $(srcdir)/ipsecmod/ipsecmod-whitelist.h'
24810 # Check whether --enable-ipset was given.
24842 # Check whether --with-libmnl was given.
24851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libmnl" >&5
24853 if test x_$withval = x_ -o x_$withval = x_yes; then
24857 if test -f "$dir/include/libmnl/libmnl.h" -o -f "$dir/include/libmnl/libmnl/libmnl.h"; then
24860 if test -f "$dir/include/libmnl/libmnl/libmnl.h"; then
24863 if test "$dir" != "/usr" -o -n "$extralibmnl"; then
24864 CPPFLAGS="$CPPFLAGS -I$dir/include$extralibmnl"
24867 LDFLAGS="$LDFLAGS -L$dir/lib"
24869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $dir" >&5
24871 LIBS="$LIBS -lmnl"
24887 # Check whether --enable-explicit-port-randomisation was given.
24903 if echo "$host" | $GREP -i -e linux >/dev/null; then
24904 # Check whether --enable-linux-ip-local-port-range was given.
24922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ${MAKE:-make} supports $< with implicit rule in scope" >&5
24923 printf %s "checking if ${MAKE:-make} supports $< with implicit rule in scope... " >&6; }
24931 if test -f "\$<"; then touch \$@; fi
24935 if test -f "\$<"; then touch \$@; fi
24941 rm -f conftest.lo conftest.c
24942 ${MAKE:-make} -f conftest.make >/dev/null
24943 rm -f conftest.make conftest.c conftest.dir/conftest.c
24944 rm -rf conftest.dir
24945 if test ! -f conftest.lo; then
24946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24948 SOURCEDETERMINE='echo "$^" | awk "-F " "{print \$$1;}" > .source'
24951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24956 rm -f conftest.lo
24962 INSTALLTARGET="install-all"
24964 # Check whether --with-libunbound-only was given.
24970 INSTALLTARGET="install-lib"
24977 as_fn_error $? "--with-nss can only be used in combination with --with-libunbound-only." "$LINENO" 5
24980 as_fn_error $? "--with-nettle can only be used in combination with --with-libunbound-only." "$LINENO" 5
24988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Stripping extension flags..." >&5
24991 if echo $CFLAGS | grep " -D_GNU_SOURCE" >/dev/null 2>&1; then
24992 CFLAGS="`echo $CFLAGS | sed -e 's/ -D_GNU_SOURCE//g'`"
24999 if echo $CFLAGS | grep " -D_BSD_SOURCE" >/dev/null 2>&1; then
25000 CFLAGS="`echo $CFLAGS | sed -e 's/ -D_BSD_SOURCE//g'`"
25007 if echo $CFLAGS | grep " -D_DEFAULT_SOURCE" >/dev/null 2>&1; then
25008 CFLAGS="`echo $CFLAGS | sed -e 's/ -D_DEFAULT_SOURCE//g'`"
25015 if echo $CFLAGS | grep " -D__EXTENSIONS__" >/dev/null 2>&1; then
25016 CFLAGS="`echo $CFLAGS | sed -e 's/ -D__EXTENSIONS__//g'`"
25023 if echo $CFLAGS | grep " -D_POSIX_C_SOURCE=200112" >/dev/null 2>&1; then
25024 CFLAGS="`echo $CFLAGS | sed -e 's/ -D_POSIX_C_SOURCE=200112//g'`"
25031 if echo $CFLAGS | grep " -D_XOPEN_SOURCE=600" >/dev/null 2>&1; then
25032 CFLAGS="`echo $CFLAGS | sed -e 's/ -D_XOPEN_SOURCE=600//g'`"
25039 if echo $CFLAGS | grep " -D_XOPEN_SOURCE_EXTENDED=1" >/dev/null 2>&1; then
25040 CFLAGS="`echo $CFLAGS | sed -e 's/ -D_XOPEN_SOURCE_EXTENDED=1//g'`"
25047 if echo $CFLAGS | grep " -D_ALL_SOURCE" >/dev/null 2>&1; then
25048 CFLAGS="`echo $CFLAGS | sed -e 's/ -D_ALL_SOURCE//g'`"
25055 if echo $CFLAGS | grep " -D_LARGEFILE_SOURCE=1" >/dev/null 2>&1; then
25056 CFLAGS="`echo $CFLAGS | sed -e 's/ -D_LARGEFILE_SOURCE=1//g'`"
25063 if test -n "$LATE_LDFLAGS"; then
25067 LDFLAGS=`echo "$LDFLAGS"|sed -e 's/^ *//'`
25068 LIBS=`echo "$LIBS"|sed -e 's/^ *//'`
25078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for build time" >&5
25085 ax_build_date=`date -u -d "@$SOURCE_DATE_EPOCH" "+$ax_date_fmt" 2>/dev/null \
25086 || date -u -r "$SOURCE_DATE_EPOCH" "+$ax_date_fmt" 2>/dev/null`
25094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $date" >&5
25099 ac_config_files="$ac_config_files Makefile doc/example.conf doc/libunbound.3 doc/unbound.8 doc/unbound-anchor.8 doc/unbound-checkconf.8 doc/unbound.conf.5 doc/unbound-control.8 doc/unbound-host.1 smallapp/unbound-control-setup.sh dnstap/dnstap_config.h dnscrypt/dnscrypt_config.h contrib/libunbound.pc contrib/unbound.socket contrib/unbound.service contrib/unbound_portable.service"
25106 # scripts and configure runs, see configure's option --config-cache.
25111 # the --recheck option to rerun configure.
25125 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25130 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25144 # `set' does not quote correctly, so add quotes: double-quote
25146 sed -n \
25147 "s/'/'\\\\''/g;
25152 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25166 if test -w "$cache_file"; then
25168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25170 if test ! -f "$cache_file" || test -h "$cache_file"; then
25175 mv -f confcache "$cache_file"$$ &&
25176 mv -f "$cache_file"$$ "$cache_file" ;; #(
25178 mv -f confcache "$cache_file" ;;
25183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25187 rm -f confcache
25193 DEFS=-DHAVE_CONFIG_H
25212 if test -z "${USE_SYSTEMD_TRUE}" && test -z "${USE_SYSTEMD_FALSE}"; then
25221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25235 SHELL=\${CONFIG_SHELL-$SHELL}
25239 ## -------------------- ##
25241 ## -------------------- ##
25250 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25252 alias -g '${1+"$@"}'='"$@"'
25255 case `(set -o) 2>/dev/null` in #(
25257 set -o posix ;; #(
25271 # Quoting is to prevent editors from complaining about space-tab.
25281 # Ensure predictable behavior from utilities with locale-dependent output.
25288 # to be unset--not just set to an empty or harmless value--now, to
25289 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
25291 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
25305 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25306 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25325 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
25336 if test ! -f "$as_myself"; then
25344 # ----------------------------------------
25350 as_status=$1; test $as_status -eq 0 && as_status=1
25352 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
25353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
25362 # -----------------------
25370 # -----------------
25371 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25380 # ---------------
25389 # ----------------------
25408 # ------------------
25421 as_val=`expr "$@" || test $? -eq 1`
25433 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25439 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25445 as_me=`$as_basename -- "$0" ||
25476 case `echo -n x` in #(((((
25477 -n*)
25485 ECHO_N='-n';;
25488 # For backward compatibility with old third-party macros, we provide
25494 rm -f conf$$ conf$$.exe conf$$.file
25495 if test -d conf$$.dir; then
25496 rm -f conf$$.dir/conf$$.file
25498 rm -f conf$$.dir
25502 if ln -s conf$$.file conf$$ 2>/dev/null; then
25503 as_ln_s='ln -s'
25505 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25506 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25507 # In both cases, we have to default to `cp -pR'.
25508 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25509 as_ln_s='cp -pR'
25513 as_ln_s='cp -pR'
25516 as_ln_s='cp -pR'
25518 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25523 # -------------
25529 -*) as_dir=./$as_dir;;
25531 test -d "$as_dir" || eval $as_mkdir_p || {
25535 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25539 as_dir=`$as_dirname -- "$as_dir" ||
25562 test -d "$as_dir" && break
25564 test -z "$as_dirs" || eval "mkdir $as_dirs"
25565 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
25569 if mkdir -p . 2>/dev/null; then
25570 as_mkdir_p='mkdir -p "$as_dir"'
25572 test -d ./-p && rmdir ./-p
25578 # -----------------------
25582 test -f "$1" && test -x "$1"
25584 as_test_x='test -x'
25588 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25591 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25595 ## ----------------------------------- ##
25597 ## ----------------------------------- ##
25615 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25645 -h, --help print this help, then exit
25646 -V, --version print version number and configuration settings, then exit
25647 --config print configuration, then exit
25648 -q, --quiet, --silent
25650 -d, --debug don't remove temporary files
25651 --recheck update $as_me by reconfiguring in the same conditions
25652 --file=FILE[:TEMPLATE]
25654 --header=FILE[:TEMPLATE]
25666 Report bugs to <unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues>."
25670 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
25685 test -n "\$AWK" || AWK=awk
25694 --*=?*)
25699 --*=)
25713 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25715 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25717 --config | --confi | --conf | --con | --co | --c )
25719 --debug | --debu | --deb | --de | --d | -d )
25721 --file | --fil | --fi | --f )
25724 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25729 --header | --heade | --head | --hea )
25732 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25736 --he | --h)
25737 # Conflict between --help and --header
25739 Try \`$0 --help' for more information.";;
25740 --help | --hel | -h )
25742 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25743 | -silent | --silent | --silen | --sile | --sil | --si | --s)
25747 -*) as_fn_error $? "unrecognized option: \`$1'
25748 Try \`$0 --help' for more information." ;;
25761 ac_configure_extra_args="$ac_configure_extra_args --silent"
25767 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25780 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25789 # INIT-COMMANDS
25793 # The HP-UX ksh and POSIX shell print the target directory to stdout
26027 # Double-quote double-evaled strings.
26050 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
26062 if test -n "\${ZSH_VERSION+set}"; then
26084 "disable-rpath") CONFIG_COMMANDS="$CONFIG_COMMANDS disable-rpath" ;;
26089 "doc/unbound-anchor.8") CONFIG_FILES="$CONFIG_FILES doc/unbound-anchor.8" ;;
26090 "doc/unbound-checkconf.8") CONFIG_FILES="$CONFIG_FILES doc/unbound-checkconf.8" ;;
26092 "doc/unbound-control.8") CONFIG_FILES="$CONFIG_FILES doc/unbound-control.8" ;;
26093 "doc/unbound-host.1") CONFIG_FILES="$CONFIG_FILES doc/unbound-host.1" ;;
26094 "smallapp/unbound-control-setup.sh") CONFIG_FILES="$CONFIG_FILES smallapp/unbound-control-setup.sh" ;;
26129 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
26136 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26137 test -d "$tmp"
26140 tmp=./conf$$-$RANDOM
26148 if test -n "$CONFIG_FILES"; then
26175 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
26181 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26190 rm -f conf$$subs.sh
26195 sed -n '
26199 g
26209 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26214 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26216 g
26223 s/["\\]/\\&/g; s/^/"/; s/$/"/
26227 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26229 g
26238 rm -f conf$$subs.awk
26270 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26287 s/:\$(srcdir):/:/g
26288 s/:\${srcdir}:/:/g
26289 s/:@srcdir@:/:/g
26294 G
26301 fi # test -n "$CONFIG_FILES"
26306 if test -n "$CONFIG_HEADERS"; then
26312 # here-document in config.status, that substitutes the proper values into
26319 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
26320 if test -z "$ac_tt"; then
26334 sed -n '
26335 s/.\{148\}/&'"$ac_delim"'/g
26344 s/["\\]/\\&/g
26350 s/["\\]/\\&/g
26359 s/.\{148\}/&'"$ac_delim"'/g
26364 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26367 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26371 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26389 prefix = substr(line, 1, index(line, defundef) - 1)
26409 fi # test -n "$CONFIG_HEADERS"
26422 :[FH]-) ac_tag=-:-;;
26440 -) ac_f="$ac_tmp/stdin";;
26442 # (if the path is not absolute). The absolute path cannot be DOS-style,
26444 test -f "$ac_f" ||
26447 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26451 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26459 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26461 if test x"$ac_file" != x-; then
26463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26470 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26475 *:-:* | *:-) cat >"$ac_tmp/stdin" \
26481 ac_dir=`$as_dirname -- "$ac_file" ||
26512 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26562 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26566 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26570 s&@datadir@&$datadir&g
26571 s&@docdir@&$docdir&g
26572 s&@infodir@&$infodir&g
26573 s&@localedir@&$localedir&g
26574 s&@mandir@&$mandir&g
26575 s&\\\${datarootdir}&$datarootdir&g' ;;
26588 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26601 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
26604 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26605 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
26606 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
26607 "$ac_tmp/out"`; test -z "$ac_out"; } &&
26608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26613 rm -f "$ac_tmp/stdin"
26615 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
26616 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
26624 if test x"$ac_file" != x-; then
26627 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
26631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26634 rm -f "$ac_file"
26640 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
26641 || as_fn_error $? "could not create -" "$LINENO" 5
26645 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26656 if test -n "${ZSH_VERSION+set}"; then
26667 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26670 # Provide generalized library-building support services.
26745 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26746 Xsed="\$SED -e 1s/^X//"
26757 # A BSD- or MS-compatible name lister.
26820 # Commands used to install an old-style archive.
26882 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26885 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26916 # Is shlibpath searched before the hard-coded library search path?
26923 # The last name is the one that the linker finds with -lNAME
26948 # Compile-time system search path for libraries.
26951 # Detected run-time system search path for libraries.
26978 # Commands used to build an old-style archive.
26999 # Does compiler simultaneously support -c and -o options?
27002 # Whether or not to add -lc for building shared libraries.
27017 # Create an old-style archive from a shared archive.
27020 # Create a temporary old-style archive to link instead of a shared archive.
27045 # Whether we need a single "-rpath" flag with a separated argument.
27058 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27111 # -----------------------------------
27130 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
27133 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
27136 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
27137 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
27140 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
27146 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
27153 \-*) ;;
27157 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
27185 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27189 || (rm -f "$cfgfile"; exit 1)
27191 mv -f "$cfgfile" "$ofile" ||
27192 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27196 "disable-rpath":C)
27197 sed < libtool > libtool-2 \
27198 's/^hardcode_libdir_flag_spec.*$'/'hardcode_libdir_flag_spec=" -D__LIBTOOL_RPATH_SED__ "/'
27199 mv libtool-2 libtool
27228 ac_config_status_args="$ac_config_status_args --quiet"
27236 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
27237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5