Lines Matching +full:fully +full:- +full:featured
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
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 || {
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'
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'
1027 if test -n "$ac_prev"; then
1040 --)
1043 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1045 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1048 -build | --build | --buil | --bui | --bu)
1050 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1053 -cache-file | --cache-file | --cache-fil | --cache-fi \
1054 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1056 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1057 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1060 --config-cache | -C)
1063 -datadir | --datadir | --datadi | --datad)
1065 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1068 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1069 | --dataroo | --dataro | --datar)
1071 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1072 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1075 -disable-* | --disable-*)
1076 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1078 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1081 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1086 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1091 -docdir | --docdir | --docdi | --doc | --do)
1093 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1096 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1098 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1101 -enable-* | --enable-*)
1102 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1107 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1112 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1117 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1118 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1119 | --exec | --exe | --ex)
1121 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1122 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1123 | --exec=* | --exe=* | --ex=*)
1126 -gas | --gas | --ga | --g)
1127 # Obsolete; use --with-gas.
1130 -help | --help | --hel | --he | -h)
1132 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1134 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1137 -host | --host | --hos | --ho)
1139 -host=* | --host=* | --hos=* | --ho=*)
1142 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1144 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1145 | --ht=*)
1148 -includedir | --includedir | --includedi | --included | --include \
1149 | --includ | --inclu | --incl | --inc)
1151 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1152 | --includ=* | --inclu=* | --incl=* | --inc=*)
1155 -infodir | --infodir | --infodi | --infod | --info | --inf)
1157 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1160 -libdir | --libdir | --libdi | --libd)
1162 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1165 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1166 | --libexe | --libex | --libe)
1168 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1169 | --libexe=* | --libex=* | --libe=*)
1172 -localedir | --localedir | --localedi | --localed | --locale)
1174 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1177 -localstatedir | --localstatedir | --localstatedi | --localstated \
1178 | --localstate | --localstat | --localsta | --localst | --locals)
1180 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1181 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1184 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1186 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1189 -nfp | --nfp | --nf)
1190 # Obsolete; use --without-fp.
1193 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1194 | --no-cr | --no-c | -n)
1197 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1198 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1201 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1202 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1203 | --oldin | --oldi | --old | --ol | --o)
1205 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1206 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1207 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1210 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1212 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1215 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1216 | --program-pre | --program-pr | --program-p)
1218 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1219 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1222 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1223 | --program-suf | --program-su | --program-s)
1225 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1226 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1229 -program-transform-name | --program-transform-name \
1230 | --program-transform-nam | --program-transform-na \
1231 | --program-transform-n | --program-transform- \
1232 | --program-transform | --program-transfor \
1233 | --program-transfo | --program-transf \
1234 | --program-trans | --program-tran \
1235 | --progr-tra | --program-tr | --program-t)
1237 -program-transform-name=* | --program-transform-name=* \
1238 | --program-transform-nam=* | --program-transform-na=* \
1239 | --program-transform-n=* | --program-transform-=* \
1240 | --program-transform=* | --program-transfor=* \
1241 | --program-transfo=* | --program-transf=* \
1242 | --program-trans=* | --program-tran=* \
1243 | --progr-tra=* | --program-tr=* | --program-t=*)
1246 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1248 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1251 -psdir | --psdir | --psdi | --psd | --ps)
1253 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1256 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1257 | -silent | --silent | --silen | --sile | --sil)
1260 -runstatedir | --runstatedir | --runstatedi | --runstated \
1261 | --runstate | --runstat | --runsta | --runst | --runs \
1262 | --run | --ru | --r)
1264 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1265 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1266 | --run=* | --ru=* | --r=*)
1269 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1271 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1272 | --sbi=* | --sb=*)
1275 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1276 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1277 | --sharedst | --shareds | --shared | --share | --shar \
1278 | --sha | --sh)
1280 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1281 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1282 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1283 | --sha=* | --sh=*)
1286 -site | --site | --sit)
1288 -site=* | --site=* | --sit=*)
1291 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1293 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1296 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1297 | --syscon | --sysco | --sysc | --sys | --sy)
1299 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1300 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1303 -target | --target | --targe | --targ | --tar | --ta | --t)
1305 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1308 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1311 -version | --version | --versio | --versi | --vers | -V)
1314 -with-* | --with-*)
1315 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1317 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1320 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1325 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1330 -without-* | --without-*)
1331 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1333 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1336 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1341 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1346 --x)
1347 # Obsolete; use --with-x.
1350 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1351 | --x-incl | --x-inc | --x-in | --x-i)
1353 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1354 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1357 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1358 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1360 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1361 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1364 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1365 Try \`$0 --help' for more information"
1372 '' | [0-9]* | *[!_$as_cr_alnum]* )
1380 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1381 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1389 if test -n "$ac_prev"; then
1390 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1394 if test -n "$ac_unrecognized_opts"; then
1420 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1424 # used to hold the argument of --host etc.
1440 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1445 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1446 ac_ls_di=`ls -di .` &&
1447 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1454 if test -z "$srcdir"; then
1457 ac_confdir=`$as_dirname -- "$as_myself" ||
1481 if test ! -r "$srcdir/$ac_unique_file"; then
1487 if test ! -r "$srcdir/$ac_unique_file"; then
1493 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1501 # mess up M-x gdb in Emacs.
1513 # Report the --help message.
1529 -h, --help display this help and exit
1530 --help=short display options specific to this package
1531 --help=recursive display the short help of all the included packages
1532 -V, --version display version information and exit
1533 -q, --quiet, --silent do not print \`checking ...' messages
1534 --cache-file=FILE cache test results in FILE [disabled]
1535 -C, --config-cache alias for \`--cache-file=config.cache'
1536 -n, --no-create do not create output files
1537 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1540 --prefix=PREFIX install architecture-independent files in PREFIX
1542 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1547 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1548 for instance \`--prefix=\$HOME'.
1553 --bindir=DIR user executables [EPREFIX/bin]
1554 --sbindir=DIR system admin executables [EPREFIX/sbin]
1555 --libexecdir=DIR program executables [EPREFIX/libexec]
1556 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1557 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1558 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1559 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1560 --libdir=DIR object code libraries [EPREFIX/lib]
1561 --includedir=DIR C header files [PREFIX/include]
1562 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1563 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1564 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1565 --infodir=DIR info documentation [DATAROOTDIR/info]
1566 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1567 --mandir=DIR man documentation [DATAROOTDIR/man]
1568 --docdir=DIR documentation root [DATAROOTDIR/doc/unbound]
1569 --htmldir=DIR html documentation [DOCDIR]
1570 --dvidir=DIR dvi documentation [DOCDIR]
1571 --pdfdir=DIR pdf documentation [DOCDIR]
1572 --psdir=DIR ps documentation [DOCDIR]
1578 --build=BUILD configure for building on BUILD [guessed]
1579 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1583 if test -n "$ac_init_help"; then
1590 --disable-option-checking ignore unrecognized --enable/--with options
1591 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1592 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1593 --enable-checking Enable warnings, asserts, makefile-dependencies
1594 --enable-debug same as enable-checking
1595 --disable-flto Disable link-time optimization (gcc specific option)
1596 --enable-pie Enable Position-Independent Executable (eg. to fully
1598 --enable-relro-now Enable full relocation binding at load-time (RELRO
1600 --enable-shared[=PKGS] build shared libraries [default=yes]
1601 --enable-static[=PKGS] build static libraries [default=yes]
1602 --enable-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1604 --enable-fast-install[=PKGS]
1606 --enable-aix-soname=aix|svr4|both
1609 --disable-libtool-lock avoid locking (might break parallel builds)
1610 --disable-rpath disable hardcoded rpath (default=enabled)
1611 --disable-largefile omit support for large files
1612 --enable-systemd compile with systemd support (requires libsystemd,
1613 pkg-config)
1614 --enable-alloc-checks enable to memory allocation statistics, for debug
1616 --enable-alloc-lite enable for lightweight alloc assertions, for debug
1618 --enable-alloc-nonregional
1622 --disable-swig-version-check
1625 --disable-sha1 Disable SHA1 RRSIG support, does not disable nsec3
1627 --disable-sha2 Disable SHA256 and SHA512 RRSIG support
1628 --enable-subnet Enable client subnet
1629 --disable-gost Disable GOST support
1630 --disable-ecdsa Disable ECDSA support
1631 --disable-dsa Disable DSA support
1632 --disable-ed25519 Disable ED25519 support
1633 --disable-ed448 Disable ED448 support
1634 --enable-event-api Enable (experimental) pluggable event base
1635 libunbound API installed to unbound-event.h
1636 --enable-tfo-client Enable TCP Fast Open for client mode
1637 --enable-tfo-server Enable TCP Fast Open for server mode
1638 --enable-static-exe enable to compile executables statically against
1640 --enable-fully-static enable to compile fully static
1641 --enable-lock-checks enable to check lock and unlock calls, for debug
1643 --enable-allsymbols export all symbols from libunbound and link binaries
1646 --enable-dnstap Enable dnstap support (requires protobuf-c)
1647 --enable-dnscrypt Enable dnscrypt support (requires libsodium)
1648 --enable-cachedb enable cachedb module that can use external cache
1650 --enable-ipsecmod Enable ipsecmod module that facilitates
1652 --enable-ipset enable ipset module
1653 --disable-explicit-port-randomisation
1656 --enable-linux-ip-local-port-range
1665 distributions) the use of non-ephemeral ports.
1668 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1669 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1670 --with-conf-file=path Pathname to the Unbound configuration file
1671 --with-run-dir=path set default directory to chdir to (by default dir
1673 --with-chroot-dir=path set default directory to chroot to (by default same
1674 as run-dir)
1675 --with-share-dir=path set default directory with shared data (by default
1677 --with-pidfile=filename set default pathname to unbound pidfile (default
1678 run-dir/unbound.pid)
1679 --with-rootkey-file=filename
1681 run-dir/root.key). This file is read and written.
1682 --with-rootcert-file=filename
1684 (default run-dir/icannbundle.pem). This file need
1686 --with-username=user set default user that unbound changes to (default
1688 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1689 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1691 --with-pthreads use pthreads library, or --without-pthreads to
1693 --with-solaris-threads use solaris native thread library.
1694 --with-syslog-facility=LOCAL0 - LOCAL7
1696 --with-dynlibmodule build dynamic library module, or
1697 --without-dynlibmodule to disable it. (default=no)
1698 --with-pyunbound build PyUnbound, or --without-pyunbound to skip it.
1700 --with-pythonmodule build Python module, or --without-pythonmodule to
1702 --with-nss=path use libnss instead of openssl, installed at path.
1703 --with-nettle=path use libnettle as crypto library, installed at path.
1704 --with-ssl=pathname enable SSL (will check /usr/local/ssl /usr/lib/ssl
1707 --with-libbsd Use portable libbsd functions
1708 --with-deprecate-rsa-1024
1712 --with-libevent=pathname
1717 --with-libexpat=path specify explicit path for libexpat.
1718 --with-libhiredis=path specify explicit path for libhiredis.
1719 --with-libnghttp2=path specify explicit path for libnghttp2.
1720 --with-libngtcp2=path specify explicit path for libngtcp2, for QUIC.
1721 --with-dnstap-socket-path=pathname
1723 --with-protobuf-c=path Path where protobuf-c is installed, for dnstap
1724 --with-libsodium=path Path where libsodium is installed, for dnscrypt
1725 --with-libmnl=path specify explicit path for libmnl.
1726 --with-libunbound-only do not build daemon and tool programs
1731 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1733 LIBS libraries to pass to the linker, e.g. -l<library>
1734 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1737 Defaults to the first program found out of: `bison -y', `byacc',
1741 default value of `-d' given by some make applications.
1743 User-defined run-time library search path.
1744 PKG_CONFIG path to pkg-config utility
1746 directories to add to pkg-config's search path
1748 path overriding pkg-config's built-in search path
1751 C compiler flags for SYSTEMD, overriding pkg-config
1753 linker flags for SYSTEMD, overriding pkg-config
1755 C compiler flags for SYSTEMD_DAEMON, overriding pkg-config
1757 linker flags for SYSTEMD_DAEMON, overriding pkg-config
1767 C compiler flags for PROTOBUFC, overriding pkg-config
1769 linker flags for PROTOBUFC, overriding pkg-config
1774 Report bugs to <unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues>.
1780 # If there are subdirs, report their specific --help.
1782 test -d "$ac_dir" ||
1783 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1821 # Metaconfig's "Configure" on case-insensitive file systems.
1822 if test -f "$ac_srcdir/configure.gnu"; then
1824 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1825 elif test -f "$ac_srcdir/configure"; then
1827 $SHELL "$ac_srcdir/configure" --help=recursive
1835 test -n "$ac_init_help" && exit $ac_status
1848 ## ------------------------ ##
1850 ## ------------------------ ##
1853 # --------------------------
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 rm -f conftest.$ac_objext conftest.beam
1864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1868 if test -s conftest.err; then
1869 grep -v '^ *+' conftest.err >conftest.er1
1871 mv -f conftest.er1 conftest.err
1873 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1875 test -z "$ac_c_werror_flag" ||
1876 test ! -s conftest.err
1877 } && test -s conftest.$ac_objext
1892 # -------------------------------------------------------
1897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1925 # -----------------------
1929 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1930 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1940 if test -s conftest.err; then
1941 grep -v '^ *+' conftest.err >conftest.er1
1943 mv -f conftest.er1 conftest.err
1945 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1947 test -z "$ac_c_werror_flag" ||
1948 test ! -s conftest.err
1949 } && test -s conftest$ac_exeext && {
1951 test -x conftest$ac_exeext
1965 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1972 # ----------------------------------
1976 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2034 # -------------------------------------------
2039 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2091 # ----------------------
2095 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2105 if test -s conftest.err; then
2106 grep -v '^ *+' conftest.err >conftest.er1
2108 mv -f conftest.er1 conftest.err
2110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2112 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2113 test ! -s conftest.err
2129 # ----------------------
2134 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2150 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2165 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2172 # --------------------------------------------
2173 # Tries to find the compile-time value of EXPR in a program that includes
2178 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2187 static int test_array [1 - 2 * !(($2) >= 0)];
2199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2218 if test $ac_lo -le $ac_mid; then
2224 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2233 static int test_array [1 - 2 * !(($2) < 0)];
2243 ac_hi=-1 ac_mid=-1
2245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2251 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2263 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2264 if test $ac_mid -le $ac_hi; then
2270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2275 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2280 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2287 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2301 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2350 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2352 rm -f conftest.val
2360 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
2361 # ------------------------------------------------------------------
2363 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
2366 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2374 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2413 # ----------------------------------------------------
2418 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2461 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2463 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2504 ## --------- ##
2506 ## --------- ##
2508 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2509 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2510 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2511 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2512 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2514 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2515 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2518 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2545 ## ----------- ##
2547 ## ----------- ##
2553 # Strip out --no-create and --no-recursion so they do not pile up.
2554 # Strip out --silent because we don't want to record it for future runs.
2555 # Also quote any args containing shell meta-characters.
2556 # Make two passes to allow for proper duplicate-argument suppression.
2566 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2567 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2568 | -silent | --silent | --silen | --sile | --sil)
2581 *=* | --config-cache | -C | -disable-* | --disable-* \
2582 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2583 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2584 | -with-* | --with-* | -without-* | --without-* | --x)
2589 -* ) ac_must_keep_next=true ;;
2612 printf "%s\n" "## ---------------- ##
2614 ## ---------------- ##"
2618 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2623 …*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a n…
2636 sed -n \
2641 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2648 printf "%s\n" "## ----------------- ##
2650 ## ----------------- ##"
2662 if test -n "$ac_subst_files"; then
2663 printf "%s\n" "## ------------------- ##
2665 ## ------------------- ##"
2678 if test -s confdefs.h; then
2679 printf "%s\n" "## ----------- ##
2681 ## ----------- ##"
2690 rm -f core *.core core.conftest.* &&
2691 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2700 rm -f -r conftest* confdefs.h
2721 if test -n "$CONFIG_SITE"; then
2737 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2742 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2749 if test -r "$cache_file"; then
2752 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2798 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2801 as an "x". The following induces an error, until -std is added to get
2804 that is true only with -std. */
2805 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2807 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2810 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2864 static long long int bignum = -9223372036854775807LL;
2884 // See if C++-style comments work.
2947 ia->datasize = 10;
2948 for (int i = 0; i < ia->datasize; ++i)
2949 ia->data[i] = i * 1.234;
2962 dynamic_array[ni.number - 1] = 543;
2966 || dynamic_array[ni.number - 1] != 543);
2989 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3003 // Check UTF-8 literals.
3012 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3096 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3120 # As a special case, if "install-sh" is required, that requirement
3121 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3123 if test x"$ac_aux" = x"install-sh"
3125 if test -f "${as_dir}install-sh"; then
3126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3127 ac_install_sh="${as_dir}install-sh -c"
3128 elif test -f "${as_dir}install.sh"; then
3129 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3130 ac_install_sh="${as_dir}install.sh -c"
3131 elif test -f "${as_dir}shtool"; then
3132 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3133 ac_install_sh="${as_dir}shtool install -c"
3137 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3143 if test -f "${as_dir}${ac_aux}"; then
3144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3176 if test -f "${ac_aux_dir}config.guess"; then
3179 if test -f "${ac_aux_dir}config.sub"; then
3182 if test -f "$ac_aux_dir/configure"; then
3196 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the p…
3200 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >…
3210 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run…
3214 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' s…
3218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3239 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the…
3241 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3244 ## -------------------- ##
3246 ## -------------------- ##
3250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3272 # 1.3.0 had 1:0:0 # ub_cancel and -export-symbols.
3277 # 1.4.0-snapshots had 1:5:0
3366 # Current -- the number of the binary API that we're implementing
3367 # Revision -- which iteration of the implementation of the binary
3369 # Age -- How many previous binary API versions do we also
3389 cmdln="`echo $@ | sed -e 's/\\\\/\\\\\\\\/g' | sed -e 's/"/\\\\"/'g`"
3406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3409 if test -n "$ac_tool_prefix"; then
3412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3418 if test -n "$CC"; then
3433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3443 if test -n "$CC"; then
3444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3453 if test -z "$ac_cv_prog_CC"; then
3457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3463 if test -n "$ac_ct_CC"; then
3478 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3488 if test -n "$ac_ct_CC"; then
3489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
3511 if test -z "$CC"; then
3512 if test -n "$ac_tool_prefix"; then
3515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3521 if test -n "$CC"; then
3536 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3546 if test -n "$CC"; then
3547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3557 if test -z "$CC"; then
3560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3566 if test -n "$CC"; then
3586 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3608 if test -n "$CC"; then
3609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3618 if test -z "$CC"; then
3619 if test -n "$ac_tool_prefix"; then
3624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3630 if test -n "$CC"; then
3645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3655 if test -n "$CC"; then
3656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3664 test -n "$CC" && break
3667 if test -z "$CC"; then
3673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3679 if test -n "$ac_ct_CC"; then
3694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3704 if test -n "$ac_ct_CC"; then
3705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3713 test -n "$ac_ct_CC" && break
3721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
3730 if test -z "$CC"; then
3731 if test -n "$ac_tool_prefix"; then
3734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3740 if test -n "$CC"; then
3755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3765 if test -n "$CC"; then
3766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 if test -z "$ac_cv_prog_CC"; then
3779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3785 if test -n "$ac_ct_CC"; then
3800 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3810 if test -n "$ac_ct_CC"; then
3811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
3836 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3842 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3845 for ac_option in --version -v -V -qversion -version; do
3851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3855 if test -s conftest.err; then
3861 rm -f conftest.er1 conftest.err
3862 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3879 # Try to create an executable without -o first, disregard a.out.
3882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3884 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3897 rm -f $ac_rmfiles
3904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3908 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3911 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3914 # so that the user can short-circuit this test for compilers unknown to
3918 test -f "$ac_file" || continue
3932 # safe: cross compilers may not add the suffix if given an `-o'
3946 if test -z "$ac_file"
3948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3953 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3967 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3988 test -f "$ac_file" || continue
3997 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4002 rm -f conftest conftest$ac_cv_exeext
4003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4006 rm -f conftest.$ac_ext
4009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4037 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4048 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4055 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4058 If you meant to cross compile, use \`--host'.
4063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4066 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4085 rm -f conftest.o conftest.obj
4091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4095 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4099 test -f "$ac_file" || continue;
4110 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4115 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4163 printf %s "checking whether $CC accepts -g... " >&6; }
4171 CFLAGS="-g"
4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4204 CFLAGS="-g"
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4220 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4222 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4224 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4233 CFLAGS="-g -O2"
4235 CFLAGS="-g"
4239 CFLAGS="-O2"
4247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4259 for ac_arg in '' -std=gnu11
4266 rm -f core conftest.err conftest.$ac_objext conftest.beam
4269 rm -f conftest.$ac_ext
4275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4312 rm -f core conftest.err conftest.$ac_objext conftest.beam
4315 rm -f conftest.$ac_ext
4321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4351 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS_…
4358 rm -f core conftest.err conftest.$ac_objext conftest.beam
4361 rm -f conftest.$ac_ext
4367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4426 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__…
4432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4451 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4456 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
4465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4502 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
4579 if uname -s 2>&1 | grep MINGW >/dev/null; then on_mingw="yes"
4600 # Check whether --with-conf_file was given.
4607 hdr_config="`echo $ub_conf_file | sed -e 's/\\\\/\\\\\\\\/g'`"
4612 ub_conf_dir=`$as_dirname -- "$ub_conf_file" ||
4639 # Check whether --with-run-dir was given.
4653 hdr_run="`echo $UNBOUND_RUN_DIR | sed -e 's/\\\\/\\\\\\\\/g'`"
4660 # Check whether --with-chroot-dir was given.
4674 hdr_chroot="`echo $UNBOUND_CHROOT_DIR | sed -e 's/\\\\/\\\\\\\\/g'`"
4681 # Check whether --with-share-dir was given.
4695 # Check whether --with-pidfile was given.
4709 hdr_pid="`echo $UNBOUND_PIDFILE | sed -e 's/\\\\/\\\\\\\\/g'`"
4716 # Check whether --with-rootkey-file was given.
4730 hdr_rkey="`echo $UNBOUND_ROOTKEY_FILE | sed -e 's/\\\\/\\\\\\\\/g'`"
4737 # Check whether --with-rootcert-file was given.
4751 hdr_rpem="`echo $UNBOUND_ROOTCERT_FILE | sed -e 's/\\\\/\\\\\\\\/g'`"
4758 # Check whether --with-username was given.
4774 …-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]*…
4780 # Check for 'grep -e' program, here, since ACX_CHECK_FLTO needs that.
4781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4782 printf %s "checking for grep that handles long lines and -e... " >&6; }
4787 if test -z "$GREP"; then
4789 # Loop through the user's path and test for each of PROGNAME-LIST
4806 case `"$ac_path_GREP" --version 2>&1` in
4818 …"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || br…
4821 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4827 test $ac_count -gt 10 && break
4829 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4837 if test -z "$ac_cv_path_GREP"; then
4845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4853 printf %s "checking for an ANSI C-conforming const... " >&6; }
4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4877 an arm of an if-expression whose if-part is not a constant
4880 pcpcc = &g + (g ? g-g : 0);
4893 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4898 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4904 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4906 struct s *b = &bx; b->j = 5;
4908 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4925 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4941 # allow user to override the -g -O2 flags.
4946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -g" >&5
4947 printf %s "checking whether $CC supports -g... " >&6; }
4948 cache=`echo g | sed 'y%.=/+-%___p_%'`
4955 if test -z "`$CC $CPPFLAGS $CFLAGS -g -c conftest.c 2>&1`"; then
4960 rm -f conftest conftest.o conftest.c
4965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4968 CFLAGS="$CFLAGS -g"
4970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -O2" >&5
4979 printf %s "checking whether $CC supports -O2... " >&6; }
4980 cache=`echo O2 | sed 'y%.=/+-%___p_%'`
4987 if test -z "`$CC $CPPFLAGS $CFLAGS -O2 -c conftest.c 2>&1`"; then
4992 rm -f conftest conftest.o conftest.c
4997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5000 CFLAGS="$CFLAGS -O2"
5002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5015 if test -n "$ac_tool_prefix"; then
5018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5024 if test -n "$CC"; then
5039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5049 if test -n "$CC"; then
5050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5059 if test -z "$ac_cv_prog_CC"; then
5063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5069 if test -n "$ac_ct_CC"; then
5084 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5094 if test -n "$ac_ct_CC"; then
5095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
5117 if test -z "$CC"; then
5118 if test -n "$ac_tool_prefix"; then
5121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127 if test -n "$CC"; then
5142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5152 if test -n "$CC"; then
5153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5163 if test -z "$CC"; then
5166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5172 if test -n "$CC"; then
5192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5214 if test -n "$CC"; then
5215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5224 if test -z "$CC"; then
5225 if test -n "$ac_tool_prefix"; then
5230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5236 if test -n "$CC"; then
5251 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5261 if test -n "$CC"; then
5262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 test -n "$CC" && break
5273 if test -z "$CC"; then
5279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5285 if test -n "$ac_ct_CC"; then
5300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5310 if test -n "$ac_ct_CC"; then
5311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5319 test -n "$ac_ct_CC" && break
5327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
5336 if test -z "$CC"; then
5337 if test -n "$ac_tool_prefix"; then
5340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5346 if test -n "$CC"; then
5361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5371 if test -n "$CC"; then
5372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381 if test -z "$ac_cv_prog_CC"; then
5385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5391 if test -n "$ac_ct_CC"; then
5406 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5416 if test -n "$ac_ct_CC"; then
5417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
5442 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5451 for ac_option in --version -v -V -qversion -version; do
5457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5461 if test -s conftest.err; then
5467 rm -f conftest.er1 conftest.err
5468 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5498 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5514 printf %s "checking whether $CC accepts -g... " >&6; }
5522 CFLAGS="-g"
5523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5555 CFLAGS="-g"
5556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5571 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5573 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5575 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5584 CFLAGS="-g -O2"
5586 CFLAGS="-g"
5590 CFLAGS="-O2"
5598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5610 for ac_arg in '' -std=gnu11
5617 rm -f core conftest.err conftest.$ac_objext conftest.beam
5620 rm -f conftest.$ac_ext
5626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5656 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5663 rm -f core conftest.err conftest.$ac_objext conftest.beam
5666 rm -f conftest.$ac_ext
5672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5702 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS_…
5709 rm -f core conftest.err conftest.$ac_objext conftest.beam
5712 rm -f conftest.$ac_ext
5718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking $CC dependency flag" >&5
5745 if test "`$CC -MM conftest.c 2>&1`" = "conftest.o: conftest.c"; then
5746 DEPFLAG="-MM"
5748 if test "`$CC -xM1 conftest.c 2>&1`" = "conftest.o: conftest.c"; then
5749 DEPFLAG="-xM1"
5751 DEPFLAG="-MM" # dunno do something
5754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DEPFLAG" >&5
5756 rm -f conftest.c
5762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
5763 printf %s "checking whether $CC supports -Werror... " >&6; }
5764 cache=`echo Werror | sed 'y%.=/+-%___p_%'`
5771 if test -z "`$CC $CPPFLAGS $CFLAGS -Werror -c conftest.c 2>&1`"; then
5776 rm -f conftest conftest.o conftest.c
5781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5784 ERRFLAG="-Werror"
5786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5789 ERRFLAG="-errwarn"
5794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wall" >&5
5795 printf %s "checking whether $CC supports -Wall... " >&6; }
5796 cache=`echo Wall | sed 'y%.=/+-%___p_%'`
5803 if test -z "`$CC $CPPFLAGS $CFLAGS -Wall -c conftest.c 2>&1`"; then
5808 rm -f conftest conftest.o conftest.c
5813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5816 ERRFLAG="$ERRFLAG -Wall"
5818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5821 ERRFLAG="$ERRFLAG -errfmt"
5828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -std=c99" >&5
5829 printf %s "checking whether $CC supports -std=c99... " >&6; }
5830 cache=`echo std=c99 | sed 'y%.=/+-%___p_%'`
5837 if test -z "`$CC $CPPFLAGS $CFLAGS -std=c99 -c conftest.c 2>&1`"; then
5842 rm -f conftest conftest.o conftest.c
5847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5850 C99FLAG="-std=c99"
5852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -xc99" >&5
5861 printf %s "checking whether $CC supports -xc99... " >&6; }
5862 cache=`echo xc99 | sed 'y%.=/+-%___p_%'`
5869 if test -z "`$CC $CPPFLAGS $CFLAGS -xc99 -c conftest.c 2>&1`"; then
5874 rm -f conftest conftest.o conftest.c
5879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5882 C99FLAG="-xc99"
5884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5910 …-$LINENO}: checking whether we need $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_P…
5911 … need $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_…
5912 …s\n" "$C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_…
5954 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
5958 …-z "`$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SO…
5964 …LAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 …
5965 …LAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 …
5970 rm -f conftest conftest.c conftest.o
5975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5978 …FLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_…
5981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5985 …LAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 …
5986 …LAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 …
5991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6002 …lineno-$LINENO}: checking whether we need $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURC…
6003 …ing whether we need $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=20…
6004 …che=`printf "%s\n" "$C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=20…
6046 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
6050 …-z "`$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SO…
6056 …$CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPE…
6057 …$CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPE…
6062 rm -f conftest conftest.c conftest.o
6067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6070 CFLAGS="$CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 …
6073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6077 …$CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPE…
6078 …$CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPE…
6083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need $C99FLAG as a flag for $CC" …
6111 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
6115 if test -z "`$CC $CPPFLAGS $CFLAGS $C99FLAG $ERRFLAG -c conftest.c 2>&1`"; then
6121 #echo "$CC $CPPFLAGS $CFLAGS $C99FLAG $ERRFLAG -c conftest.c 2>&1"
6122 #echo `$CC $CPPFLAGS $CFLAGS $C99FLAG $ERRFLAG -c conftest.c 2>&1`
6127 rm -f conftest conftest.c conftest.o
6132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6142 #echo "$CC $CPPFLAGS $CFLAGS $C99FLAG $ERRFLAG -c conftest.c 2>&1"
6143 #echo `$CC $CPPFLAGS $CFLAGS $C99FLAG $ERRFLAG -c conftest.c 2>&1`
6148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need -D_BSD_SOURCE -D_DEFAULT_SOU…
6160 printf %s "checking whether we need -D_BSD_SOURCE -D_DEFAULT_SOURCE as a flag for $CC... " >&6; }
6177 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
6181 if test -z "`$CC $CPPFLAGS $CFLAGS -D_BSD_SOURCE -D_DEFAULT_SOURCE $ERRFLAG -c conftest.c 2>&1`"; t…
6187 #echo "$CC $CPPFLAGS $CFLAGS -D_BSD_SOURCE -D_DEFAULT_SOURCE $ERRFLAG -c conftest.c 2>&1"
6188 #echo `$CC $CPPFLAGS $CFLAGS -D_BSD_SOURCE -D_DEFAULT_SOURCE $ERRFLAG -c conftest.c 2>&1`
6193 rm -f conftest conftest.c conftest.o
6198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6201 CFLAGS="$CFLAGS -D_BSD_SOURCE -D_DEFAULT_SOURCE"
6204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6208 #echo "$CC $CPPFLAGS $CFLAGS -D_BSD_SOURCE -D_DEFAULT_SOURCE $ERRFLAG -c conftest.c 2>&1"
6209 #echo `$CC $CPPFLAGS $CFLAGS -D_BSD_SOURCE -D_DEFAULT_SOURCE $ERRFLAG -c conftest.c 2>&1`
6214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need -D_GNU_SOURCE as a flag for …
6226 printf %s "checking whether we need -D_GNU_SOURCE as a flag for $CC... " >&6; }
6243 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
6247 if test -z "`$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE $ERRFLAG -c conftest.c 2>&1`"; then
6253 #echo "$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE $ERRFLAG -c conftest.c 2>&1"
6254 #echo `$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE $ERRFLAG -c conftest.c 2>&1`
6259 rm -f conftest conftest.c conftest.o
6264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6267 CFLAGS="$CFLAGS -D_GNU_SOURCE"
6270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6274 #echo "$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE $ERRFLAG -c conftest.c 2>&1"
6275 #echo `$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE $ERRFLAG -c conftest.c 2>&1`
6280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6289 # is not available at all. -D_FRSRESGID is to make this check unique.
6294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need -D_GNU_SOURCE -D_FRSRESGID a…
6295 printf %s "checking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for $CC... " >&6; }
6312 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
6316 if test -z "`$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE -D_FRSRESGID $ERRFLAG -c conftest.c 2>&1`"; then
6322 #echo "$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE -D_FRSRESGID $ERRFLAG -c conftest.c 2>&1"
6323 #echo `$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE -D_FRSRESGID $ERRFLAG -c conftest.c 2>&1`
6328 rm -f conftest conftest.c conftest.o
6333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6336 CFLAGS="$CFLAGS -D_GNU_SOURCE"
6339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6343 #echo "$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE -D_FRSRESGID $ERRFLAG -c conftest.c 2>&1"
6344 #echo `$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE -D_FRSRESGID $ERRFLAG -c conftest.c 2>&1`
6349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need -D_POSIX_C_SOURCE=200112 as …
6361 printf %s "checking whether we need -D_POSIX_C_SOURCE=200112 as a flag for $CC... " >&6; }
6389 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
6393 if test -z "`$CC $CPPFLAGS $CFLAGS -D_POSIX_C_SOURCE=200112 $ERRFLAG -c conftest.c 2>&1`"; then
6399 #echo "$CC $CPPFLAGS $CFLAGS -D_POSIX_C_SOURCE=200112 $ERRFLAG -c conftest.c 2>&1"
6400 #echo `$CC $CPPFLAGS $CFLAGS -D_POSIX_C_SOURCE=200112 $ERRFLAG -c conftest.c 2>&1`
6405 rm -f conftest conftest.c conftest.o
6410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6413 CFLAGS="$CFLAGS -D_POSIX_C_SOURCE=200112"
6416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6420 #echo "$CC $CPPFLAGS $CFLAGS -D_POSIX_C_SOURCE=200112 $ERRFLAG -c conftest.c 2>&1"
6421 #echo `$CC $CPPFLAGS $CFLAGS -D_POSIX_C_SOURCE=200112 $ERRFLAG -c conftest.c 2>&1`
6426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need -D__EXTENSIONS__ as a flag f…
6438 printf %s "checking whether we need -D__EXTENSIONS__ as a flag for $CC... " >&6; }
6472 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
6476 if test -z "`$CC $CPPFLAGS $CFLAGS -D__EXTENSIONS__ $ERRFLAG -c conftest.c 2>&1`"; then
6482 #echo "$CC $CPPFLAGS $CFLAGS -D__EXTENSIONS__ $ERRFLAG -c conftest.c 2>&1"
6483 #echo `$CC $CPPFLAGS $CFLAGS -D__EXTENSIONS__ $ERRFLAG -c conftest.c 2>&1`
6488 rm -f conftest conftest.c conftest.o
6493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6496 CFLAGS="$CFLAGS -D__EXTENSIONS__"
6499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6503 #echo "$CC $CPPFLAGS $CFLAGS -D__EXTENSIONS__ $ERRFLAG -c conftest.c 2>&1"
6504 #echo `$CC $CPPFLAGS $CFLAGS -D__EXTENSIONS__ $ERRFLAG -c conftest.c 2>&1`
6509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6520 # Check whether --enable-checking was given.
6526 # Check whether --enable-debug was given.
6539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -W" >&5
6540 printf %s "checking whether $CC supports -W... " >&6; }
6541 cache=`echo W | sed 'y%.=/+-%___p_%'`
6548 if test -z "`$CC $CPPFLAGS $CFLAGS -W -c conftest.c 2>&1`"; then
6553 rm -f conftest conftest.o conftest.c
6558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6561 CFLAGS="$CFLAGS -W"
6563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wall" >&5
6572 printf %s "checking whether $CC supports -Wall... " >&6; }
6573 cache=`echo Wall | sed 'y%.=/+-%___p_%'`
6580 if test -z "`$CC $CPPFLAGS $CFLAGS -Wall -c conftest.c 2>&1`"; then
6585 rm -f conftest conftest.o conftest.c
6590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6593 CFLAGS="$CFLAGS -Wall"
6595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wextra" >&5
6604 printf %s "checking whether $CC supports -Wextra... " >&6; }
6605 cache=`echo Wextra | sed 'y%.=/+-%___p_%'`
6612 if test -z "`$CC $CPPFLAGS $CFLAGS -Wextra -c conftest.c 2>&1`"; then
6617 rm -f conftest conftest.o conftest.c
6622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6625 CFLAGS="$CFLAGS -Wextra"
6627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-sta…
6636 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
6637 cache=`echo Wdeclaration-after-statement | sed 'y%.=/+-%___p_%'`
6644 if test -z "`$CC $CPPFLAGS $CFLAGS -Wdeclaration-after-statement -c conftest.c 2>&1`"; then
6649 rm -f conftest conftest.o conftest.c
6654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6657 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
6659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6678 # Check whether --enable-flto was given.
6687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -flto" >&5
6688 printf %s "checking if $CC supports -flto... " >&6; }
6690 CFLAGS="$CFLAGS -flto"
6691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6705 …if $CC $CFLAGS -o conftest conftest.c 2>&1 | $GREP -e "warning: no debug symbols in executable" -e…
6707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6713 rm -f conftest conftest.c conftest.o
6716 CFLAGS="$BAKCFLAGS" ; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6725 # Check whether --enable-pie was given.
6734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports PIE" >&5
6738 LDFLAGS="$LDFLAGS -pie"
6739 CFLAGS="$CFLAGS -fPIE"
6740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6754 …if $CC $CFLAGS $LDFLAGS -o conftest conftest.c 2>&1 | grep "warning: no debug symbols in executabl…
6756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6762 rm -f conftest conftest.c conftest.o
6765 …LDFLAGS="$BAKLDFLAGS" ; CFLAGS="$BAKCFLAGS" ; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result…
6768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6774 # Check whether --enable-relro_now was given.
6783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wl,-z,relro,-z,now" >&5
6784 printf %s "checking if $CC supports -Wl,-z,relro,-z,now... " >&6; }
6786 LDFLAGS="$LDFLAGS -Wl,-z,relro,-z,now"
6787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6801 …if $CC $CFLAGS $LDFLAGS -o conftest conftest.c 2>&1 | grep "warning: no debug symbols in executabl…
6803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6809 rm -f conftest conftest.c conftest.o
6812 LDFLAGS="$BAKLDFLAGS" ; { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
6830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
6867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler (${CC-cc}) accepts th…
6868 printf %s "checking whether the C compiler (${CC-cc}) accepts the \"format\" attribute... " >&6; }
6874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_format_attribute" >&5
6910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler (${CC-cc}) accepts th…
6911 printf %s "checking whether the C compiler (${CC-cc}) accepts the \"unused\" attribute... " >&6; }
6917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6938 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_unused_attribute" >&5
6956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler (${CC-cc}) accepts th…
6957 printf %s "checking whether the C compiler (${CC-cc}) accepts the \"weak\" attribute... " >&6; }
6963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6984 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_weak_attribute" >&5
7007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler (${CC-cc}) accepts th…
7008 printf %s "checking whether the C compiler (${CC-cc}) accepts the \"noreturn\" attribute... " >&6; }
7014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7035 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_noreturn_attribute" >&5
7058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler (${CC-cc}) accepts th…
7059 printf %s "checking whether the C compiler (${CC-cc}) accepts the \"fallthrough\" attribute... " >&…
7061 CFLAGS="$CFLAGS -Werror"
7067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7103 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fallthrough_attribute" >&5
7126 CPPFLAGS="$CPPFLAGS -I$srcdir"
7137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7143 if test -n "$LEX"; then
7158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7168 if test -n "$LEX"; then
7169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
7172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7177 test -n "$LEX" && break
7179 test -n "$LEX" || LEX=":"
7218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex output file root" >&5
7231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7237 if test -f lex.yy.c; then
7239 elif test -f lexyy.c; then
7243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
7247 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find output from $LEX; giving up on …
7258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex library" >&5
7267 for ac_cv_lib_lex in 'none needed' -lfl -ll 'not found'; do
7279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
7300 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: required lex library not found; giving up o…
7316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
7323 # default is implementation-dependent. Figure out which it is, since
7326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7336 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
7348 rm -f conftest.l $LEX_OUTPUT_ROOT.c
7351 if test "$LEX" != "" -a "$LEX" != ":"; then
7353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for yylex_destroy" >&5
7355 if echo %% | $LEX -t 2>&1 | grep yylex_destroy >/dev/null 2>&1; then
7359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7361 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7367 if test "$LEX" != "" -a "$LEX" != ":"; then
7369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex %option" >&5
7371 if cat <<EOF | $LEX -t 2>&1 | grep yy_delete_buffer >/dev/null 2>&1; then
7375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7377 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7383 if test "$LEX" = "" -o "$LEX" = ":"; then
7384 if test ! -f util/configlexer.c; then
7388 for ac_prog in 'bison -y' byacc
7392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7398 if test -n "$YACC"; then
7413 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7423 if test -n "$YACC"; then
7424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
7427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7432 test -n "$YACC" && break
7434 test -n "$YACC" || YACC="yacc"
7436 if test "$YACC" = "" -o "$YACC" = ":"; then
7437 if test ! -f util/configparser.c; then
7443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7449 if test -n "$doxygen"; then
7464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7474 if test -n "$doxygen"; then
7475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $doxygen" >&5
7478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7483 if test -n "$ac_tool_prefix"; then
7486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7492 if test -n "$STRIP"; then
7507 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7517 if test -n "$STRIP"; then
7518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7527 if test -z "$ac_cv_prog_STRIP"; then
7531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7537 if test -n "$ac_ct_STRIP"; then
7552 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7562 if test -n "$ac_ct_STRIP"; then
7563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
7592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
7607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
7610 *-*-*) ;;
7614 ac_save_IFS=$IFS; IFS='-'
7624 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
7627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
7641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
7644 *-*-*) ;;
7648 ac_save_IFS=$IFS; IFS='-'
7658 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
7672 if test -z "$libtool"; then
7681 if test -n "$ac_tool_prefix"; then
7684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7718 if test -n "$AR"; then
7719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7728 if test -z "$ac_cv_path_AR"; then
7732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7766 if test -n "$ac_pt_AR"; then
7767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_AR" >&5
7770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
7796 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace …
7821 # double-quoted strings.
7841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7844 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7845 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7846 ECHO='print -r --'
7861 # Invoke $ECHO with all args, space-separated.
7868 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7870 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7871 printf "%s\n" "print -r" >&6; } ;;
7872 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7901 if test -z "$SED"; then
7903 # Loop through the user's path and test for each of PROGNAME-LIST
7920 case `"$ac_path_SED" --version 2>&1` in
7932 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7935 if test $ac_count -gt ${ac_path_SED_max-0}; then
7941 test $ac_count -gt 10 && break
7943 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7951 if test -z "$ac_cv_path_SED"; then
7959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7962 rm -f conftest.sed
7964 test -z "$SED" && SED=sed
7965 Xsed="$SED -e 1s/^X//"
7977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7983 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7984 then ac_cv_path_EGREP="$GREP -E"
7986 if test -z "$EGREP"; then
7988 # Loop through the user's path and test for each of PROGNAME-LIST
8005 case `"$ac_path_EGREP" --version 2>&1` in
8020 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
8026 test $ac_count -gt 10 && break
8028 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8036 if test -z "$ac_cv_path_EGREP"; then
8045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
8050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
8056 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
8057 then ac_cv_path_FGREP="$GREP -F"
8059 if test -z "$FGREP"; then
8061 # Loop through the user's path and test for each of PROGNAME-LIST
8078 case `"$ac_path_FGREP" --version 2>&1` in
8093 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
8099 test $ac_count -gt 10 && break
8101 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8109 if test -z "$ac_cv_path_FGREP"; then
8118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
8123 test -z "$GREP" && GREP=grep
8143 # Check whether --with-gnu-ld was given.
8153 # Check if gcc -print-prog-name=ld gives a path.
8154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
8157 *-*-mingw* | *-*-windows*)
8159 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8161 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
8172 test -z "$LD" && LD=$ac_prog
8184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
8187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
8188 printf %s "checking for non-GNU ld... " >&6; }
8194 if test -z "$LD"; then
8198 test -z "$ac_dir" && ac_dir=.
8199 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8201 # Check to see if the program is GNU ld. I'd rather use --version,
8202 # but apparently some variants of GNU ld only accept -v.
8203 # Break only if it was the GNU/non-GNU ld that we prefer.
8204 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8221 if test -n "$LD"; then
8222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8228 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
8229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
8235 # I'd rather use --version here, but apparently some GNU lds only accept -v.
8236 case `$LD -v 2>&1 </dev/null` in
8245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
8257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" …
8258 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
8263 if test -n "$NM"; then
8268 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
8275 test -z "$ac_dir" && ac_dir=.
8277 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
8278 # Check to see if the nm accepts a BSD-compat flag.
8279 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
8287 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
8289 lt_cv_path_NM="$tmp_nm -B"
8293 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
8295 lt_cv_path_NM="$tmp_nm -p"
8312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
8318 if test -n "$DUMPBIN"; then :
8321 if test -n "$ac_tool_prefix"; then
8322 for ac_prog in dumpbin "link -dump"
8326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8332 if test -n "$DUMPBIN"; then
8347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8357 if test -n "$DUMPBIN"; then
8358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
8361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8366 test -n "$DUMPBIN" && break
8369 if test -z "$DUMPBIN"; then
8371 for ac_prog in dumpbin "link -dump"
8375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8381 if test -n "$ac_ct_DUMPBIN"; then
8396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8406 if test -n "$ac_ct_DUMPBIN"; then
8407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
8410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8415 test -n "$ac_ct_DUMPBIN" && break
8423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
8431 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
8433 DUMPBIN="$DUMPBIN -symbols -headers"
8445 test -z "$NM" && NM=nm
8452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
8471 rm -f conftest*
8473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
8477 printf %s "checking whether ln -s works... " >&6; }
8479 if test "$LN_S" = "ln -s"; then
8480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
8488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments…
8509 # Libtool will interpret -1 as no limit whatsoever
8510 lt_cv_sys_max_cmd_len=-1;
8514 # On Win9x/ME, this test blows up -- it succeeds, but takes
8516 # Worse, since 9x/ME are not pre-emptively multitasking,
8537 if test -x /sbin/sysctl; then
8538 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
8539 elif test -x /usr/sbin/sysctl; then
8540 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
8566 if test -x /sbin/sysconfig; then
8567 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8568 *1*) lt_cv_sys_max_cmd_len=-1 ;;
8577 if test -n "$kargmax"; then
8585 if test -n "$lt_cv_sys_max_cmd_len" && \
8595 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8596 # If test is not a shell built-in, we'll probably end up computing a
8619 if test -n "$lt_cv_sys_max_cmd_len"; then
8620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
8633 : ${CP="cp -f"}
8634 : ${MV="mv -f"}
8635 : ${RM="rm -f"}
8668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host fo…
8675 *-*-mingw* )
8677 *-*-mingw* | *-*-windows* ) # actually msys
8680 *-*-cygwin* )
8688 *-*-cygwin* )
8690 *-*-mingw* | *-*-windows* ) # actually msys
8693 *-*-cygwin* )
8709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchai…
8725 *-*-mingw* | *-*-windows* )
8727 *-*-mingw* | *-*-windows* ) # actually msys
8737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8750 lt_cv_ld_reload_flag='-r'
8752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8759 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8768 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
8770 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8791 if test -n "$FILECMD"; then
8806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8813 test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
8817 if test -n "$FILECMD"; then
8818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
8821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8832 if test -n "$ac_tool_prefix"; then
8835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8841 if test -n "$OBJDUMP"; then
8856 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8866 if test -n "$OBJDUMP"; then
8867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8876 if test -z "$ac_cv_prog_OBJDUMP"; then
8880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8886 if test -n "$ac_ct_OBJDUMP"; then
8901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8911 if test -n "$ac_ct_OBJDUMP"; then
8912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
8934 test -z "$OBJDUMP" && OBJDUMP=objdump
8944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8955 # 'none' -- dependencies not supported.
8956 # 'unknown' -- same as none, but documents that we really don't know.
8957 # 'pass_all' -- all dependencies passed with no checks.
8958 # 'file_magic [[regex]]' -- check by looking for files in library path
8964 aix[4-9]*)
8973 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8974 lt_cv_file_magic_cmd='$FILECMD -L'
8987 # unless we find 'file', for example because we are cross-compiling.
8993 …eplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-…
8994 lt_cv_file_magic_cmd='$OBJDUMP -f'
9000 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
9001 lt_cv_file_magic_cmd='$OBJDUMP -f'
9009 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9014 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand page…
9032 …lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
9036 …heck_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)…
9040 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
9046 interix[3-9]*)
9053 *-32|*"-32 ") libmagic=32-bit;;
9054 *-n32|*"-n32 ") libmagic=N32;;
9055 *-64|*"-64 ") libmagic=64-bit;;
9056 *) libmagic=never-match;;
9062 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9066 *-mlibc)
9070 netbsd* | netbsdelf*-gnu)
9071 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9072 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9079 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
9089 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9090 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
9092 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9119 …_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-…
9127 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
9131 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
9152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
9163 …file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/…
9171 test -z "$deplibs_check_method" && deplibs_check_method=unknown
9194 if test -n "$ac_tool_prefix"; then
9197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9203 if test -n "$DLLTOOL"; then
9218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9228 if test -n "$DLLTOOL"; then
9229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9238 if test -z "$ac_cv_prog_DLLTOOL"; then
9242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9248 if test -n "$ac_ct_DLLTOOL"; then
9263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9273 if test -n "$ac_ct_DLLTOOL"; then
9274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
9296 test -z "$DLLTOOL" && DLLTOOL=dlltool
9307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries"…
9319 case `$DLLTOOL --help 2>&1` in
9320 *--identify-strict*)
9335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
9338 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
9346 if test -n "$ac_tool_prefix"; then
9349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9355 if test -n "$RANLIB"; then
9370 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9380 if test -n "$RANLIB"; then
9381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9390 if test -z "$ac_cv_prog_RANLIB"; then
9394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9400 if test -n "$ac_ct_RANLIB"; then
9415 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9425 if test -n "$ac_ct_RANLIB"; then
9426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
9448 if test -n "$ac_tool_prefix"; then
9453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9459 if test -n "$AR"; then
9474 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9484 if test -n "$AR"; then
9485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
9488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9493 test -n "$AR" && break
9496 if test -z "$AR"; then
9502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9508 if test -n "$ac_ct_AR"; then
9523 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9533 if test -n "$ac_ct_AR"; then
9534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
9537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9542 test -n "$ac_ct_AR" && break
9550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
9571 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
9579 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
9587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
9594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9609 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9612 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9614 if test 0 -eq "$ac_status"; then
9616 rm -f conftest.$ac_objext libconftest.a
9617 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9620 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9622 if test 0 -ne "$ac_status"; then
9626 rm -f conftest.* libconftest.a
9629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
9647 if test -n "$ac_tool_prefix"; then
9650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9656 if test -n "$STRIP"; then
9671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9681 if test -n "$STRIP"; then
9682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9691 if test -z "$ac_cv_prog_STRIP"; then
9695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9701 if test -n "$ac_ct_STRIP"; then
9716 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9726 if test -n "$ac_ct_STRIP"; then
9727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
9730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
9749 test -z "$STRIP" && STRIP=:
9757 test -z "$RANLIB" && RANLIB=:
9764 # Determine commands to create old-style static archives.
9769 if test -n "$RANLIB"; then
9805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9811 if test -n "$AWK"; then
9826 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9836 if test -n "$AWK"; then
9837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
9840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9845 test -n "$AWK" && break
9867 LTCC=${LTCC-"$CC"}
9870 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler o…
9891 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9893 # Define system-specific variables.
9930 case `$NM -V 2>&1` in
9937 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
9939 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
9940 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
9942 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
9943 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
9955 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
9957 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
9958 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
9961 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
9963 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9964 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
9968 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
9970 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9971 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
9972 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
9990 # Fake it for dumpbin and say T for any non-static function,
10010 …lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympa…
10017 rm -f conftest*
10031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10039 …if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$n…
10042 mv -f "$nlist"T "$nlist"
10044 rm -f "$nlist"T
10054 relocations are performed -- see ld's documentation on pseudo-relocs. */
10069 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
10082 …$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> c…
10104 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10108 test $ac_status = 0; } && test -s conftest$ac_exeext; then
10126 rm -rf conftest* conftst*
10138 if test -z "$lt_cv_sys_global_symbol_pipe"; then
10141 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
10145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
10152 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
10192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
10195 # Check whether --with-sysroot was given.
10210 lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
10214 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
10219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
10225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
10226 printf "%s\n" "${lt_sysroot:-no}" >&6; }
10232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
10241 if test -z "$lt_DD"; then
10243 # Loop through the user's path and test for each of PROGNAME-LIST
10259 cmp -s conftest.i conftest.out \
10267 if test -z "$ac_cv_path_lt_DD"; then
10274 rm -f conftest.i conftest2.i conftest.out
10276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
10280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
10290 cmp -s conftest.i conftest.out \
10293 rm -f conftest.i conftest2.i conftest.out
10294 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
10296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
10305 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
10312 \-*) ;;
10316 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10319 # Check whether --enable-libtool-lock was given.
10330 ia64-*-hpux*)
10334 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10340 *ELF-32*)
10343 *ELF-64*)
10348 rm -rf conftest*
10350 *-*-irix6*)
10354 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10361 *32-bit*)
10362 LD="${LD-ld} -melf32bsmip"
10365 LD="${LD-ld} -melf32bmipn32"
10367 *64-bit*)
10368 LD="${LD-ld} -melf64bmip"
10373 *32-bit*)
10374 LD="${LD-ld} -32"
10377 LD="${LD-ld} -n32"
10379 *64-bit*)
10380 LD="${LD-ld} -64"
10385 rm -rf conftest*
10388 mips64*-*linux*)
10392 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10399 *32-bit*)
10402 *64-bit*)
10419 LD="${LD-ld} -m $emul"
10421 rm -rf conftest*
10424 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
10425 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
10429 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
10433 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10439 *32-bit*)
10441 x86_64-*kfreebsd*-gnu)
10442 LD="${LD-ld} -m elf_i386_fbsd"
10444 x86_64-*linux*|x86_64-gnu*)
10446 *x86-64*)
10447 LD="${LD-ld} -m elf32_x86_64"
10450 LD="${LD-ld} -m elf_i386"
10454 powerpc64le-*linux*)
10455 LD="${LD-ld} -m elf32lppclinux"
10457 powerpc64-*linux*)
10458 LD="${LD-ld} -m elf32ppclinux"
10460 s390x-*linux*)
10461 LD="${LD-ld} -m elf_s390"
10463 sparc64-*linux*)
10464 LD="${LD-ld} -m elf32_sparc"
10468 *64-bit*)
10470 x86_64-*kfreebsd*-gnu)
10471 LD="${LD-ld} -m elf_x86_64_fbsd"
10473 x86_64-*linux*|x86_64-gnu*)
10474 LD="${LD-ld} -m elf_x86_64"
10476 powerpcle-*linux*)
10477 LD="${LD-ld} -m elf64lppc"
10479 powerpc-*linux*)
10480 LD="${LD-ld} -m elf64ppc"
10482 s390*-*linux*|s390*-*tpf*)
10483 LD="${LD-ld} -m elf64_s390"
10485 sparc*-*linux*)
10486 LD="${LD-ld} -m elf64_sparc"
10492 rm -rf conftest*
10495 *-*-sco3.2v5*)
10496 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
10498 CFLAGS="$CFLAGS -belf"
10499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
10500 printf %s "checking whether the C compiler needs -belf... " >&6; }
10507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10528 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
10540 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10544 *-*solaris*)
10548 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10551 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10554 *64-bit*)
10558 i?86-*-solaris*|x86_64-*-solaris*)
10559 LD="${LD-ld} -m elf_x86_64"
10561 sparc*-*-solaris*)
10562 LD="${LD-ld} -m elf64_sparc"
10566 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
10567 LD=${LD-ld}_sol2
10571 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
10572 LD="${LD-ld} -64"
10579 rm -rf conftest*
10585 if test -n "$ac_tool_prefix"; then
10588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10594 if test -n "$MANIFEST_TOOL"; then
10609 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10619 if test -n "$MANIFEST_TOOL"; then
10620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
10623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10629 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
10633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10639 if test -n "$ac_ct_MANIFEST_TOOL"; then
10654 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10664 if test -n "$ac_ct_MANIFEST_TOOL"; then
10665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
10668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
10687 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
10688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
10695 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
10696 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
10701 rm -f conftest*
10703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
10716 if test -n "$ac_tool_prefix"; then
10719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10725 if test -n "$DSYMUTIL"; then
10740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10750 if test -n "$DSYMUTIL"; then
10751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
10754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10760 if test -z "$ac_cv_prog_DSYMUTIL"; then
10764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10770 if test -n "$ac_ct_DSYMUTIL"; then
10785 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10795 if test -n "$ac_ct_DSYMUTIL"; then
10796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
10818 if test -n "$ac_tool_prefix"; then
10821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10827 if test -n "$NMEDIT"; then
10842 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10852 if test -n "$NMEDIT"; then
10853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10862 if test -z "$ac_cv_prog_NMEDIT"; then
10866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10872 if test -n "$ac_ct_NMEDIT"; then
10887 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10897 if test -n "$ac_ct_NMEDIT"; then
10898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
10920 if test -n "$ac_tool_prefix"; then
10923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10929 if test -n "$LIPO"; then
10944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10954 if test -n "$LIPO"; then
10955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10964 if test -z "$ac_cv_prog_LIPO"; then
10968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10974 if test -n "$ac_ct_LIPO"; then
10989 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10999 if test -n "$ac_ct_LIPO"; then
11000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
11003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11022 if test -n "$ac_tool_prefix"; then
11025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11031 if test -n "$OTOOL"; then
11046 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11056 if test -n "$OTOOL"; then
11057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
11060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11066 if test -z "$ac_cv_prog_OTOOL"; then
11070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11076 if test -n "$ac_ct_OTOOL"; then
11091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11101 if test -n "$ac_ct_OTOOL"; then
11102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
11105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11124 if test -n "$ac_tool_prefix"; then
11127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11133 if test -n "$OTOOL64"; then
11148 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11158 if test -n "$OTOOL64"; then
11159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
11162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11168 if test -z "$ac_cv_prog_OTOOL64"; then
11172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11178 if test -n "$ac_ct_OTOOL64"; then
11193 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11203 if test -n "$ac_ct_OTOOL64"; then
11204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
11207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
11253 printf %s "checking for -single_module linker flag... " >&6; }
11259 if test -z "$LT_MULTI_MODULE"; then
11260 # By default we will add the -single_module flag. You can override
11262 # non-empty at configure time, or by adding -multi_module to the
11264 rm -rf libconftest.dylib*
11266 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11267 -dynamiclib -Wl,-single_module conftest.c" >&5
11268 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11269 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
11271 # If there is a non-empty error log, and "single_module"
11273 if test -s conftest.err && $GREP single_module conftest.err; then
11277 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
11282 rm -rf libconftest.dylib*
11283 rm -f conftest.*
11286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
11290 # compatible with '-undefined dynamic_lookup'
11291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
11292 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
11298 LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
11299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11317 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
11326 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
11327 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
11335 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
11361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
11362 printf %s "checking for -force_load linker flag... " >&6; }
11371 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
11372 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
11380 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
11381 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
11383 if test -s conftest.err && $GREP force_load conftest.err; then
11385 …elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
11390 rm -f conftest.err libconftest.a conftest conftest.c
11391 rm -rf conftest.dSYM
11394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
11398 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
11400 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
11403 10.[012],*|,*powerpc*-darwin[5-8]*)
11404 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
11406 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
11408 as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
11423 # -single_module is the default and -multi_module is unsupported.
11425 # target any OS version that needs -single_module.
11426 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
11427 10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
11433 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
11435 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
11446 # -----------------------------------
11471 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
11472 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
11504 # Check whether --enable-shared was given.
11507 enableval=$enable_shared; p=${PACKAGE-default}
11536 # Check whether --enable-static was given.
11539 enableval=$enable_static; p=${PACKAGE-default}
11568 # Check whether --enable-pic was given.
11571 enableval=$enable_pic; lt_p=${PACKAGE-default}
11588 # Check whether --with-pic was given.
11591 withval=$with_pic; lt_p=${PACKAGE-default}
11621 # Check whether --enable-fast-install was given.
11624 enableval=$enable_fast_install; p=${PACKAGE-default}
11654 power*-*-aix[5-9]*,yes)
11655 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning …
11657 # Check whether --enable-aix-soname was given.
11664 as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
11669 # Check whether --with-aix-soname was given.
11676 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
11694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
11700 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
11702 if test 64 = "${OBJECT_MODE-32}"; then
11758 test -z "$LN_S" && LN_S="ln -s"
11773 if test -n "${ZSH_VERSION+set}"; then
11777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
11783 rm -f .libs 2>/dev/null
11785 if test -d .libs; then
11788 # MS-DOS does not allow filenames that begin with a dot.
11793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
11832 test -z "$CC" && CC=cc
11833 test -z "$LTCC" && LTCC=$CC
11834 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11835 test -z "$LD" && LD=ld
11836 test -z "$ac_objext" && ac_objext=o
11843 test -z "$MAGIC_CMD" && MAGIC_CMD=file
11847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
11863 test -z "$ac_dir" && ac_dir=.
11864 if test -f "$ac_dir/${ac_tool_prefix}file"; then
11866 if test -n "$file_magic_test_file"; then
11884 *** bug-libtool@gnu.org
11900 if test -n "$MAGIC_CMD"; then
11901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11912 if test -z "$lt_cv_path_MAGIC_CMD"; then
11913 if test -n "$ac_tool_prefix"; then
11914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
11930 test -z "$ac_dir" && ac_dir=.
11931 if test -f "$ac_dir/file"; then
11933 if test -n "$file_magic_test_file"; then
11951 *** bug-libtool@gnu.org
11967 if test -n "$MAGIC_CMD"; then
11968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12015 LTCC=${LTCC-"$CC"}
12018 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12038 $RM -r conftest*
12041 if test -n "$compiler"; then
12048 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
12050 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
12053 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-except…
12054 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
12062 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
12069 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12070 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12071 -e 's:$: $lt_compiler_flag:'`
12077 if (exit $ac_status) && test -s "$ac_outfile"; then
12082 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
12093 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
12111 lt_prog_compiler_wl='-Wl,'
12112 lt_prog_compiler_static='-static'
12119 lt_prog_compiler_static='-Bstatic'
12121 lt_prog_compiler_pic='-fPIC'
12128 lt_prog_compiler_pic='-fPIC'
12132 # adding the '-m68020' flag to GCC prevents building anything better,
12133 # like '-m68040'.
12134 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
12146 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12147 # (--disable-auto-import) libraries
12148 lt_prog_compiler_pic='-DDLL_EXPORT'
12151 lt_prog_compiler_static='$wl-static'
12159 lt_prog_compiler_pic='-fno-common'
12164 # The "-static" flag exists, but is broken.
12169 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12170 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12177 lt_prog_compiler_pic='-fPIC'
12182 interix[3-9]*)
12183 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12195 # QNX uses GNU C++, but need to define -shared option too, otherwise
12197 lt_prog_compiler_pic='-fPIC -shared'
12201 if test -d /usr/nec; then
12202 lt_prog_compiler_pic=-Kconform_pic
12207 lt_prog_compiler_pic='-fPIC'
12213 lt_prog_compiler_wl='-Xlinker '
12214 if test -n "$lt_prog_compiler_pic"; then
12215 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
12223 lt_prog_compiler_wl='-Wl,'
12226 lt_prog_compiler_static='-Bstatic'
12228 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
12235 lt_prog_compiler_pic='-fno-common'
12239 lt_prog_compiler_wl='-Wl,-Wl,,'
12240 lt_prog_compiler_pic='-PIC'
12241 lt_prog_compiler_static='-Bstatic'
12249 lt_prog_compiler_pic='-DDLL_EXPORT'
12252 lt_prog_compiler_static='$wl-static'
12258 lt_prog_compiler_wl='-Wl,'
12259 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12260 # not for PA HP-UX.
12270 lt_prog_compiler_static='$wl-a ${wl}archive'
12274 lt_prog_compiler_wl='-Wl,'
12275 # PIC (with -KPIC) is the default.
12276 lt_prog_compiler_static='-non_shared'
12279 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12281 # old Intel for x86_64, which still supported -KPIC.
12283 lt_prog_compiler_wl='-Wl,'
12284 lt_prog_compiler_pic='-KPIC'
12285 lt_prog_compiler_static='-static'
12289 lt_prog_compiler_wl='-Wl,'
12290 lt_prog_compiler_pic='-fPIC'
12291 lt_prog_compiler_static='-static'
12294 # ICC 10 doesn't accept -KPIC any more.
12296 lt_prog_compiler_wl='-Wl,'
12297 lt_prog_compiler_pic='-fPIC'
12298 lt_prog_compiler_static='-static'
12302 lt_prog_compiler_wl='-Wl,'
12303 lt_prog_compiler_pic='--shared'
12304 lt_prog_compiler_static='--static'
12308 lt_prog_compiler_wl='-Wl,-Wl,,'
12309 lt_prog_compiler_pic='-PIC'
12310 lt_prog_compiler_static='-Bstatic'
12314 lt_prog_compiler_wl='-Wl,'
12315 lt_prog_compiler_pic='-fPIC'
12316 lt_prog_compiler_static='-static'
12321 lt_prog_compiler_wl='-Wl,'
12322 lt_prog_compiler_pic='-fpic'
12323 lt_prog_compiler_static='-Bstatic'
12326 lt_prog_compiler_wl='-Wl,'
12328 lt_prog_compiler_static='-non_shared'
12332 lt_prog_compiler_wl='-Wl,'
12333 lt_prog_compiler_pic='-qpic'
12334 lt_prog_compiler_static='-qstaticlink'
12337 case `$CC -V 2>&1 | $SED 5q` in
12338 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
12340 lt_prog_compiler_pic='-KPIC'
12341 lt_prog_compiler_static='-Bstatic'
12345 lt_prog_compiler_pic='-KPIC'
12346 lt_prog_compiler_static='-Bstatic'
12347 lt_prog_compiler_wl='-Qoption ld '
12351 lt_prog_compiler_pic='-KPIC'
12352 lt_prog_compiler_static='-Bstatic'
12353 lt_prog_compiler_wl='-Wl,'
12356 lt_prog_compiler_wl='-Wl,'
12357 lt_prog_compiler_pic='-fPIC'
12358 lt_prog_compiler_static='-static'
12361 lt_prog_compiler_wl='-Wl,'
12362 lt_prog_compiler_pic='-fpic'
12363 lt_prog_compiler_static='-Bstatic'
12371 lt_prog_compiler_pic='-KPIC'
12372 lt_prog_compiler_static='-Bstatic'
12375 *-mlibc)
12376 lt_prog_compiler_wl='-Wl,'
12377 lt_prog_compiler_pic='-fPIC'
12378 lt_prog_compiler_static='-static'
12382 # QNX uses GNU C++, but need to define -shared option too, otherwise
12384 lt_prog_compiler_pic='-fPIC -shared'
12388 lt_prog_compiler_wl='-Wl,'
12390 lt_prog_compiler_static='-non_shared'
12394 lt_prog_compiler_static='-non_shared'
12401 lt_prog_compiler_pic='-KPIC'
12402 lt_prog_compiler_static='-Bstatic'
12405 lt_prog_compiler_wl='-Qoption ld ';;
12407 lt_prog_compiler_wl='-Wl,';;
12412 lt_prog_compiler_wl='-Qoption ld '
12413 lt_prog_compiler_pic='-PIC'
12414 lt_prog_compiler_static='-Bstatic'
12418 lt_prog_compiler_wl='-Wl,'
12419 lt_prog_compiler_pic='-KPIC'
12420 lt_prog_compiler_static='-Bstatic'
12424 if test -d /usr/nec; then
12425 lt_prog_compiler_pic='-Kconform_pic'
12426 lt_prog_compiler_static='-Bstatic'
12431 lt_prog_compiler_wl='-Wl,'
12432 lt_prog_compiler_pic='-KPIC'
12433 lt_prog_compiler_static='-Bstatic'
12437 lt_prog_compiler_wl='-Wl,'
12442 lt_prog_compiler_pic='-pic'
12443 lt_prog_compiler_static='-Bstatic'
12453 # For platforms that do not support PIC, -DPIC is meaningless:
12458 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
12462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
12477 if test -n "$lt_prog_compiler_pic"; then
12478 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic…
12487 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
12494 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12495 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12496 -e 's:$: $lt_compiler_flag:'`
12502 if (exit $ac_status) && test -s "$ac_outfile"; then
12507 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
12543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag…
12553 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12556 if test -s conftest.err; then
12568 $RM -r conftest*
12572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
12587 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext…
12588 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12594 $RM -r conftest 2>/dev/null
12600 lt_compiler_flag="-o out/conftest2.$ac_objext"
12606 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12607 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12608 -e 's:$: $lt_compiler_flag:'`
12614 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12620 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12628 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12631 $RM -r conftest
12635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12643 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext…
12644 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12650 $RM -r conftest 2>/dev/null
12656 lt_compiler_flag="-o out/conftest2.$ac_objext"
12662 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12663 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12664 -e 's:$: $lt_compiler_flag:'`
12670 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12676 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12684 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12687 $RM -r conftest
12691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12711 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j…
12712 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
12724 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports…
12751 # include_expsyms should be a list of space-separated symbols to be *always*
12794 case `$LD -v 2>&1` in
12796 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12797 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12817 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12818 export_dynamic_flag_spec='$wl--export-dynamic'
12819 # ancient GNU ld didn't support --whole-archive et. al.
12820 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12821 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
12826 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
12828 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12837 aix[3-9]*)
12847 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12858 … archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12862 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12863 hardcode_libdir_flag_spec='-L$libdir'
12870 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12873 # support --undefined. This deserves some investigation. FIXME
12874 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12883 hardcode_libdir_flag_spec='-L$libdir'
12884 export_dynamic_flag_spec='$wl--export-all-symbols'
12888 …export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s…
12889 …psyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
12892 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12893 …rchive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-a…
12894 # If the export-symbols file already is a .def file, use it as
12896 …st DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\…
12902 …CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname …
12909 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12914 hardcode_libdir_flag_spec='-L$libdir'
12923 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
12924 emximp -o $lib $output_objdir/$libname.def'
12931 prefix_cmds="$prefix_cmds -e 1d";
12933 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12935 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
12936 emximp -o $lib $output_objdir/$libname.def'
12937 … old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12942 interix[3-9]*)
12945 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12946 export_dynamic_flag_spec='$wl-E'
12951 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12953 …ds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
12954 …-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
12957 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12959 if test linux-dietlibc = "$host_os"; then
12961 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12964 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12968 tmp_sharedflag='-shared'
12971 …--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
12976 …--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
12977 tmp_addflag=' $pic_flag -Mnomain' ;;
12979 tmp_addflag=' -i_dynamic' ;;
12981 tmp_addflag=' -i_dynamic -nofor_main' ;;
12983 tmp_addflag=' -nofor_main' ;;
12986 tmp_sharedflag='--shared' ;;
12988 tmp_sharedflag='-Wl,-shared' ;;
12990 tmp_sharedflag='-qmkshrobj'
12993 …--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
12997 case `$CC -V 2>&1 | $SED 5q` in
12999 …--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conven…
13001 tmp_sharedflag='-G' ;;
13003 tmp_sharedflag='-G' ;;
13005 … '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13009 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13011 …g"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$…
13016 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13017 export_dynamic_flag_spec='-rdynamic'
13021 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
13022 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13023 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
13026 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13028 …$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libnam…
13037 *-mlibc)
13038 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
13039 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
13042 netbsd* | netbsdelf*-gnu)
13043 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13044 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13047 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
13048 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
13053 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
13065 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13066 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
13067 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
13074 case `$LD -v 2>&1` in
13075 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13093 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13094 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13095 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13096 …hive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-s…
13105 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13112 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13113 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
13114 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
13133 …archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_sym…
13135 # are no directories specified by -L.
13137 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
13144 aix[4-9]*)
13149 exp_sym_flag='-Bexport'
13152 # If we're using GNU nm, then we don't want the "-C" option.
13153 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
13154 # Without the "-l" option, or with the "-B" option, AIX nm treats
13158 # it in the Import File for the 'aix-soname' feature, so we have
13159 # to replace the "-B" option with "-P" for AIX nm.
13160 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13161 …-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
13163 …-e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ …
13168 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13171 # depending on the kind of the shared library created -
13182 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13184 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
13190 # With aix-soname=svr4, we create the lib.so.V shared archives only,
13194 LDFLAGS="$LDFLAGS -Wl,-brtl"
13199 exp_sym_flag='-bexport'
13200 no_entry_flag='-bnoentry'
13205 # or program results in "error TOC overflow" add -mminimal-toc to
13207 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13214 file_list_spec='$wl-f,'
13228 collect2name=`$CC -print-prog-name=collect2`
13229 if test -f "$collect2name" &&
13241 hardcode_libdir_flag_spec='-L$libdir'
13246 shared_flag='-shared'
13248 shared_flag="$shared_flag "'$wl-G'
13252 # /with/ Import File - we do not want to mix them.
13253 shared_flag_aix='-shared'
13254 shared_flag_svr4='-shared $wl-G'
13258 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13259 # chokes on -Wl,-G. The following line is correct:
13260 shared_flag='-G'
13263 shared_flag='$wl-G'
13265 shared_flag='$wl-bM:SRE'
13267 shared_flag_aix='$wl-bM:SRE'
13268 shared_flag_svr4='$wl-G'
13272 export_dynamic_flag_spec='$wl-bexpall'
13273 # It seems that -bexpall does not export symbols beginning with
13277 # Warning - without using the other runtime loading flags (-brtl),
13278 # -berok will link without error, but may produce a broken library.
13279 allow_undefined_flag='-berok'
13289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13310 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13311 # Check for a 64-bit object if we didn't find anything.
13312 if test -z "$lt_cv_aix_libpath_"; then
13313 … lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13318 if test -z "$lt_cv_aix_libpath_"; then
13327 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
13328 …archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler…
13331 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
13332 allow_undefined_flag="-z nodefs"
13333 …archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_ent…
13344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13365 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13366 # Check for a 64-bit object if we didn't find anything.
13367 if test -z "$lt_cv_aix_libpath_"; then
13368 … lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13373 if test -z "$lt_cv_aix_libpath_"; then
13382 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
13383 # Warning - without using the other run time loading flags,
13384 # -berok will link without error, but may produce a broken library.
13385 no_undefined_flag=' $wl-bernotok'
13386 allow_undefined_flag=' $wl-berok'
13388 # We only use this code for GNU lds that support --whole-archive.
13389 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
13395 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
13396 # -brtl affects multiple linker settings, -berok does not and is overridden later
13397 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%…
13400 …s"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
13403 …-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
13405 # used by -dlpreopen to get the symbols
13408 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
13417 … archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13421 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
13422 hardcode_libdir_flag_spec='-L$libdir'
13429 export_dynamic_flag_spec=-rdynamic
13449 …archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$t…
13450 …st DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\…
13454 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13456 …$CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
13462 …objs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' …
13474 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13475 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
13488 …archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'…
13492 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
13506 …ag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenienc…
13519 …archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flag…
13520 …module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt…
13521 …\$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobj…
13522 …e_expsym_cmds="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC…
13531 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13532 hardcode_libdir_flag_spec='-L$libdir'
13541 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13542 hardcode_libdir_flag_spec='-R$libdir'
13549 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13555 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13557 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13558 hardcode_libdir_flag_spec='-R$libdir'
13565 …archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output…
13567 …archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libo…
13576 export_dynamic_flag_spec='$wl-E'
13581 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $de…
13583 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13590 export_dynamic_flag_spec='$wl-E'
13601 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13604 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs …
13607 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $de…
13613 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13616 …archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13620 # Older versions of the 11.00 compiler do not understand -b yet
13621 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
13622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
13623 printf %s "checking if $CC understands -b... " >&6; }
13630 LDFLAGS="$LDFLAGS -b"
13632 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13635 if test -s conftest.err; then
13647 $RM -r conftest*
13651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
13655 …archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler…
13657 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13675 export_dynamic_flag_spec='$wl-E'
13687 …-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
13688 # Try to use the -exported_symbol ld option, if it does not
13689 # work, assume that -exports_file does not work either and
13691 # This should be the same for all languages, so no per-tag cache variable.
13692 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -export…
13693 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
13699 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
13700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13710 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
13717 …-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
13720 …-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "…
13721 …-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "…
13724 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13735 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13736 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13741 *-mlibc)
13744 netbsd* | netbsdelf*-gnu)
13745 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13746 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13748 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13750 hardcode_libdir_flag_spec='-R$libdir'
13756 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13758 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13767 if test -f /usr/libexec/ld.so; then
13771 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13772 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13773 …archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-sy…
13774 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13775 export_dynamic_flag_spec='$wl-E'
13777 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13778 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13786 hardcode_libdir_flag_spec='-L$libdir'
13795 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
13796 emximp -o $lib $output_objdir/$libname.def'
13803 prefix_cmds="$prefix_cmds -e 1d";
13805 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13807 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
13808 emximp -o $lib $output_objdir/$libname.def'
13809 … old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13816 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13817 …-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$ve…
13819 allow_undefined_flag=' -expect_unresolved \*'
13820 …-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstrin…
13823 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13827 osf4* | osf5*) # as osf3* with the addition of -msym flag
13829 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13830 …-shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$s…
13831 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13833 allow_undefined_flag=' -expect_unresolved \*'
13834 …-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$ve…
13835 …in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%…
13836 …-shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $sona…
13838 # Both c and cxx compiler support -rpath directly
13839 hardcode_libdir_flag_spec='-rpath $libdir'
13849 no_undefined_flag=' -z defs'
13852 …archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $co…
13853 …archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
13854 …$CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs…
13856 case `$CC -V 2>&1` in
13859 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
13860 …archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
13861 …$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $li…
13865 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13866 …archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
13867 …$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $…
13871 hardcode_libdir_flag_spec='-R$libdir'
13874 solaris2.[0-5] | solaris2.[0-5].*) ;;
13877 # but understands '-z linker_flag'. GCC discards it without '$wl',
13881 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
13883 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
13894 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13896 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13898 hardcode_libdir_flag_spec='-L$libdir'
13907 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13913 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13914 reload_cmds='$CC -r -o $output$reload_objs'
13918 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13927 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13929 export_dynamic_flag_spec='-Bexport'
13933 if test -d /usr/nec; then
13934 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13943 no_undefined_flag='$wl-z,text'
13949 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13950 …archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $depli…
13952 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13953 …archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $c…
13958 # Note: We CANNOT use -z defs as we might desire, because we do not
13959 # link with -lc, and that would cause any symbols used from libc to
13961 # ever link correctly. If we're not using GNU ld we use -z text
13962 # though, which does catch some bad symbols but isn't as heavy-handed
13963 # as -z defs.
13964 no_undefined_flag='$wl-z,text'
13965 allow_undefined_flag='$wl-z,nodefs'
13968 hardcode_libdir_flag_spec='$wl-R,$libdir'
13971 export_dynamic_flag_spec='$wl-Bexport'
13975 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13976 …archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $depli…
13978 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13979 …archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $c…
13984 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13985 hardcode_libdir_flag_spec='-L$libdir'
13997 export_dynamic_flag_spec='$wl-Blargedynsym'
14003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
14028 # Assume -lc should be added
14034 # FIXME: we may have to deal with multi-command sequences.
14037 # Test whether the compiler implicitly links with -lc since on some
14038 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14039 # to ld, don't add -lc before -lgcc.
14040 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in"…
14041 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
14049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14060 compiler_flags=-v
14061 linker_flags=-v
14067 …if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/d…
14068 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14070 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
14244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14253 mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
14256 …lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_s…
14260 # otherwise default to the standard path separator (i.e. ":") - it is
14272 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
14274 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
14281 if test -d "$lt_sys_path$lt_multi_os_dir"; then
14283 elif test -n "$lt_multi_os_dir"; then
14284 test -d "$lt_sys_path" && \
14292 for (lt_i = NF; lt_i > 0; lt_i--) {
14300 lt_count--;
14312 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
14334 # when you set need_version to no, make sure it does not cause -set_version
14350 aix[4-9]*)
14369 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
14377 # filename-based versioning of shared library archives on AIX. While
14379 # prevent static linking of such archives. So we do filename-based
14384 # versioned .so libs for executables only if there is the -brtl
14385 # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
14386 # To allow for filename-based versioning support, we need to create
14396 # but for link time we create the symlink libNAME.so -> libNAME.so.V
14426 …-n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$…
14436 …-z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z …
14437 …postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_librar…
14448 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14476 # libtool to hard-code these into programs
14495 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
14499 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14504 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
14506 test -d \$dldir || mkdir -p \$dldir~
14509 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14513 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14521 …soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffi…
14527 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14531 …library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$ve…
14540 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14557 …path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g…
14563 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14564 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14565 …sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEP…
14569 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14571 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14573 … sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14576 # common. (e.g. "Program Files" -> "PROGRA~1")
14582 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
14584 test -d \$dldir || mkdir -p \$dldir~
14586 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14595 …library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.li…
14630 if test -x /usr/bin/objformat; then
14638 version_type=freebsd-$objformat
14640 freebsd-elf*)
14646 freebsd-*)
14653 # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
14655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14657 int test_pointer_size[sizeof (void *) - 5];
14666 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14680 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14681 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14701 sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
14702 …sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/…
14749 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14755 interix[3-9]*)
14787 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14788 libsuff= shlibsuff= libmagic=32-bit;;
14789 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14791 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14792 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14793 *) libsuff= shlibsuff= libmagic=never-match;;
14825 # -rpath works at least for libraries that are not overridden by
14827 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14831 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14837 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14864 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
14869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14883 # Add ABI-specific directories to the system library path.
14889 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
14890 # even though it is searched at run-time. Try to do the best guess by
14892 if test -f /etc/ld.so.conf; then
14893 …; skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwc…
14900 # most powerpc-linux boxes support dynamic linking these days and
14901 # people can always --disable-shared, the test was removed, and we
14906 netbsdelf*-gnu)
14922 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14924 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14936 *-mlibc)
14971 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
14977 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14989 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
14990 v=$($ECHO $release$versuffix | tr -d .-);
14991 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
14999 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
15001 test -d \$dldir || mkdir -p \$dldir~
15004 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15007 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
15087 if test -d /usr/nec; then
15118 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15149 lt_prog_compiler_wl='-Wl,'
15150 lt_prog_compiler_static='-static'
15157 lt_prog_compiler_static='-Bstatic'
15159 lt_prog_compiler_pic='-fPIC'
15166 lt_prog_compiler_pic='-fPIC'
15170 # adding the '-m68020' flag to GCC prevents building anything better,
15171 # like '-m68040'.
15172 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
15184 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15185 # (--disable-auto-import) libraries
15186 lt_prog_compiler_pic='-DDLL_EXPORT'
15189 lt_prog_compiler_static='$wl-static'
15197 lt_prog_compiler_pic='-fno-common'
15202 # The "-static" flag exists, but is broken.
15207 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15208 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15215 lt_prog_compiler_pic='-fPIC'
15220 interix[3-9]*)
15221 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15233 # QNX uses GNU C++, but need to define -shared option too, otherwise
15235 lt_prog_compiler_pic='-fPIC -shared'
15239 if test -d /usr/nec; then
15240 lt_prog_compiler_pic=-Kconform_pic
15245 lt_prog_compiler_pic='-fPIC'
15251 lt_prog_compiler_wl='-Xlinker '
15252 if test -n "$lt_prog_compiler_pic"; then
15253 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
15261 lt_prog_compiler_wl='-Wl,'
15264 lt_prog_compiler_static='-Bstatic'
15266 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
15273 lt_prog_compiler_pic='-fno-common'
15277 lt_prog_compiler_wl='-Wl,-Wl,,'
15278 lt_prog_compiler_pic='-PIC'
15279 lt_prog_compiler_static='-Bstatic'
15287 lt_prog_compiler_pic='-DDLL_EXPORT'
15290 lt_prog_compiler_static='$wl-static'
15296 lt_prog_compiler_wl='-Wl,'
15297 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15298 # not for PA HP-UX.
15308 lt_prog_compiler_static='$wl-a ${wl}archive'
15312 lt_prog_compiler_wl='-Wl,'
15313 # PIC (with -KPIC) is the default.
15314 lt_prog_compiler_static='-non_shared'
15317 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15319 # old Intel for x86_64, which still supported -KPIC.
15321 lt_prog_compiler_wl='-Wl,'
15322 lt_prog_compiler_pic='-KPIC'
15323 lt_prog_compiler_static='-static'
15327 lt_prog_compiler_wl='-Wl,'
15328 lt_prog_compiler_pic='-fPIC'
15329 lt_prog_compiler_static='-static'
15332 # ICC 10 doesn't accept -KPIC any more.
15334 lt_prog_compiler_wl='-Wl,'
15335 lt_prog_compiler_pic='-fPIC'
15336 lt_prog_compiler_static='-static'
15340 lt_prog_compiler_wl='-Wl,'
15341 lt_prog_compiler_pic='--shared'
15342 lt_prog_compiler_static='--static'
15346 lt_prog_compiler_wl='-Wl,-Wl,,'
15347 lt_prog_compiler_pic='-PIC'
15348 lt_prog_compiler_static='-Bstatic'
15352 lt_prog_compiler_wl='-Wl,'
15353 lt_prog_compiler_pic='-fPIC'
15354 lt_prog_compiler_static='-static'
15359 lt_prog_compiler_wl='-Wl,'
15360 lt_prog_compiler_pic='-fpic'
15361 lt_prog_compiler_static='-Bstatic'
15364 lt_prog_compiler_wl='-Wl,'
15366 lt_prog_compiler_static='-non_shared'
15370 lt_prog_compiler_wl='-Wl,'
15371 lt_prog_compiler_pic='-qpic'
15372 lt_prog_compiler_static='-qstaticlink'
15375 case `$CC -V 2>&1 | $SED 5q` in
15376 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
15378 lt_prog_compiler_pic='-KPIC'
15379 lt_prog_compiler_static='-Bstatic'
15383 lt_prog_compiler_pic='-KPIC'
15384 lt_prog_compiler_static='-Bstatic'
15385 lt_prog_compiler_wl='-Qoption ld '
15389 lt_prog_compiler_pic='-KPIC'
15390 lt_prog_compiler_static='-Bstatic'
15391 lt_prog_compiler_wl='-Wl,'
15394 lt_prog_compiler_wl='-Wl,'
15395 lt_prog_compiler_pic='-fPIC'
15396 lt_prog_compiler_static='-static'
15399 lt_prog_compiler_wl='-Wl,'
15400 lt_prog_compiler_pic='-fpic'
15401 lt_prog_compiler_static='-Bstatic'
15409 lt_prog_compiler_pic='-KPIC'
15410 lt_prog_compiler_static='-Bstatic'
15413 *-mlibc)
15414 lt_prog_compiler_wl='-Wl,'
15415 lt_prog_compiler_pic='-fPIC'
15416 lt_prog_compiler_static='-static'
15420 # QNX uses GNU C++, but need to define -shared option too, otherwise
15422 lt_prog_compiler_pic='-fPIC -shared'
15426 lt_prog_compiler_wl='-Wl,'
15428 lt_prog_compiler_static='-non_shared'
15432 lt_prog_compiler_static='-non_shared'
15439 lt_prog_compiler_pic='-KPIC'
15440 lt_prog_compiler_static='-Bstatic'
15443 lt_prog_compiler_wl='-Qoption ld ';;
15445 lt_prog_compiler_wl='-Wl,';;
15450 lt_prog_compiler_wl='-Qoption ld '
15451 lt_prog_compiler_pic='-PIC'
15452 lt_prog_compiler_static='-Bstatic'
15456 lt_prog_compiler_wl='-Wl,'
15457 lt_prog_compiler_pic='-KPIC'
15458 lt_prog_compiler_static='-Bstatic'
15462 if test -d /usr/nec; then
15463 lt_prog_compiler_pic='-Kconform_pic'
15464 lt_prog_compiler_static='-Bstatic'
15469 lt_prog_compiler_wl='-Wl,'
15470 lt_prog_compiler_pic='-KPIC'
15471 lt_prog_compiler_static='-Bstatic'
15475 lt_prog_compiler_wl='-Wl,'
15480 lt_prog_compiler_pic='-pic'
15481 lt_prog_compiler_static='-Bstatic'
15491 # For platforms that do not support PIC, -DPIC is meaningless:
15496 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
15500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
15515 if test -n "$lt_prog_compiler_pic"; then
15516 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic…
15525 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
15532 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15533 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15534 -e 's:$: $lt_compiler_flag:'`
15540 if (exit $ac_status) && test -s "$ac_outfile"; then
15545 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
15575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag…
15585 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15588 if test -s conftest.err; then
15600 $RM -r conftest*
15604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
15615 ='-fPIC'
15616 archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
15617 …symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_fla…
15626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15646 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
15748 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs…
15751 if test -n "$hardcode_libdir_flag_spec" ||
15752 test -n "$runpath_var" ||
15755 # We can hardcode non-existent directories.
15759 # when we should be linking with a yet-to-be-installed one
15773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
15818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15819 printf %s "checking for dlopen in -ldl... " >&6; }
15825 LIBS="-ldl $LIBS"
15826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15855 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
15868 # because TPF is a cross-compiler, and we know how we open DSOs.
15880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
15881 printf %s "checking for shl_load in -ldld... " >&6; }
15887 LIBS="-ldld $LIBS"
15888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
15917 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
15924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15925 printf %s "checking for dlopen in -ldl... " >&6; }
15931 LIBS="-ldl $LIBS"
15932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15953 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15961 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
15963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
15964 printf %s "checking for dlopen in -lsvld... " >&6; }
15970 LIBS="-lsvld $LIBS"
15971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
16000 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
16002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
16003 printf %s "checking for dld_link in -ldld... " >&6; }
16009 LIBS="-ldld $LIBS"
16010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
16039 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
16069 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
16077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
16130 /* When -fvisibility=hidden is used, assume the code has been annotated
16158 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
16161 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16162 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
16175 rm -fr conftest*
16179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
16184 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlo…
16237 /* When -fvisibility=hidden is used, assume the code has been annotated
16265 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
16268 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16269 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
16282 rm -fr conftest*
16286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
16325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
16327 if test -z "$STRIP"; then
16328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16331 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
16332 old_striplib="$STRIP --strip-debug"
16333 striplib="$STRIP --strip-unneeded"
16334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16339 # FIXME - insert some real tests, host_os isn't really good enough
16340 striplib="$STRIP -x"
16341 old_striplib="$STRIP -S"
16342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16346 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
16347 old_striplib="$STRIP --strip-debug"
16348 striplib="$STRIP --strip-unneeded"
16349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
16378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
16381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
16390 if test -n "$RANLIB"; then
16396 aix[4-9]*)
16406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
16409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
16413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
16422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16452 # pkg-config is only needed for these options, do not require it otherwise
16453 if test "$enable_systemd" = "yes" -o "$enable_dnstap" = "yes" -o "$with_pyunbound" = "yes" -o "$wit…
16462 if test -n "$ac_tool_prefix"; then
16463 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16464 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16488 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16499 if test -n "$PKG_CONFIG"; then
16500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16509 if test -z "$ac_cv_path_PKG_CONFIG"; then
16511 # Extract the first word of "pkg-config", so it can be a program name with args.
16512 set dummy pkg-config; ac_word=$2
16513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16536 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16547 if test -n "$ac_pt_PKG_CONFIG"; then
16548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
16571 if test -n "$PKG_CONFIG"; then
16573 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_ve…
16574 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16575 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16584 if test -z "$PKG_CONFIG"; then
16585 as_fn_error $? "pkg-config not found" "$LINENO" 5
16781 # https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Header-Portability.html
16976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
16982 if test -n "$CPP" && test -d "$CPP"; then
16985 if test -z "$CPP"; then
16991 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
16997 # with a fresh cross-compiler works.
16998 # On the NeXT, cc -E runs the code through the compiler's parser,
17000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17012 rm -f conftest.err conftest.i conftest.$ac_ext
17016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029 rm -f conftest.err conftest.i conftest.$ac_ext
17033 rm -f conftest.i conftest.err conftest.$ac_ext
17047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17053 # with a fresh cross-compiler works.
17054 # On the NeXT, cc -E runs the code through the compiler's parser,
17056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17068 rm -f conftest.err conftest.i conftest.$ac_ext
17072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17085 rm -f conftest.err conftest.i conftest.$ac_ext
17089 rm -f conftest.i conftest.err conftest.$ac_ext
17094 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
17113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17125 rm -rf conftest*
17128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
17146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17168 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memcmp compares unsigned" >&5
17280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cross-compile no" >&5
17281 printf "%s\n" "cross-compile no" >&6; }
17293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17326 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17332 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
17359 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
17378 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
17392 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
17413 # Check whether --enable-rpath was given.
17422 ac_config_commands="$ac_config_commands disable-rpath"
17429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5
17436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17453 if test -z "$ac_lib"; then
17456 ac_res=-l$ac_lib
17457 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5
17488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
17495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17512 if test -z "$ac_lib"; then
17515 ac_res=-l$ac_lib
17516 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
17551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5
17561 *-gnu*) ac_cv_func_chown_works=yes ;;
17566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17581 if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
17597 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17601 rm -f conftest.chown
17604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >&5
17630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
17640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17660 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
17673 *-*-amigaos* | *-*-msdosdjgpp*)
17681 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed becau…
17686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
17696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17715 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
17730 write(-1, "", 0);
17810 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
17821 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed beca…
17843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large…
17850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
17901 rm -rf conftest*
17913 # Check whether --enable-largefile was given.
17921 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for l…
17932 # so use the C compiler's -n32 option if that helps.
17933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17936 /* Check that off_t can represent 2**63 - 1 correctly.
17940 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
17943 ? 1 : -1];
17956 rm -f core conftest.err conftest.$ac_objext conftest.beam
17957 CC="$CC -n32"
17960 ac_cv_sys_largefile_CC=' -n32'; break
17962 rm -f core conftest.err conftest.$ac_objext conftest.beam
17966 rm -f conftest.$ac_ext
17969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
17975 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for larg…
17982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17985 /* Check that off_t can represent 2**63 - 1 correctly.
17989 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
17992 ? 1 : -1];
18005 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18010 /* Check that off_t can represent 2**63 - 1 correctly.
18014 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
18017 ? 1 : -1];
18030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
18043 rm -rf conftest*
18045 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large fil…
18052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18055 /* Check that off_t can represent 2**63 - 1 correctly.
18059 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
18062 ? 1 : -1];
18075 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18080 /* Check that off_t can represent 2**63 - 1 correctly.
18084 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
18087 ? 1 : -1];
18100 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
18113 rm -rf conftest*
18120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need -D_LARGEFILE_SOURCE=1 as a f…
18121 printf %s "checking whether we need -D_LARGEFILE_SOURCE=1 as a flag for $CC... " >&6; }
18136 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
18140 if test -z "`$CC $CPPFLAGS $CFLAGS -D_LARGEFILE_SOURCE=1 $ERRFLAG -c conftest.c 2>&1`"; then
18146 #echo "$CC $CPPFLAGS $CFLAGS -D_LARGEFILE_SOURCE=1 $ERRFLAG -c conftest.c 2>&1"
18147 #echo `$CC $CPPFLAGS $CFLAGS -D_LARGEFILE_SOURCE=1 $ERRFLAG -c conftest.c 2>&1`
18152 rm -f conftest conftest.c conftest.o
18157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18160 CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE=1"
18163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18167 #echo "$CC $CPPFLAGS $CFLAGS -D_LARGEFILE_SOURCE=1 $ERRFLAG -c conftest.c 2>&1"
18168 #echo `$CC $CPPFLAGS $CFLAGS -D_LARGEFILE_SOURCE=1 $ERRFLAG -c conftest.c 2>&1`
18173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
18182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if nonblocking sockets work" >&5
18185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no (windows)" >&5
18194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: crosscompile(yes)" >&5
18198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18246 if(sfd == -1) {
18258 if(fcntl(sfd, F_SETFL, O_NONBLOCK) == -1) {
18264 if(cfd == -1) {
18291 if(p == -1) {
18330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18342 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mkdir has one arg" >&5
18351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18386 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strptime works" >&5
18403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18409 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);
18421 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_strptime_works" >&5
18456 if echo "$host" | $GREP -i -e linux >/dev/null; then reuseport_default=1; fi
18457 if echo "$host" | $GREP -i -e dragonfly >/dev/null; then reuseport_default=1; fi
18468 # Include systemd.m4 - begin
18472 # Check whether --enable-systemd was given.
18484 if test -n "$PKG_CONFIG"; then
18488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsystemd" >&5
18491 if test -n "$SYSTEMD_CFLAGS"; then
18493 elif test -n "$PKG_CONFIG"; then
18494 if test -n "$PKG_CONFIG" && \
18495 …{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\…
18496 ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5
18498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18500 pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "libsystemd" 2>/dev/null`
18508 if test -n "$SYSTEMD_LIBS"; then
18510 elif test -n "$PKG_CONFIG"; then
18511 if test -n "$PKG_CONFIG" && \
18512 …{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\…
18513 ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5
18515 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18517 pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "libsystemd" 2>/dev/null`
18529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18532 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18538 … SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd" 2>&1`
18540 SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd" 2>&1`
18550 installed software in a non-standard prefix.
18553 and SYSTEMD_LIBS to avoid the need to call pkg-config.
18554 See the pkg-config man page for more details." "$LINENO" 5
18556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18558 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18560 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18562 path to pkg-config.
18565 and SYSTEMD_LIBS to avoid the need to call pkg-config.
18566 See the pkg-config man page for more details.
18568 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libsystemd-daemon" >&5
18584 printf %s "checking for libsystemd-daemon... " >&6; }
18586 if test -n "$SYSTEMD_DAEMON_CFLAGS"; then
18588 elif test -n "$PKG_CONFIG"; then
18589 if test -n "$PKG_CONFIG" && \
18590 …{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-…
18591 ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
18593 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18595 pkg_cv_SYSTEMD_DAEMON_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-daemon" 2>/dev/null`
18603 if test -n "$SYSTEMD_DAEMON_LIBS"; then
18605 elif test -n "$PKG_CONFIG"; then
18606 if test -n "$PKG_CONFIG" && \
18607 …{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-…
18608 ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
18610 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18612 pkg_cv_SYSTEMD_DAEMON_LIBS=`$PKG_CONFIG --libs "libsystemd-daemon" 2>/dev/null`
18624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18627 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18633 …SYSTEMD_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-d…
18635 … SYSTEMD_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
18640 as_fn_error $? "Package requirements (libsystemd-daemon) were not met:
18645 installed software in a non-standard prefix.
18648 and SYSTEMD_DAEMON_LIBS to avoid the need to call pkg-config.
18649 See the pkg-config man page for more details." "$LINENO" 5
18651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18653 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18655 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18657 path to pkg-config.
18660 and SYSTEMD_DAEMON_LIBS to avoid the need to call pkg-config.
18661 See the pkg-config man page for more details.
18663 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18692 as_fn_error $? "systemd enabled but need pkg-config to configure for it" "$LINENO" 5
18705 # Include systemd.m4 - end
18708 # Check whether --enable-alloc-checks was given.
18714 # Check whether --enable-alloc-lite was given.
18720 # Check whether --enable-alloc-nonregional was given.
18746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
18750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no (crosscompile)" >&5
18762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18799 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CreateThread" >&5
18820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18858 # the non-threadsafe C libraries.
18860 # Check whether --with-pthreads was given.
18876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18903 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS …
18905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
18939 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
18940 # libraries is broken (non-POSIX).
18944 # starting with a "-" are C compiler flags, and remaining items are
18946 # any flags at all, and "pthread-config" which is a program returning
18949 ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pth…
18954 # pthreads: AIX (must check this before -lpthread)
18955 # none: in case threads are in libc; should be tried before -Kthread and
18957 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
18958 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
18959 # (Note: HP C rejects this with "bad form for `-t' option")
18960 # -pthreads: Solaris/gcc (Note: HP C also rejects)
18961 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
18963 # -D_REENTRANT too), HP C (must be checked before -lpthread, which
18964 # is present but should not be used directly; and before -mthreads,
18965 # because the compiler interprets this as "-mt" + "-hreads")
18966 # -mthreads: Mingw32/gcc, Lynx/gcc
18968 # --thread-safe: KAI C++
18969 # pthread-config: use pthread-config program (for GNU Pth library)
18975 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
18976 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
18978 ax_pthread_flags="-kthread lthread $ax_pthread_flags"
18983 # From the cc(1) man page: "[-mt] Sets various -D flags to enable
18984 # multi-threading and also sets -lpthread."
18986 ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
18991 # IBM z/OS requires a feature-test macro to be defined in order to
18996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19007 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNI…
19008 printf "%s\n" "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pt…
19010 rm -rf conftest*
19017 # (non-functional) versions of the pthreads routines, so link-based
19022 # standard Solaris way of linking pthreads (-mt -lpthread).
19024 ax_pthread_flags="-mt,-lpthread pthread $ax_pthread_flags"
19030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
19039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19041 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
19052 rm -rf conftest*
19057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
19062 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
19064 # Note that for GCC and Clang -pthread generally implies -lpthread,
19065 # except when -nostdlib is passed.
19069 # [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468555
19070 # To solve this, first try -pthread together with -lpthread for GCC
19074 ax_pthread_flags="-pthread,-lpthread -pthread -pthreads $ax_pthread_flags"
19077 # Clang takes -pthread (never supported any other flag), but we'll try with -lpthread first
19081 ax_pthread_flags="-pthread,-lpthread -pthread"
19085 # The presence of a feature test macro requesting re-entrant function
19099 ax_pthread_check_macro="--"
19102 if test "x$ax_pthread_check_macro" = "x--"
19115 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
19122 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with \"$PTHREAD_CFLAG…
19126 -*)
19127 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_…
19132 pthread-config)
19133 # Extract the first word of "pthread-config", so it can be a program name with args.
19134 set dummy pthread-config; ac_word=$2
19135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19141 if test -n "$ax_pthread_config"; then
19156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19163 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
19167 if test -n "$ax_pthread_config"; then
19168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
19171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19180 PTHREAD_CFLAGS="`pthread-config --cflags`"
19181 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
19185 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_…
19186 printf %s "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
19187 PTHREAD_LIBS="-l$ax_pthread_try_flag"
19198 # need a special flag -Kthread to make this header compile.)
19199 # We check for pthread_join because it is in -lpthread on IRIX
19201 # due to DEC craziness with -lpthreads. We check for
19203 # functions on Solaris that doesn't have a non-functional libc stub.
19206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19215 /* To avoid any unused-parameter or
19216 unused-but-set-parameter warning. */
19237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
19256 # Clang needs special handling, because older versions handle the -pthread
19261 # Clang takes -pthread; it has never supported any other flag
19267 # (Note 2: On some systems, notably Darwin, -pthread is not needed
19270 # -pthread does define _REENTRANT, and while the Darwin headers
19271 # ignore this macro, third-party headers might not.)
19275 # taking place, the -pthread option has no effect ("argument unused
19276 # during compilation"). They expect -pthread to be passed in only
19287 # Even though use of the -pthread flag in linking would only print
19288 # a warning, this can be a nuisance for well-run software projects
19289 # that build with -Werror. So if the active version of Clang has
19292 …%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused…
19293 …ther Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
19300 # links in two steps (.c -> .o, .o -> exe) instead of one
19301 # (.c -> exe), because the warning occurs only in the second
19308 … for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
19313 … CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
19315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
19366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
19374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19389 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
19407 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for…
19416 ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
19421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
19430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
19436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19454 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
19501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19507 if test -n "$PTHREAD_CC"; then
19522 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19532 if test -n "$PTHREAD_CC"; then
19533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
19536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19541 test -n "$PTHREAD_CC" && break
19543 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
19551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19557 if test -n "$PTHREAD_CXX"; then
19572 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19582 if test -n "$PTHREAD_CXX"; then
19583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CXX" >&5
19586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19591 test -n "$PTHREAD_CXX" && break
19593 test -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
19608 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
19609 test -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
19616 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
19622 if test -n "$PTHREAD_LIBS"; then
19648 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
19662 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
19681 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of pthread_t" >&5
19695 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pthread_t" >&5
19714 if echo "$CFLAGS" | $GREP -e "-pthread" >/dev/null; then
19715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if -pthread unused during linking" >&5
19716 printf %s "checking if -pthread unused during linking... " >&6; }
19718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19727 echo "$CC $CFLAGS -c conftest.c -o conftest.o" >&5
19728 $CC $CFLAGS -c conftest.c -o conftest.o 2>&5 >&5
19731 echo "$CC $CFLAGS -Werror $LDFLAGS $LIBS -o conftest contest.o" >&5
19732 $CC $CFLAGS -Werror $LDFLAGS $LIBS -o conftest conftest.o 2>&5 >&5
19733 if test $? -ne 0; then
19734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19736 CFLAGS=`echo "$CFLAGS" | sed -e 's/-pthread//'`
19737 PTHREAD_CFLAGS_ONLY="-pthread"
19740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19747 rm -f conftest conftest.c conftest.o
19748 fi # endif -pthread in CFLAGS
19758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19767 # Check whether --with-solaris-threads was given.
19778 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Have pthreads already, ignoring --with-sola…
19779 printf "%s\n" "$as_me: WARNING: Have pthreads already, ignoring --with-solaris-threads" >&2;}
19781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing thr_create" >&5
19788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19805 if test -z "$ac_lib"; then
19808 ac_res=-l$ac_lib
19809 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_thr_create" >&5
19844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mt" >&5
19845 printf %s "checking whether $CC supports -mt... " >&6; }
19846 cache=`echo mt | sed 'y%.=/+-%___p_%'`
19853 if test -z "`$CC $CPPFLAGS $CFLAGS -mt -c conftest.c 2>&1`"; then
19858 rm -f conftest conftest.o conftest.c
19863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19866 CFLAGS="$CFLAGS -mt"
19868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19871 CFLAGS="$CFLAGS -D_REENTRANT"
19885 fi # end of non-mingw check of thread libraries
19889 # Check whether --with-syslog-facility was given.
19897 LOCAL[0-7]) UNBOUND_SYSLOG_FACILITY="LOG_${UNBOUND_SYSLOG_FACILITY}" ;;
19908 # Check whether --with-dynlibmodule was given.
19928 # link with -ldl if not already there, for all executables because
19931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19955 if test -z "$ac_lib"; then
19958 ac_res=-l$ac_lib
19959 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19990 DYNLIBMOD_EXTRALIBS="-export-dynamic"
19992 DYNLIBMOD_EXTRALIBS="-Wl,--export-all-symbols,--out-implib,libunbound.dll.a"
19999 # Check whether --with-pyunbound was given.
20017 # Check whether --with-pythonmodule was given.
20045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20068 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20079 if test -n "$PYTHON"; then
20080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
20083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20088 if test -z "$PYTHON"; then
20093 if test -z "$PYTHON_VERSION"; then
20094 PYTHON_VERSION=`$PYTHON -c "import sys; \
20100 PYTHON_VERSION_MAJOR=`echo $v | sed 's/[^0-9].*//'`
20101 if test -z "$PYTHON_VERSION_MAJOR"; then PYTHON_VERSION_MAJOR="0"; fi
20102 v=`echo $v | sed -e 's/^[0-9]*$//' -e 's/[0-9]*[^0-9]//'`
20103 PYTHON_VERSION_MINOR=`echo $v | sed 's/[^0-9].*//'`
20104 if test -z "$PYTHON_VERSION_MINOR"; then PYTHON_VERSION_MINOR="0"; fi
20105 v=`echo $v | sed -e 's/^[0-9]*$//' -e 's/[0-9]*[^0-9]//'`
20106 PYTHON_VERSION_PATCH=`echo $v | sed 's/[^0-9].*//'`
20107 if test -z "$PYTHON_VERSION_PATCH"; then PYTHON_VERSION_PATCH="0"; fi
20116 if test $PYTHON_VERSION_MAJOR -lt 3; then
20119 if test $PYTHON_VERSION_MAJOR -eq 3 -a $PYTHON_VERSION_MINOR -lt 10; then
20126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the $m Python module" >&5
20128 if ac_modulecheck_result1=`$PYTHON -c "import $m" 2>&1`; then
20129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20138 if test -z "$sysconfig_module"; then
20140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the $m2 Python module" >&5
20142 if ac_modulecheck_result2=`$PYTHON -c "import $m2" 2>&1`; then
20143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python include path" >&5
20165 if test -z "$PYTHON_CPPFLAGS"; then
20167 python_path=`$PYTHON -c 'import sysconfig; \
20170 python_path=`$PYTHON -c "import distutils.sysconfig; \
20173 if test -n "${python_path}"; then
20174 python_path="-I$python_path"
20178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5
20185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python library path" >&5
20187 if test -z "$PYTHON_LDFLAGS"; then
20188 PYTHON_LDFLAGS=`$PYTHON -c "from $sysconfig_module import *; \
20189 …print('-L'+get_config_var('LIBDIR')+' -L'+get_config_var('LIBDEST')+' '+get_config_var('BLDLIBRARY…
20191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5
20195 if test -z "$PYTHON_LIBDIR"; then
20196 PYTHON_LIBDIR=`$PYTHON -c "from $sysconfig_module import *; \
20203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python site-packages path" >&5
20204 printf %s "checking for Python site-packages path... " >&6; }
20205 if test -z "$PYTHON_SITE_PKG"; then
20207 PYTHON_SITE_PKG=`$PYTHON -c 'import sysconfig; \
20210 PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
20214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_SITE_PKG" >&5
20221 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking consistency of all components of python dev…
20225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pythonexists" >&5
20265 installed in some non-standard library path. If so, pass it to configure,
20267 Example: ./configure LDFLAGS=\"-L/usr/non-standard-path/python/lib\"
20278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20290 if test ! -z "$PYTHON_VERSION"; then
20292 if test "$PYTHON_VERSION_MAJOR" -lt 2; then
20295 if test "$PYTHON_VERSION_MAJOR" -eq 2 -a "$PYTHON_VERSION_MINOR" -lt 4; then
20302 PY_MAJOR_VERSION="`$PYTHON -c \"import sys; print(sys.version_info[0])\"`"
20309 if test -n "$LIBS"; then
20317 if test -n "$CPPFLAGS"; then
20322 …if test "$PYTHON_LIBDIR" != "/usr/lib" -a "$PYTHON_LIBDIR" != "" -a "$PYTHON_LIBDIR" != "/usr/lib6…
20326 RUNTIME_PATH="$RUNTIME_PATH -R$PYTHON_LIBDIR"
20332 if test -n "$PKG_CONFIG" && \
20333 …{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\"python\${…
20334 ($PKG_CONFIG --exists --print-errors ""python${PY_MAJOR_VERSION}"") 2>&5
20336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20346 # Check whether --enable-swig-version-check was given.
20359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20382 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20393 if test -n "$SWIG"; then
20394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
20397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20402 test -n "$SWIG" && break
20405 if test -z "$SWIG" ; then
20407 elif test -z "2.0.1" ; then
20410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking SWIG version" >&5
20412 …swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-…
20413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $swig_version" >&5
20415 if test -n "$swig_version" ; then
20418 required_major=`echo $required | sed 's/[^0-9].*//'`
20419 if test -z "$required_major" ; then
20422 required=`echo $required. | sed 's/[0-9]*[^0-9]//'`
20423 required_minor=`echo $required | sed 's/[^0-9].*//'`
20424 if test -z "$required_minor" ; then
20427 required=`echo $required. | sed 's/[0-9]*[^0-9]//'`
20428 required_patch=`echo $required | sed 's/[^0-9].*//'`
20429 if test -z "$required_patch" ; then
20434 available_major=`echo $available | sed 's/[^0-9].*//'`
20435 if test -z "$available_major" ; then
20438 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
20439 available_minor=`echo $available | sed 's/[^0-9].*//'`
20440 if test -z "$available_minor" ; then
20443 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
20444 available_patch=`echo $available | sed 's/[^0-9].*//'`
20445 if test -z "$available_patch" ; then
20456 if test $available_swig_vernum -lt $required_swig_vernum; then
20457 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version >= 2.0.1 is required. You hav…
20462 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SWIG library" >&5
20464 SWIG_LIB=`$SWIG -swiglib | tr '\r\n' ' '`
20465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SWIG_LIB" >&5
20470 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine SWIG version" >&5
20485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20508 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20519 if test -n "$SWIG"; then
20520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
20523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20528 test -n "$SWIG" && break
20531 if test -z "$SWIG" ; then
20533 elif test -z "" ; then
20536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking SWIG version" >&5
20538 …swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-…
20539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $swig_version" >&5
20541 if test -n "$swig_version" ; then
20544 required_major=`echo $required | sed 's/[^0-9].*//'`
20545 if test -z "$required_major" ; then
20548 required=`echo $required. | sed 's/[0-9]*[^0-9]//'`
20549 required_minor=`echo $required | sed 's/[^0-9].*//'`
20550 if test -z "$required_minor" ; then
20553 required=`echo $required. | sed 's/[0-9]*[^0-9]//'`
20554 required_patch=`echo $required | sed 's/[^0-9].*//'`
20555 if test -z "$required_patch" ; then
20560 available_major=`echo $available | sed 's/[^0-9].*//'`
20561 if test -z "$available_major" ; then
20564 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
20565 available_minor=`echo $available | sed 's/[^0-9].*//'`
20566 if test -z "$available_minor" ; then
20569 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
20570 available_patch=`echo $available | sed 's/[^0-9].*//'`
20571 if test -z "$available_patch" ; then
20582 if test $available_swig_vernum -lt $required_swig_vernum; then
20583 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version >= is required. You have $sw…
20588 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SWIG library" >&5
20590 SWIG_LIB=`$SWIG -swiglib | tr '\r\n' ' '`
20591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SWIG_LIB" >&5
20596 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine SWIG version" >&5
20605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking SWIG" >&5
20607 if test ! -x "$SWIG"; then
20615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: present" >&5
20630 PYTHONMOD_INSTALL=pythonmod-install
20632 PYTHONMOD_UNINSTALL=pythonmod-uninstall
20647 PYUNBOUND_INSTALL=pyunbound-install
20649 PYUNBOUND_UNINSTALL=pyunbound-uninstall
20654 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: *** Python libraries not found, won't build …
20662 NETBSD_LINTFLAGS='"-D__RENAME(x)=" -D_NETINET_IN_H_'
20668 GCC_DOCKER_LINTFLAGS='-syntax'
20671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for build time" >&5
20678 ax_build_date=`date -u -d "@$SOURCE_DATE_EPOCH" "+$ax_date_fmt" 2>/dev/null \
20679 || date -u -r "$SOURCE_DATE_EPOCH" "+$ax_date_fmt" 2>/dev/null`
20687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONFIG_DATE" >&5
20698 # Check whether --with-nss was given.
20706 if test "$withval" != "" -a "$withval" != "yes"; then
20707 CPPFLAGS="$CPPFLAGS -I$withval/include/nss3"
20708 LDFLAGS="$LDFLAGS -L$withval/lib"
20712 RUNTIME_PATH="$RUNTIME_PATH -R$withval/lib"
20716 CPPFLAGS="-I$withval/include/nspr4 $CPPFLAGS"
20718 CPPFLAGS="$CPPFLAGS -I/usr/include/nss3"
20719 CPPFLAGS="-I/usr/include/nspr4 $CPPFLAGS"
20721 LIBS="$LIBS -lnss3 -lnspr4"
20733 # Check whether --with-nettle was given.
20741 …ac_fn_c_check_header_compile "$LINENO" "nettle/dsa-compat.h" "ac_cv_header_nettle_dsa_compat_h" "$…
20749 if test "$withval" != "" -a "$withval" != "yes"; then
20750 CPPFLAGS="$CPPFLAGS -I$withval/include/nettle"
20751 LDFLAGS="$LDFLAGS -L$withval/lib"
20755 RUNTIME_PATH="$RUNTIME_PATH -R$withval/lib"
20760 CPPFLAGS="$CPPFLAGS -I/usr/include/nettle"
20762 LIBS="$LIBS -lhogweed -lnettle -lgmp"
20772 if test $USE_NSS = "no" -a $USE_NETTLE = "no"; then
20775 # Check whether --with-ssl was given.
20792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL" >&5
20794 if test -n "$withval"; then
20795 if test ! -f "$withval/include/openssl/ssl.h" -a -f "$withval/openssl/ssl.h"; then
20800 ssldir_lib=`echo $ssldir | sed -e 's/include/lib/'`
20801 if test -f "$ssldir_lib/libssl.a" -o -f "$ssldir_lib/libssl.so"; then
20804 ssldir_lib=`echo $ssldir | sed -e 's/include/lib64/'`
20805 if test -f "$ssldir_lib/libssl.a" -o -f "$ssldir_lib/libssl.so"; then
20813 if test x_$withval = x_ -o x_$withval = x_yes; then
20818 if test -f "$dir/include/openssl/ssl.h"; then
20821 if test ! -d "$ssldir/lib" -a -d "$ssldir/lib64"; then
20832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $ssldir" >&5
20839 CPPFLAGS="$CPPFLAGS -I$ssldir_include"
20840 LIBSSL_CPPFLAGS="$LIBSSL_CPPFLAGS -I$ssldir_include"
20841 LDFLAGS="$LDFLAGS -L$ssldir_lib"
20842 LIBSSL_LDFLAGS="$LIBSSL_LDFLAGS -L$ssldir_lib"
20846 RUNTIME_PATH="$RUNTIME_PATH -R$ssldir_lib"
20852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EVP_sha256 in -lcrypto" >&5
20853 printf %s "checking for EVP_sha256 in -lcrypto... " >&6; }
20854 LIBS="$LIBS -lcrypto"
20855 LIBSSL_LIBS="$LIBSSL_LIBS -lcrypto"
20856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20883 # check if -lwsock32 or -lgdi32 are needed.
20886 LIBS="$LIBS -lgdi32 -lws2_32"
20887 LIBSSL_LIBS="$LIBSSL_LIBS -lgdi32 -lws2_32"
20888 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if -lcrypto needs -lgdi32" >&5
20889 printf %s "checking if -lcrypto needs -lgdi32... " >&6; }
20890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20920 LIBS="$LIBS -lgdi32 -lws2_32 -lcrypt32"
20921 LIBSSL_LIBS="$LIBSSL_LIBS -lgdi32 -lws2_32 -lcrypt32"
20922 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if -lcrypto needs -lgdi32 -lws2_32 -lcrypt3…
20923 printf %s "checking if -lcrypto needs -lgdi32 -lws2_32 -lcrypt32... " >&6; }
20924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20954 LIBS="$LIBS -lgdi32 -lws2_32 -lcrypt32 -l:libssp.a"
20955 LIBSSL_LIBS="$LIBSSL_LIBS -lgdi32 -lws2_32 -lcrypt32 -l:libssp.a"
20956 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if -lcrypto needs -lgdi32 -lws2_32 -lcrypt3…
20957 printf %s "checking if -lcrypto needs -lgdi32 -lws2_32 -lcrypt32 -l:libssp.a... " >&6; }
20958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20988 LIBS="$LIBS -ldl"
20989 LIBSSL_LIBS="$LIBSSL_LIBS -ldl"
20990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if -lcrypto needs -ldl" >&5
20991 printf %s "checking if -lcrypto needs -ldl... " >&6; }
20992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21021 LIBS="$LIBS -ldl -pthread"
21022 LIBSSL_LIBS="$LIBSSL_LIBS -ldl -pthread"
21023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if -lcrypto needs -ldl -pthread" >&5
21024 printf %s "checking if -lcrypto needs -ldl -pthread... " >&6; }
21025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21110 LIBS="-lssl $LIBS"
21111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libssl needs libdl" >&5
21113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
21147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21164 if test -z "$ac_lib"; then
21167 ac_res=-l$ac_lib
21168 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
21201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21203 SSLLIB="-lssl"
21208 # check if -lcrypt32 is needed because CAPIENG needs that. (on windows)
21210 LIBS="-lssl $LIBS"
21211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libssl needs -lcrypt32" >&5
21212 printf %s "checking if libssl needs -lcrypt32... " >&6; }
21213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21239 LIBS="$LIBS -lcrypt32"
21242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LibreSSL" >&5
21248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21255 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undecl…
21263 for ac_arg in '' -fno-builtin; do
21266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21284 # declaration. Include always-available headers on the
21286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21314 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
21325 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21581 # these check_funcs need -lssl
21583 LIBS="-lssl $LIBS"
21769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the return type of HMAC_Init_ex" >&5
21771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: int" >&5
21814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: void" >&5
21821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21829 # Check whether --with-libbsd was given.
21848 if test "x$ac_cv_header_bsd_string_h" = xyes -a "x$ac_cv_header_bsd_stdlib_h" = xyes; then
21851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing $func" >&5
21858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21875 if test -z "$ac_lib"; then
21878 ac_res=-l$ac_lib
21879 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21885 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21923 # Check whether --enable-sha1 was given.
21940 # Check whether --enable-sha2 was given.
21956 # Check whether --enable-subnet was given.
21967 SUBNET_OBJ="edns-subnet.lo subnetmod.lo addrtree.lo subnet-whitelist.lo"
21969 …ADER='$(srcdir)/edns-subnet/subnetmod.h $(srcdir)/edns-subnet/edns-subnet.h $(srcdir)/edns-subnet/…
21978 # Check whether --enable-gost was given.
21985 if test $USE_NSS = "no" -a $USE_NETTLE = "no"; then
22007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GOST works" >&5
22011 if test -n "$ssldir"; then
22012 CFLAGS="$CFLAGS -Wl,-rpath,$ssldir_lib"
22018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22036 meth = EVP_PKEY_asn1_find_str(NULL, "gost2001", -1);
22060 meth = EVP_PKEY_asn1_find_str(&e, "gost2001", -1);
22073 unsigned char digest[64]; /* its a 256-bit digest, so uses 32 bytes */
22109 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gost_works" >&5
22129 # Check whether --enable-ecdsa was given.
22140 if test $USE_NSS = "no" -a $USE_NETTLE = "no"; then
22152 …as_fn_error $? "OpenSSL does not support ECDSA: please upgrade or rerun with --disable-ecdsa" "$LI…
22164 …as_fn_error $? "OpenSSL does not support ECDSA: please upgrade or rerun with --disable-ecdsa" "$LI…
22172 …as_fn_error $? "OpenSSL does not support SHA384: please upgrade or rerun with --disable-ecdsa" "$L…
22193 …penSSL does not support the ECDSA curves: please upgrade or rerun with --disable-ecdsa" "$LINENO" 5
22210 …penSSL does not support the ECDSA curves: please upgrade or rerun with --disable-ecdsa" "$LINENO" 5
22214 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if openssl supports SHA2 and ECDSA with EVP…
22218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22241 # Check whether --enable-dsa was given.
22251 if test $USE_NSS = "no" -a $USE_NETTLE = "no"; then
22284 …= "xyes"; then as_fn_error $? "OpenSSL does not support DSA and you used --enable-dsa." "$LINENO" 5
22290 …= "xyes"; then as_fn_error $? "OpenSSL does not support DSA and you used --enable-dsa." "$LINENO" 5
22307 # Check whether --with-deprecate-rsa-1024 was given.
22319 # Check whether --enable-ed25519 was given.
22330 if test $USE_NSS = "no" -a $USE_NETTLE = "no"; then
22348 …es"; then as_fn_error $? "OpenSSL does not support ED25519 and you used --enable-ed25519." "$LINEN…
22374 # Check whether --enable-ed448 was given.
22385 if test $USE_NSS = "no" -a $USE_NETTLE = "no"; then
22403 …xyes"; then as_fn_error $? "OpenSSL does not support ED448 and you used --enable-ed448." "$LINENO"…
22416 # Check whether --enable-event-api was given.
22424 UNBOUND_EVENT_INSTALL=unbound-event-install
22426 UNBOUND_EVENT_UNINSTALL=unbound-event-uninstall
22433 # Check whether --enable-tfo-client was given.
22448 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Check the platform specific TFO kernel para…
22451 …"TCP Fast Open is not available for client mode: please rerun without --enable-tfo-client" "$LINEN…
22463 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Check the platform specific TFO kernel para…
22466 …"TCP Fast Open is not available for client mode: please rerun without --enable-tfo-client" "$LINEN…
22478 # Check whether --enable-tfo-server was given.
22492 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Check the platform specific TFO kernel para…
22495 …"TCP Fast Open is not available for server mode: please rerun without --enable-tfo-server" "$LINEN…
22507 # Check whether --with-libevent was given.
22519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libevent" >&5
22521 if test "x_$with_libevent" = x_ -o "x_$with_libevent" = x_yes; then
22526 if test -f "$dir/include/event.h" -o -f "$dir/include/event2/event.h"; then
22529 CPPFLAGS="$CPPFLAGS -I$thedir/include"
22535 if test -f "$dir/event.h" -a \( -f "$dir/libevent.la" -o -f "$dir/libev.la" \) ; then
22537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $thedir" >&5
22539 CPPFLAGS="$CPPFLAGS -I$thedir -I$thedir/include"
22546 ev_files_o=`ls $thedir/*.o | grep -v evdns\.o | grep -v bufferevent_openssl\.o`
22547 ev_files_lo=`ls $thedir/*.lo | grep -v evdns\.lo | grep -v bufferevent_openssl\.lo`
22548 ev_files_libso=`ls $thedir/.libs/*.o | grep -v evdns\.o | grep -v bufferevent_openssl\.o`
22552 LATE_LDFLAGS="build/libevent/*.lo -lm"
22553 LDFLAGS="build/libevent/*.o $LDFLAGS -lm"
22556 You can restart ./configure --with-libevent=no to use a builtin alternative.
22561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $thedir" >&5
22563 …if test ! -f $thedir/lib/libevent.a -a ! -f $thedir/lib/libevent.so -a -d "$thedir/lib/event2"; th…
22564 LDFLAGS="$LDFLAGS -L$thedir/lib/event2"
22568 RUNTIME_PATH="$RUNTIME_PATH -R$thedir/lib/event2"
22573 if test "$thedir" != "/usr" -a "$thedir" != ""; then
22574 LDFLAGS="$LDFLAGS -L$thedir/lib"
22578 RUNTIME_PATH="$RUNTIME_PATH -R$thedir/lib"
22586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
22593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22610 if test -z "$ac_lib"; then
22613 ac_res=-l$ac_lib
22614 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
22662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing event_set" >&5
22669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22686 if test -z "$ac_lib"; then
22689 ac_res=-l$ac_lib
22690 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22696 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_event_set" >&5
22724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing event_set" >&5
22731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22748 if test -z "$ac_lib"; then
22751 ac_res=-l$ac_lib
22752 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22758 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_event_set" >&5
22833 # in libevent, for thread-safety
22852 if test -n "$BAK_LDFLAGS_SET"; then
22863 # Check whether --with-libexpat was given.
22871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libexpat" >&5
22875 if test -f "$dir/include/expat.h"; then
22878 CPPFLAGS="$CPPFLAGS -I$dir/include"
22879 LDFLAGS="$LDFLAGS -L$dir/lib"
22881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $dir" >&5
22912 # Check whether --with-libhiredis was given.
22921 if test x_$withval = x_yes -o x_$withval != x_no; then
22922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libhiredis" >&5
22924 if test x_$withval = x_ -o x_$withval = x_yes; then
22928 if test -f "$dir/include/hiredis/hiredis.h"; then
22931 CPPFLAGS="$CPPFLAGS -I$dir/include"
22932 LDFLAGS="$LDFLAGS -L$dir/lib"
22934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $dir" >&5
22939 LIBS="$LIBS -lhiredis"
22970 # Check whether --with-libnghttp2 was given.
22979 if test x_$withval = x_yes -o x_$withval != x_no; then
22980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libnghttp2" >&5
22982 if test x_$withval = x_ -o x_$withval = x_yes; then
22986 if test -f "$dir/include/nghttp2/nghttp2.h"; then
22989 CPPFLAGS="$CPPFLAGS -I$dir/include"
22990 LDFLAGS="$LDFLAGS -L$dir/lib"
22992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $dir" >&5
22997 LIBS="$LIBS -lnghttp2"
23028 # Check whether --with-libngtcp2 was given.
23037 if test x_$withval = x_yes -o x_$withval != x_no; then
23038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2" >&5
23040 if test x_$withval = x_ -o x_$withval = x_yes; then
23044 if test -f "$dir/include/ngtcp2/ngtcp2.h"; then
23047 CPPFLAGS="$CPPFLAGS -I$dir/include"
23048 LDFLAGS="$LDFLAGS -L$dir/lib"
23050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $dir" >&5
23055 LIBS="$LIBS -lngtcp2"
23115 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_encrypt_cb in -lngtcp2_cr…
23116 printf %s "checking for ngtcp2_crypto_encrypt_cb in -lngtcp2_crypto_ossl... " >&6; }
23122 LIBS="-lngtcp2_crypto_ossl $LIBS"
23123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_ossl_ngtcp2_crypto_e…
23153 LIBS="$LIBS -lngtcp2_crypto_ossl"
23160 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_encrypt_cb in -lngtcp2_cr…
23161 printf %s "checking for ngtcp2_crypto_encrypt_cb in -lngtcp2_crypto_openssl... " >&6; }
23167 LIBS="-lngtcp2_crypto_openssl $LIBS"
23168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_openssl_ngtcp2_crypt…
23197 LIBS="$LIBS -lngtcp2_crypto_openssl"
23200 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_encrypt_cb in -lngtcp2_cr…
23201 printf %s "checking for ngtcp2_crypto_encrypt_cb in -lngtcp2_crypto_quictls... " >&6; }
23207 LIBS="-lngtcp2_crypto_quictls $LIBS"
23208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypt…
23237 LIBS="$LIBS -lngtcp2_crypto_quictls"
23320 # these check_funcs need -lssl
23322 LIBS="-lssl $LIBS"
23407 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ngtcp2_conn_shutdown_stream has 4 a…
23409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23439 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23446 # Check whether --enable-static-exe was given.
23453 staticexe="-static"
23455 staticexe="-all-static"
23460 LIBS="$LIBS -lgdi32"
23462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
23463 printf %s "checking for compress in -lz... " >&6; }
23469 LIBS="-lz $LIBS"
23470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
23499 LIBS="$LIBS -lz"
23502 if echo "$LIBS" | grep -e "libssp.a" -e "lssp" >/dev/null; then
23505 LIBS="$LIBS -l:libssp.a"
23511 # Check whether --enable-fully-static was given.
23518 staticexe="-all-static"
23524 LIBS="$LIBS -lgdi32"
23526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
23527 printf %s "checking for compress in -lz... " >&6; }
23533 LIBS="-lz $LIBS"
23534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
23563 LIBS="$LIBS -lz"
23566 if echo "$LIBS" | grep -e "libssp.a" -e "lssp" >/dev/null; then
23569 LIBS="$LIBS -l:libssp.a"
23575 # Check whether --enable-lock_checks was given.
23590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5
23593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23622 LIBS="$LIBS -lws2_32"
23627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23656 LIBS="$LIBS -lws2_32"
23657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23690 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getaddrinfo" >&5
23723 if test -n "$ac_tool_prefix"; then
23726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23732 if test -n "$WINDRES"; then
23747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23757 if test -n "$WINDRES"; then
23758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
23761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23767 if test -z "$ac_cv_prog_WINDRES"; then
23771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23777 if test -n "$ac_ct_WINDRES"; then
23792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23802 if test -n "$ac_ct_WINDRES"; then
23803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
23806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
23826 LIBS="$LIBS -liphlpapi"
23828 LIBS="$LIBS -liphlpapi -lcrypt32"
23830 WINAPPS="unbound-service-install.exe unbound-service-remove.exe anchor-update.exe"
23852 *" fake-rfc2553.$ac_objext "* ) ;;
23853 *) LIBOBJS="$LIBOBJS fake-rfc2553.$ac_objext"
23861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ioctlsocket" >&5
23863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23893 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if daemon is deprecated" >&5
23910 cache=`echo daemon | sed 'y%.=/+-%___p_%'`
23921 if test -z "`$CC $CPPFLAGS $CFLAGS -c conftest.c 2>&1 | grep -e deprecated -e unavailable`"; then
23926 rm -f conftest conftest.o conftest.c
23931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for htobe64" >&5
24008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for be64toh" >&5
24043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24073 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing setusercontext" >&5
24083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24100 if test -z "$ac_lib"; then
24103 ac_res=-l$ac_lib
24104 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24110 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setusercontext" >&5
24386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for atomic_store" >&5
24388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for correct snprintf return value" >&5
24551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: maybe" >&5
24554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24580 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for reallocarray" >&5
24674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24709 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24826 LIBS="$LIBS -lmd"
24828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
24835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24852 if test -z "$ac_lib"; then
24855 ac_res=-l$ac_lib
24856 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24862 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
24941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
24948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24965 if test -z "$ac_lib"; then
24968 ac_res=-l$ac_lib
24969 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
25040 # Check whether --enable-allsymbols was given.
25057 UBSYMS='-export-symbols $(srcdir)/libunbound/ubsyms.def'
25065 UBSYMS="-export-symbols clubsyms.def"
25083 # Check whether --enable-dnstap was given.
25093 # Check whether --with-dnstap-socket-path was given.
25105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25139 if test -n "$PROTOC"; then
25140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PROTOC" >&5
25143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25148 # 'protoc-c' is deprecated. We use 'protoc' instead. If it can not be
25149 # found, try 'protoc-c'.
25150 if test -z "$PROTOC"; then
25151 # Extract the first word of "protoc-c", so it can be a program name with args.
25152 set dummy protoc-c; ac_word=$2
25153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25187 if test -n "$PROTOC_C"; then
25188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PROTOC_C" >&5
25191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25199 if test -z "$PROTOC_C"; then
25200 …rotoc or protoc-c program was not found. It is needed for dnstap, use --disable-dnstap, or install…
25203 # Check for protoc-gen-c plugin
25204 # Extract the first word of "protoc-gen-c", so it can be a program name with args.
25205 set dummy protoc-gen-c; ac_word=$2
25206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25240 if test -n "$PROTOC_GEN_C"; then
25241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PROTOC_GEN_C" >&5
25244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25249 if test -z "$PROTOC_GEN_C"; then
25250 … "The protoc-gen-c plugin was not found. It is needed for dnstap, use --disable-dnstap, or install…
25253 # Test that protoc-gen-c actually works
25254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if protoc-gen-c plugin works" >&5
25255 printf %s "checking if protoc-gen-c plugin works... " >&6; }
25262 if $PROTOC_C --c_out=. conftest.proto >/dev/null 2>&1; then
25263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25265 rm -f conftest.proto conftest.pb-c.c conftest.pb-c.h
25267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25269 rm -f conftest.proto conftest.pb-c.c conftest.pb-c.h
25270 …as_fn_error $? "The protoc-gen-c plugin is not working properly. Please ensure protobuf-c-compiler…
25274 # Check whether --with-protobuf-c was given.
25278 # workaround for protobuf-c includes at old dir before protobuf-c-1.0.0
25279 if test -f $withval/include/google/protobuf-c/protobuf-c.h; then
25280 CFLAGS="$CFLAGS -I$withval/include/google"
25282 CFLAGS="$CFLAGS -I$withval/include"
25284 LDFLAGS="$LDFLAGS -L$withval/lib"
25288 if test -n "$PKG_CONFIG"; then
25291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libprotobuf-c" >&5
25292 printf %s "checking for libprotobuf-c... " >&6; }
25294 if test -n "$PROTOBUFC_CFLAGS"; then
25296 elif test -n "$PKG_CONFIG"; then
25297 if test -n "$PKG_CONFIG" && \
25298 …{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprotobuf…
25299 ($PKG_CONFIG --exists --print-errors "libprotobuf-c") 2>&5
25301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25303 pkg_cv_PROTOBUFC_CFLAGS=`$PKG_CONFIG --cflags "libprotobuf-c" 2>/dev/null`
25311 if test -n "$PROTOBUFC_LIBS"; then
25313 elif test -n "$PKG_CONFIG"; then
25314 if test -n "$PKG_CONFIG" && \
25315 …{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libprotobuf…
25316 ($PKG_CONFIG --exists --print-errors "libprotobuf-c") 2>&5
25318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25320 pkg_cv_PROTOBUFC_LIBS=`$PKG_CONFIG --libs "libprotobuf-c" 2>/dev/null`
25332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25335 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25341 …PROTOBUFC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libprotobuf-c" 2>…
25343 … PROTOBUFC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libprotobuf-c" 2>&1`
25349 # pkg-config failed; try falling back to known values
25350 # workaround for protobuf-c includes at old dir before protobuf-c-1.0.0
25351 if test -f /usr/include/google/protobuf-c/protobuf-c.h; then
25352 CFLAGS="$CFLAGS -I/usr/include/google"
25354 if test -f /usr/local/include/google/protobuf-c/protobuf-c.h; then
25355 CFLAGS="$CFLAGS -I/usr/local/include/google"
25356 LDFLAGS="$LDFLAGS -L/usr/local/lib"
25358 …as_fn_error $? "The protobuf-c package was not found with pkg-config. Please install protobuf-c!" …
25364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25367 # pkg-config failed; try falling back to known values
25368 # workaround for protobuf-c includes at old dir before protobuf-c-1.0.0
25369 if test -f /usr/include/google/protobuf-c/protobuf-c.h; then
25370 CFLAGS="$CFLAGS -I/usr/include/google"
25372 if test -f /usr/local/include/google/protobuf-c/protobuf-c.h; then
25373 CFLAGS="$CFLAGS -I/usr/local/include/google"
25374 LDFLAGS="$LDFLAGS -L/usr/local/lib"
25376 …as_fn_error $? "The protobuf-c package was not found with pkg-config. Please install protobuf-c!" …
25384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25392 # workaround for protobuf-c includes at old dir before protobuf-c-1.0.0
25393 if test -f /usr/include/google/protobuf-c/protobuf-c.h; then
25394 CFLAGS="$CFLAGS -I/usr/include/google"
25396 if test -f /usr/local/include/google/protobuf-c/protobuf-c.h; then
25397 CFLAGS="$CFLAGS -I/usr/local/include/google"
25398 LDFLAGS="$LDFLAGS -L/usr/local/lib"
25406 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing protobuf_c_message_p…
25413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25428 for ac_lib in '' protobuf-c
25430 if test -z "$ac_lib"; then
25433 ac_res=-l$ac_lib
25434 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
25440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_protobuf_c_message_pack" >&5
25464 …as_fn_error $? "The protobuf-c library was not found. Please install the development libraries for…
25475 hdr_dnstap_socket_path="`echo $opt_dnstap_socket_path | sed -e 's/\\\\/\\\\\\\\/g'`"
25482 DNSTAP_SOCKET_TESTBIN='unbound-dnstap-socket$(EXEEXT)'
25484 DNSTAP_SRC="dnstap/dnstap.c dnstap/dnstap.pb-c.c dnstap/dnstap_fstrm.c dnstap/dtstream.c"
25486 DNSTAP_OBJ="dnstap.lo dnstap.pb-c.lo dnstap_fstrm.lo dtstream.lo"
25500 # Check whether --enable-dnscrypt was given.
25511 # Check whether --with-libsodium was given.
25515 CFLAGS="$CFLAGS -I$withval/include"
25516 LDFLAGS="$LDFLAGS -L$withval/lib"
25520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sodium_init" >&5
25527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25544 if test -z "$ac_lib"; then
25547 ac_res=-l$ac_lib
25548 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
25554 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sodium_init" >&5
25581 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing crypto_box_curve2551…
25588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25605 if test -z "$ac_lib"; then
25608 ac_res=-l$ac_lib
25609 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
25615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypto_box_curve25519xchacha20p…
25651 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sodium_set_misuse_ha…
25658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25675 if test -z "$ac_lib"; then
25678 ac_res=-l$ac_lib
25679 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
25685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sodium_set_misuse_handler" >&5
25738 # Check whether --enable-cachedb was given.
25762 # Check whether --enable-ipsecmod was given.
25773 IPSECMOD_OBJ="ipsecmod.lo ipsecmod-whitelist.lo"
25775 IPSECMOD_HEADER='$(srcdir)/ipsecmod/ipsecmod.h $(srcdir)/ipsecmod/ipsecmod-whitelist.h'
25784 # Check whether --enable-ipset was given.
25816 # Check whether --with-libmnl was given.
25825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libmnl" >&5
25827 if test x_$withval = x_ -o x_$withval = x_yes; then
25831 if test -f "$dir/include/libmnl/libmnl.h" -o -f "$dir/include/libmnl/libmnl/libmnl.h"; then
25834 if test -f "$dir/include/libmnl/libmnl/libmnl.h"; then
25837 if test "$dir" != "/usr" -o -n "$extralibmnl"; then
25838 CPPFLAGS="$CPPFLAGS -I$dir/include$extralibmnl"
25841 LDFLAGS="$LDFLAGS -L$dir/lib"
25843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $dir" >&5
25845 LIBS="$LIBS -lmnl"
25861 # Check whether --enable-explicit-port-randomisation was given.
25877 if echo "$host" | $GREP -i -e linux >/dev/null; then
25878 # Check whether --enable-linux-ip-local-port-range was given.
25896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ${MAKE:-make} supports $< with implicit r…
25897 printf %s "checking if ${MAKE:-make} supports $< with implicit rule in scope... " >&6; }
25905 if test -f "\$<"; then touch \$@; fi
25909 if test -f "\$<"; then touch \$@; fi
25915 rm -f conftest.lo conftest.c
25916 ${MAKE:-make} -f conftest.make >/dev/null
25917 rm -f conftest.make conftest.c conftest.dir/conftest.c
25918 rm -rf conftest.dir
25919 if test ! -f conftest.lo; then
25920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25922 SOURCEDETERMINE='echo "$^" | awk "-F " "{print \$$1;}" > .source'
25925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25930 rm -f conftest.lo
25936 INSTALLTARGET="install-all"
25938 # Check whether --with-libunbound-only was given.
25944 INSTALLTARGET="install-lib"
25951 …as_fn_error $? "--with-nss can only be used in combination with --with-libunbound-only." "$LINENO"…
25954 …as_fn_error $? "--with-nettle can only be used in combination with --with-libunbound-only." "$LINE…
25962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Stripping extension flags..." >&5
25965 if echo $CFLAGS | grep " -D_GNU_SOURCE" >/dev/null 2>&1; then
25966 CFLAGS="`echo $CFLAGS | sed -e 's/ -D_GNU_SOURCE//g'`"
25973 if echo $CFLAGS | grep " -D_BSD_SOURCE" >/dev/null 2>&1; then
25974 CFLAGS="`echo $CFLAGS | sed -e 's/ -D_BSD_SOURCE//g'`"
25981 if echo $CFLAGS | grep " -D_DEFAULT_SOURCE" >/dev/null 2>&1; then
25982 CFLAGS="`echo $CFLAGS | sed -e 's/ -D_DEFAULT_SOURCE//g'`"
25989 if echo $CFLAGS | grep " -D__EXTENSIONS__" >/dev/null 2>&1; then
25990 CFLAGS="`echo $CFLAGS | sed -e 's/ -D__EXTENSIONS__//g'`"
25997 if echo $CFLAGS | grep " -D_POSIX_C_SOURCE=200112" >/dev/null 2>&1; then
25998 CFLAGS="`echo $CFLAGS | sed -e 's/ -D_POSIX_C_SOURCE=200112//g'`"
26005 if echo $CFLAGS | grep " -D_XOPEN_SOURCE=600" >/dev/null 2>&1; then
26006 CFLAGS="`echo $CFLAGS | sed -e 's/ -D_XOPEN_SOURCE=600//g'`"
26013 if echo $CFLAGS | grep " -D_XOPEN_SOURCE_EXTENDED=1" >/dev/null 2>&1; then
26014 CFLAGS="`echo $CFLAGS | sed -e 's/ -D_XOPEN_SOURCE_EXTENDED=1//g'`"
26021 if echo $CFLAGS | grep " -D_ALL_SOURCE" >/dev/null 2>&1; then
26022 CFLAGS="`echo $CFLAGS | sed -e 's/ -D_ALL_SOURCE//g'`"
26029 if echo $CFLAGS | grep " -D_LARGEFILE_SOURCE=1" >/dev/null 2>&1; then
26030 CFLAGS="`echo $CFLAGS | sed -e 's/ -D_LARGEFILE_SOURCE=1//g'`"
26037 if test -n "$LATE_LDFLAGS"; then
26041 LDFLAGS=`echo "$LDFLAGS"|sed -e 's/^ *//'`
26042 LIBS=`echo "$LIBS"|sed -e 's/^ *//'`
26052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for build time" >&5
26059 ax_build_date=`date -u -d "@$SOURCE_DATE_EPOCH" "+$ax_date_fmt" 2>/dev/null \
26060 || date -u -r "$SOURCE_DATE_EPOCH" "+$ax_date_fmt" 2>/dev/null`
26068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $date" >&5
26073 …und.8 doc/unbound-anchor.8 doc/unbound-checkconf.8 doc/unbound.conf.5 doc/unbound-control.8 doc/un…
26080 # scripts and configure runs, see configure's option --config-cache.
26085 # the --recheck option to rerun configure.
26099 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26104 …*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a n…
26118 # `set' does not quote correctly, so add quotes: double-quote
26120 sed -n \
26126 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26140 if test -w "$cache_file"; then
26142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26144 if test ! -f "$cache_file" || test -h "$cache_file"; then
26149 mv -f confcache "$cache_file"$$ &&
26150 mv -f "$cache_file"$$ "$cache_file" ;; #(
26152 mv -f confcache "$cache_file" ;;
26157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26161 rm -f confcache
26167 DEFS=-DHAVE_CONFIG_H
26186 if test -z "${USE_SYSTEMD_TRUE}" && test -z "${USE_SYSTEMD_FALSE}"; then
26195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26209 SHELL=\${CONFIG_SHELL-$SHELL}
26213 ## -------------------- ##
26215 ## -------------------- ##
26224 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26226 alias -g '${1+"$@"}'='"$@"'
26229 case `(set -o) 2>/dev/null` in #(
26231 set -o posix ;; #(
26245 # Quoting is to prevent editors from complaining about space-tab.
26255 # Ensure predictable behavior from utilities with locale-dependent output.
26262 # to be unset--not just set to an empty or harmless value--now, to
26263 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
26279 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26280 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26299 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
26310 if test ! -f "$as_myself"; then
26318 # ----------------------------------------
26324 as_status=$1; test $as_status -eq 0 && as_status=1
26326 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
26336 # -----------------------
26344 # -----------------
26345 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26354 # ---------------
26363 # ----------------------
26382 # ------------------
26395 as_val=`expr "$@" || test $? -eq 1`
26407 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26413 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26419 as_me=`$as_basename -- "$0" ||
26450 case `echo -n x` in #(((((
26451 -n*)
26459 ECHO_N='-n';;
26462 # For backward compatibility with old third-party macros, we provide
26468 rm -f conf$$ conf$$.exe conf$$.file
26469 if test -d conf$$.dir; then
26470 rm -f conf$$.dir/conf$$.file
26472 rm -f conf$$.dir
26476 if ln -s conf$$.file conf$$ 2>/dev/null; then
26477 as_ln_s='ln -s'
26479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26481 # In both cases, we have to default to `cp -pR'.
26482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26483 as_ln_s='cp -pR'
26487 as_ln_s='cp -pR'
26490 as_ln_s='cp -pR'
26492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26497 # -------------
26503 -*) as_dir=./$as_dir;;
26505 test -d "$as_dir" || eval $as_mkdir_p || {
26513 as_dir=`$as_dirname -- "$as_dir" ||
26536 test -d "$as_dir" && break
26538 test -z "$as_dirs" || eval "mkdir $as_dirs"
26539 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
26543 if mkdir -p . 2>/dev/null; then
26544 as_mkdir_p='mkdir -p "$as_dir"'
26546 test -d ./-p && rmdir ./-p
26552 # -----------------------
26556 test -f "$1" && test -x "$1"
26558 as_test_x='test -x'
26569 ## ----------------------------------- ##
26571 ## ----------------------------------- ##
26589 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26619 -h, --help print this help, then exit
26620 -V, --version print version number and configuration settings, then exit
26621 --config print configuration, then exit
26622 -q, --quiet, --silent
26624 -d, --debug don't remove temporary files
26625 --recheck update $as_me by reconfiguring in the same conditions
26626 --file=FILE[:TEMPLATE]
26628 --header=FILE[:TEMPLATE]
26640 Report bugs to <unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues>."
26659 test -n "\$AWK" || AWK=awk
26668 --*=?*)
26673 --*=)
26687 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26689 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26691 --config | --confi | --conf | --con | --co | --c )
26693 --debug | --debu | --deb | --de | --d | -d )
26695 --file | --fil | --fi | --f )
26703 --header | --heade | --head | --hea )
26710 --he | --h)
26711 # Conflict between --help and --header
26713 Try \`$0 --help' for more information.";;
26714 --help | --hel | -h )
26716 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26717 | -silent | --silent | --silen | --sile | --sil | --si | --s)
26721 -*) as_fn_error $? "unrecognized option: \`$1'
26722 Try \`$0 --help' for more information." ;;
26735 ac_configure_extra_args="$ac_configure_extra_args --silent"
26741 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26754 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26763 # INIT-COMMANDS
26767 # The HP-UX ksh and POSIX shell print the target directory to stdout
27003 # Double-quote double-evaled strings.
27026 …\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_s…
27038 if test -n "\${ZSH_VERSION+set}"; then
27060 "disable-rpath") CONFIG_COMMANDS="$CONFIG_COMMANDS disable-rpath" ;;
27065 "doc/unbound-anchor.8") CONFIG_FILES="$CONFIG_FILES doc/unbound-anchor.8" ;;
27066 "doc/unbound-checkconf.8") CONFIG_FILES="$CONFIG_FILES doc/unbound-checkconf.8" ;;
27068 "doc/unbound-control.8") CONFIG_FILES="$CONFIG_FILES doc/unbound-control.8" ;;
27069 "doc/unbound-host.1") CONFIG_FILES="$CONFIG_FILES doc/unbound-host.1" ;;
27070 …"smallapp/unbound-control-setup.sh") CONFIG_FILES="$CONFIG_FILES smallapp/unbound-control-setup.sh…
27105 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
27112 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27113 test -d "$tmp"
27116 tmp=./conf$$-$RANDOM
27124 if test -n "$CONFIG_FILES"; then
27151 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
27157 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27166 rm -f conf$$subs.sh
27171 sed -n '
27214 rm -f conf$$subs.awk
27277 fi # test -n "$CONFIG_FILES"
27282 if test -n "$CONFIG_HEADERS"; then
27288 # here-document in config.status, that substitutes the proper values into
27295 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
27296 if test -z "$ac_tt"; then
27310 sed -n '
27365 prefix = substr(line, 1, index(line, defundef) - 1)
27385 fi # test -n "$CONFIG_HEADERS"
27398 :[FH]-) ac_tag=-:-;;
27416 -) ac_f="$ac_tmp/stdin";;
27418 # (if the path is not absolute). The absolute path cannot be DOS-style,
27420 test -f "$ac_f" ||
27423 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27437 if test x"$ac_file" != x-; then
27439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27451 *:-:* | *:-) cat >"$ac_tmp/stdin" \
27457 ac_dir=`$as_dirname -- "$ac_file" ||
27538 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27541 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datar…
27542 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27564 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27577 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
27580 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27581 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
27582 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
27583 "$ac_tmp/out"`; test -z "$ac_out"; } &&
27584 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variab…
27589 rm -f "$ac_tmp/stdin"
27591 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
27592 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
27600 if test x"$ac_file" != x-; then
27603 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
27607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27610 rm -f "$ac_file"
27616 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
27617 || as_fn_error $? "could not create -" "$LINENO" 5
27621 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27632 if test -n "${ZSH_VERSION+set}"; then
27645 # Provide generalized library-building support services.
27720 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27721 Xsed="\$SED -e 1s/^X//"
27732 # A BSD- or MS-compatible name lister.
27793 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
27801 # Commands used to install an old-style archive.
27863 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27866 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27897 # Is shlibpath searched before the hard-coded library search path?
27904 # The last name is the one that the linker finds with -lNAME
27929 # Compile-time system search path for libraries.
27932 # Detected run-time system search path for libraries.
27959 # Commands used to build an old-style archive.
27980 # Does compiler simultaneously support -c and -o options?
27983 # Whether or not to add -lc for building shared libraries.
27998 # Create an old-style archive from a shared archive.
28001 # Create a temporary old-style archive to link instead of a shared archive.
28026 # Whether we need a single "-rpath" flag with a separated argument.
28039 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28092 # -----------------------------------
28117 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
28118 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
28127 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
28134 \-*) ;;
28138 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
28166 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28170 || (rm -f "$cfgfile"; exit 1)
28172 mv -f "$cfgfile" "$ofile" ||
28173 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28177 "disable-rpath":C)
28178 sed < libtool > libtool-2 \
28179 's/^hardcode_libdir_flag_spec.*$'/'hardcode_libdir_flag_spec=" -D__LIBTOOL_RPATH_SED__ "/'
28180 mv libtool-2 libtool
28209 ac_config_status_args="$ac_config_status_args --quiet"
28217 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28218 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts…