Lines Matching +full:python +full:- +full:packaging

2 # Guess values for system-dependent variables and create Makefiles.
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"
187 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
193 || 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
288 SHELL=${CONFIG_SHELL-/bin/sh}
294 ## --------------------- ##
296 ## --------------------- ##
298 # ---------------
308 # -----------------------
316 # -----------------
317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # ---------
334 # -------------
340 -*) as_dir=./$as_dir;;
342 test -d "$as_dir" || eval $as_mkdir_p || {
350 as_dir=`$as_dirname -- "$as_dir" ||
373 test -d "$as_dir" && break
375 test -z "$as_dirs" || eval "mkdir $as_dirs"
376 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
382 # -----------------------
386 test -f "$1" && test -x "$1"
389 # ----------------------
408 # ------------------
421 as_val=`expr "$@" || test $? -eq 1`
426 # ---------
435 # ----------------------------------------
441 as_status=$1; test $as_status -eq 0 && as_status=1
443 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
457 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
463 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_me=`$as_basename -- "$0" ||
500 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
501 sed -n '
506 s/[$]LINENO.*/&-/
514 s/-\n.*//
519 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
536 case `echo -n x` in #(((((
537 -n*)
545 ECHO_N='-n';;
548 # For backward compatibility with old third-party macros, we provide
555 rm -f conf$$ conf$$.exe conf$$.file
556 if test -d conf$$.dir; then
557 rm -f conf$$.dir/conf$$.file
559 rm -f conf$$.dir
563 if ln -s conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s='ln -s'
566 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
567 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
568 # In both cases, we have to default to `cp -pR'.
569 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
570 as_ln_s='cp -pR'
574 as_ln_s='cp -pR'
577 as_ln_s='cp -pR'
579 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
582 if mkdir -p . 2>/dev/null; then
583 as_mkdir_p='mkdir -p "$as_dir"'
585 test -d ./-p && rmdir ./-p
589 as_test_x='test -x'
598 SHELL=${CONFIG_SHELL-/bin/sh}
601 test -n "$DJDIR" || exec 7<&0 </dev/null
607 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
717 PYTHON
930 if test -n "$ac_prev"; then
943 --)
946 -bindir | --bindir | --bindi | --bind | --bin | --bi)
948 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
951 -build | --build | --buil | --bui | --bu)
953 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
956 -cache-file | --cache-file | --cache-fil | --cache-fi \
957 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
959 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
960 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
963 --config-cache | -C)
966 -datadir | --datadir | --datadi | --datad)
968 -datadir=* | --datadir=* | --datadi=* | --datad=*)
971 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
972 | --dataroo | --dataro | --datar)
974 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
975 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
978 -disable-* | --disable-*)
979 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
981 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
984 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
989 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
994 -docdir | --docdir | --docdi | --doc | --do)
996 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
999 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1001 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1004 -enable-* | --enable-*)
1005 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1007 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1010 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1015 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1020 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1021 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1022 | --exec | --exe | --ex)
1024 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1025 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1026 | --exec=* | --exe=* | --ex=*)
1029 -gas | --gas | --ga | --g)
1030 # Obsolete; use --with-gas.
1033 -help | --help | --hel | --he | -h)
1035 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1037 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1040 -host | --host | --hos | --ho)
1042 -host=* | --host=* | --hos=* | --ho=*)
1045 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1047 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1048 | --ht=*)
1051 -includedir | --includedir | --includedi | --included | --include \
1052 | --includ | --inclu | --incl | --inc)
1054 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1055 | --includ=* | --inclu=* | --incl=* | --inc=*)
1058 -infodir | --infodir | --infodi | --infod | --info | --inf)
1060 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1063 -libdir | --libdir | --libdi | --libd)
1065 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1068 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1069 | --libexe | --libex | --libe)
1071 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1072 | --libexe=* | --libex=* | --libe=*)
1075 -localedir | --localedir | --localedi | --localed | --locale)
1077 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1080 -localstatedir | --localstatedir | --localstatedi | --localstated \
1081 | --localstate | --localstat | --localsta | --localst | --locals)
1083 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1084 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1087 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1089 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1092 -nfp | --nfp | --nf)
1093 # Obsolete; use --without-fp.
1096 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1097 | --no-cr | --no-c | -n)
1100 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1101 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1104 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1105 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1106 | --oldin | --oldi | --old | --ol | --o)
1108 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1109 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1110 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1113 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1115 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1118 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1119 | --program-pre | --program-pr | --program-p)
1121 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1122 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1125 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1126 | --program-suf | --program-su | --program-s)
1128 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1129 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1132 -program-transform-name | --program-transform-name \
1133 | --program-transform-nam | --program-transform-na \
1134 | --program-transform-n | --program-transform- \
1135 | --program-transform | --program-transfor \
1136 | --program-transfo | --program-transf \
1137 | --program-trans | --program-tran \
1138 | --progr-tra | --program-tr | --program-t)
1140 -program-transform-name=* | --program-transform-name=* \
1141 | --program-transform-nam=* | --program-transform-na=* \
1142 | --program-transform-n=* | --program-transform-=* \
1143 | --program-transform=* | --program-transfor=* \
1144 | --program-transfo=* | --program-transf=* \
1145 | --program-trans=* | --program-tran=* \
1146 | --progr-tra=* | --program-tr=* | --program-t=*)
1149 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1151 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1154 -psdir | --psdir | --psdi | --psd | --ps)
1156 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1159 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1160 | -silent | --silent | --silen | --sile | --sil)
1163 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1165 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1166 | --sbi=* | --sb=*)
1169 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1170 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1171 | --sharedst | --shareds | --shared | --share | --shar \
1172 | --sha | --sh)
1174 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1175 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1176 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1177 | --sha=* | --sh=*)
1180 -site | --site | --sit)
1182 -site=* | --site=* | --sit=*)
1185 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1187 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1190 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1191 | --syscon | --sysco | --sysc | --sys | --sy)
1193 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1194 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1197 -target | --target | --targe | --targ | --tar | --ta | --t)
1199 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1202 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1205 -version | --version | --versio | --versi | --vers | -V)
1208 -with-* | --with-*)
1209 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1211 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1214 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1219 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1224 -without-* | --without-*)
1225 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1227 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1230 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1235 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1240 --x)
1241 # Obsolete; use --with-x.
1244 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1245 | --x-incl | --x-inc | --x-in | --x-i)
1247 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1248 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1251 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1252 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1254 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1255 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1258 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1259 Try \`$0 --help' for more information"
1266 '' | [0-9]* | *[!_$as_cr_alnum]* )
1274 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1275 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1283 if test -n "$ac_prev"; then
1284 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1288 if test -n "$ac_unrecognized_opts"; then
1314 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1318 # used to hold the argument of --host etc.
1334 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1339 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1340 ac_ls_di=`ls -di .` &&
1341 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1348 if test -z "$srcdir"; then
1351 ac_confdir=`$as_dirname -- "$as_myself" ||
1375 if test ! -r "$srcdir/$ac_unique_file"; then
1381 if test ! -r "$srcdir/$ac_unique_file"; then
1387 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1395 # mess up M-x gdb in Emacs.
1407 # Report the --help message.
1423 -h, --help display this help and exit
1424 --help=short display options specific to this package
1425 --help=recursive display the short help of all the included packages
1426 -V, --version display version information and exit
1427 -q, --quiet, --silent do not print \`checking ...' messages
1428 --cache-file=FILE cache test results in FILE [disabled]
1429 -C, --config-cache alias for \`--cache-file=config.cache'
1430 -n, --no-create do not create output files
1431 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1434 --prefix=PREFIX install architecture-independent files in PREFIX
1436 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1441 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1442 for instance \`--prefix=\$HOME'.
1447 --bindir=DIR user executables [EPREFIX/bin]
1448 --sbindir=DIR system admin executables [EPREFIX/sbin]
1449 --libexecdir=DIR program executables [EPREFIX/libexec]
1450 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1451 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1452 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1453 --libdir=DIR object code libraries [EPREFIX/lib]
1454 --includedir=DIR C header files [PREFIX/include]
1455 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1456 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1457 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1458 --infodir=DIR info documentation [DATAROOTDIR/info]
1459 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1460 --mandir=DIR man documentation [DATAROOTDIR/man]
1461 --docdir=DIR documentation root [DATAROOTDIR/doc/libdns]
1462 --htmldir=DIR html documentation [DOCDIR]
1463 --dvidir=DIR dvi documentation [DOCDIR]
1464 --pdfdir=DIR pdf documentation [DOCDIR]
1465 --psdir=DIR ps documentation [DOCDIR]
1471 --build=BUILD configure for building on BUILD [guessed]
1472 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1476 if test -n "$ac_init_help"; then
1483 --disable-option-checking ignore unrecognized --enable/--with options
1484 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1485 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1486 --enable-shared[=PKGS] build shared libraries [default=yes]
1487 --enable-static[=PKGS] build static libraries [default=yes]
1488 --enable-fast-install[=PKGS]
1490 --disable-libtool-lock avoid locking (might break parallel builds)
1491 --disable-ldns-config disable installation of ldns-config
1493 --enable-stderr-msgs Enable printing to stderr (default=disabled)
1494 --enable-poll This platform supports poll(7)
1495 --disable-sha2 Disable SHA256 and SHA512 RRSIG support
1496 --disable-gost Disable GOST support
1497 --enable-gost-anyway Enable GOST even without a GOST engine installed
1498 --disable-ecdsa Disable ECDSA support
1499 --disable-dsa Disable DSA support
1500 --disable-ed25519 Disable (experimental) ED25519 support. Default is
1502 --disable-ed448 Disable (experimental) ED448 support. Default is
1504 --disable-dane Disable DANE support
1505 --disable-dane-verify Disable DANE verify support
1506 --disable-dane-ta-usage Disable DANE-TA usage type support
1508 --enable-rrtype-ninfo Enable draft RR type ninfo.
1509 --enable-rrtype-rkey Enable draft RR type rkey.
1510 --disable-rrtype-openpgpkey
1512 --enable-rrtype-ta Enable draft RR type ta.
1513 --enable-rrtype-avc Enable draft RR type avc.
1514 --enable-rrtype-doa Enable draft RR type DOA.
1515 --enable-rrtype-amtrelay
1517 --disable-rrtype-svcb-https
1519 --disable-rpath disable hardcoded rpath (default=enabled)
1522 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1523 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1524 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1526 --with-aix-soname=aix|svr4|both
1529 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1530 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1532 --with-drill Also build drill.
1533 --with-examples Also build examples.
1534 --with-pyldns generate python library, or --without-pyldns to
1535 disable Python support.
1536 --without-pyldnsx Do not install the ldnsx python module, or
1537 --with-pyldnsx to install it.
1538 --with-p5-dns-ldns generate DNS::LDNS perl bindings
1539 --with-ssl=pathname enable SSL (will check /usr/local/ssl /usr/lib/ssl
1542 --with-xcode-sdk Set xcode SDK version. Default is autodetect
1543 --with-trust-anchor=KEYFILE
1545 and ldns-dane. [default=SYSCONFDIR/unbound/root.key]
1546 --with-ca-file=CAFILE File containing CA certificates for ldns-dane
1547 --with-ca-path=CAPATH Directory containing CA certificate files for
1548 ldns-dane
1553 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1555 LIBS libraries to pass to the linker, e.g. -l<library>
1556 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1559 User-defined run-time library search path.
1561 The installed Python version to use, for example '2.3'. This
1562 string will be appended to the Python interpreter canonical
1574 # If there are subdirs, report their specific --help.
1576 test -d "$ac_dir" ||
1577 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1615 # Metaconfig's "Configure" on case-insensitive file systems.
1616 if test -f "$ac_srcdir/configure.gnu"; then
1618 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1619 elif test -f "$ac_srcdir/configure"; then
1621 $SHELL "$ac_srcdir/configure" --help=recursive
1629 test -n "$ac_init_help" && exit $ac_status
1642 ## ------------------------ ##
1644 ## ------------------------ ##
1647 # --------------------------
1651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1652 rm -f conftest.$ac_objext conftest.beam
1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662 if test -s conftest.err; then
1663 grep -v '^ *+' conftest.err >conftest.er1
1665 mv -f conftest.er1 conftest.err
1667 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1669 test -z "$ac_c_werror_flag" ||
1670 test ! -s conftest.err
1671 } && test -s conftest.$ac_objext
1686 # -------------------------------------------------------
1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1709 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1719 # -----------------------
1723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1734 if test -s conftest.err; then
1735 grep -v '^ *+' conftest.err >conftest.er1
1737 mv -f conftest.er1 conftest.err
1739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741 test -z "$ac_c_werror_flag" ||
1742 test ! -s conftest.err
1743 } && test -s conftest$ac_exeext && {
1745 test -x conftest$ac_exeext
1759 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1766 # ----------------------------------
1770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1828 # -------------------------------------------
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1873 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1875 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1884 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
1885 # ------------------------------------------------------------------
1887 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
1890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1898 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1925 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1937 # ----------------------
1942 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1973 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1980 # --------------------------------------------
1981 # Tries to find the compile-time value of EXPR in a program that includes
1986 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1995 static int test_array [1 - 2 * !(($2) >= 0)];
2007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2013 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2026 if test $ac_lo -le $ac_mid; then
2032 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2041 static int test_array [1 - 2 * !(($2) < 0)];
2051 ac_hi=-1 ac_mid=-1
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2059 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2071 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2072 if test $ac_mid -le $ac_hi; then
2078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2085 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2088 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2095 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2158 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2160 rm -f conftest.val
2169 # ----------------------------------------------------
2174 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2217 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2219 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2260 ## --------- ##
2262 ## --------- ##
2264 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2265 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2266 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2267 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2268 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2270 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2271 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2274 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2301 ## ----------- ##
2303 ## ----------- ##
2309 # Strip out --no-create and --no-recursion so they do not pile up.
2310 # Strip out --silent because we don't want to record it for future runs.
2311 # Also quote any args containing shell meta-characters.
2312 # Make two passes to allow for proper duplicate-argument suppression.
2322 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2323 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2324 | -silent | --silent | --silen | --sile | --sil)
2337 *=* | --config-cache | -C | -disable-* | --disable-* \
2338 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2339 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2340 | -with-* | --with-* | -without-* | --without-* | --x)
2345 -* ) ac_must_keep_next=true ;;
2368 printf "%s\n" "## ---------------- ##
2370 ## ---------------- ##"
2374 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2379 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2392 sed -n \
2397 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2404 printf "%s\n" "## ----------------- ##
2406 ## ----------------- ##"
2418 if test -n "$ac_subst_files"; then
2419 printf "%s\n" "## ------------------- ##
2421 ## ------------------- ##"
2434 if test -s confdefs.h; then
2435 printf "%s\n" "## ----------- ##
2437 ## ----------- ##"
2446 rm -f core *.core core.conftest.* &&
2447 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2456 rm -f -r conftest* confdefs.h
2477 if test -n "$CONFIG_SITE"; then
2493 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2498 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2505 if test -r "$cache_file"; then
2508 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2554 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2557 as an "x". The following induces an error, until -std is added to get
2560 that is true only with -std. */
2561 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2563 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2566 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2620 static long long int bignum = -9223372036854775807LL;
2640 // See if C++-style comments work.
2703 ia->datasize = 10;
2704 for (int i = 0; i < ia->datasize; ++i)
2705 ia->data[i] = i * 1.234;
2718 dynamic_array[ni.number - 1] = 543;
2722 || dynamic_array[ni.number - 1] != 543);
2745 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2759 // Check UTF-8 literals.
2768 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2852 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2858 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2871 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2876 # As a special case, if "install-sh" is required, that requirement
2877 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2879 if test x"$ac_aux" = x"install-sh"
2881 if test -f "${as_dir}install-sh"; then
2882 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2883 ac_install_sh="${as_dir}install-sh -c"
2884 elif test -f "${as_dir}install.sh"; then
2885 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2886 ac_install_sh="${as_dir}install.sh -c"
2887 elif test -f "${as_dir}shtool"; then
2888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2889 ac_install_sh="${as_dir}shtool install -c"
2893 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2899 if test -f "${as_dir}${ac_aux}"; then
2900 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2932 if test -f "${ac_aux_dir}config.guess"; then
2935 if test -f "${ac_aux_dir}config.sub"; then
2938 if test -f "$ac_aux_dir/configure"; then
2952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2997 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3000 ## -------------------- ##
3002 ## -------------------- ##
3006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3021 # ---------------
3023 # (binary-api-number):(which-binary-api-version):(how-many-nrs-backwardscompat)
3031 # ldns-1.6.17 and before had a .so with version same as VERSION_INFO
3032 # ldns-1.7.0 had libversion 2:0:0
3033 # ldns-1.7.1 had libversion 3:0:0 (though it should have had 3:0:1)
3034 # ldns-1.8.0 had libversion 4:0:2 (though it should have had 4:0:1)
3035 # ldns-1.8.1 had libversion 5:0:2
3036 # ldns-1.8.1 had libversion 6:0:3
3037 # ldns-1.8.2 had libversion 7:0:4
3038 # ldns-1.8.3 has libversion 8:0:5
3054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3057 if test -n "$ac_tool_prefix"; then
3060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3066 if test -n "$CC"; then
3081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3091 if test -n "$CC"; then
3092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3101 if test -z "$ac_cv_prog_CC"; then
3105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3111 if test -n "$ac_ct_CC"; then
3126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3136 if test -n "$ac_ct_CC"; then
3137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3159 if test -z "$CC"; then
3160 if test -n "$ac_tool_prefix"; then
3163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3169 if test -n "$CC"; then
3184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3194 if test -n "$CC"; then
3195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205 if test -z "$CC"; then
3208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3214 if test -n "$CC"; then
3234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3256 if test -n "$CC"; then
3257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3266 if test -z "$CC"; then
3267 if test -n "$ac_tool_prefix"; then
3272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3278 if test -n "$CC"; then
3293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3303 if test -n "$CC"; then
3304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3312 test -n "$CC" && break
3315 if test -z "$CC"; then
3321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3327 if test -n "$ac_ct_CC"; then
3342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3352 if test -n "$ac_ct_CC"; then
3353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3361 test -n "$ac_ct_CC" && break
3369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3378 if test -z "$CC"; then
3379 if test -n "$ac_tool_prefix"; then
3382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3388 if test -n "$CC"; then
3403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3413 if test -n "$CC"; then
3414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3423 if test -z "$ac_cv_prog_CC"; then
3427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3433 if test -n "$ac_ct_CC"; then
3448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3458 if test -n "$ac_ct_CC"; then
3459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3484 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3490 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3493 for ac_option in --version -v -V -qversion -version; do
3499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3503 if test -s conftest.err; then
3509 rm -f conftest.er1 conftest.err
3510 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527 # Try to create an executable without -o first, disregard a.out.
3530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3532 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3545 rm -f $ac_rmfiles
3552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3556 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3559 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3562 # so that the user can short-circuit this test for compilers unknown to
3566 test -f "$ac_file" || continue
3580 # safe: cross compilers may not add the suffix if given an `-o'
3594 if test -z "$ac_file"
3596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3601 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3615 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3628 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3636 test -f "$ac_file" || continue
3645 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3650 rm -f conftest conftest$ac_cv_exeext
3651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3654 rm -f conftest.$ac_ext
3657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3696 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3703 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3706 If you meant to cross compile, use \`--host'.
3711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3714 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3733 rm -f conftest.o conftest.obj
3739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3747 test -f "$ac_file" || continue;
3758 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3763 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3795 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3811 printf %s "checking whether $CC accepts -g... " >&6; }
3819 CFLAGS="-g"
3820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3852 CFLAGS="-g"
3853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3870 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3872 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3881 CFLAGS="-g -O2"
3883 CFLAGS="-g"
3887 CFLAGS="-O2"
3895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3907 for ac_arg in '' -std=gnu11
3914 rm -f core conftest.err conftest.$ac_objext conftest.beam
3917 rm -f conftest.$ac_ext
3923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3960 rm -f core conftest.err conftest.$ac_objext conftest.beam
3963 rm -f conftest.$ac_ext
3969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4006 rm -f core conftest.err conftest.$ac_objext conftest.beam
4009 rm -f conftest.$ac_ext
4015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4099 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
4113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4148 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4150 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
4219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4267 *-*-*) ;;
4271 ac_save_IFS=$IFS; IFS='-'
4281 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4301 *-*-*) ;;
4305 ac_save_IFS=$IFS; IFS='-'
4315 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4319 # double-quoted strings.
4339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4342 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4343 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4344 ECHO='print -r --'
4359 # Invoke $ECHO with all args, space-separated.
4366 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4368 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4369 printf "%s\n" "print -r" >&6; } ;;
4370 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4399 if test -z "$SED"; then
4401 # Loop through the user's path and test for each of PROGNAME-LIST
4418 case `"$ac_path_SED" --version 2>&1` in
4430 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4433 if test $ac_count -gt ${ac_path_SED_max-0}; then
4439 test $ac_count -gt 10 && break
4441 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4449 if test -z "$ac_cv_path_SED"; then
4457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4460 rm -f conftest.sed
4462 test -z "$SED" && SED=sed
4463 Xsed="$SED -e 1s/^X//"
4475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4476 printf %s "checking for grep that handles long lines and -e... " >&6; }
4481 if test -z "$GREP"; then
4483 # Loop through the user's path and test for each of PROGNAME-LIST
4500 case `"$ac_path_GREP" --version 2>&1` in
4512 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4515 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4521 test $ac_count -gt 10 && break
4523 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4531 if test -z "$ac_cv_path_GREP"; then
4539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4550 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4551 then ac_cv_path_EGREP="$GREP -E"
4553 if test -z "$EGREP"; then
4555 # Loop through the user's path and test for each of PROGNAME-LIST
4572 case `"$ac_path_EGREP" --version 2>&1` in
4587 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4593 test $ac_count -gt 10 && break
4595 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4603 if test -z "$ac_cv_path_EGREP"; then
4612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4623 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4624 then ac_cv_path_FGREP="$GREP -F"
4626 if test -z "$FGREP"; then
4628 # Loop through the user's path and test for each of PROGNAME-LIST
4645 case `"$ac_path_FGREP" --version 2>&1` in
4660 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4666 test $ac_count -gt 10 && break
4668 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4676 if test -z "$ac_cv_path_FGREP"; then
4685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4690 test -z "$GREP" && GREP=grep
4710 # Check whether --with-gnu-ld was given.
4720 # Check if gcc -print-prog-name=ld gives a path.
4721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4724 *-*-mingw*)
4726 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4728 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4739 test -z "$LD" && LD=$ac_prog
4751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4755 printf %s "checking for non-GNU ld... " >&6; }
4761 if test -z "$LD"; then
4765 test -z "$ac_dir" && ac_dir=.
4766 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4768 # Check to see if the program is GNU ld. I'd rather use --version,
4769 # but apparently some variants of GNU ld only accept -v.
4770 # Break only if it was the GNU/non-GNU ld that we prefer.
4771 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4788 if test -n "$LD"; then
4789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4795 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4802 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4803 case `$LD -v 2>&1 </dev/null` in
4812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4825 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4830 if test -n "$NM"; then
4835 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4842 test -z "$ac_dir" && ac_dir=.
4844 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4845 # Check to see if the nm accepts a BSD-compat flag.
4846 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4854 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4856 lt_cv_path_NM="$tmp_nm -B"
4860 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4862 lt_cv_path_NM="$tmp_nm -p"
4879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4885 if test -n "$DUMPBIN"; then :
4888 if test -n "$ac_tool_prefix"; then
4889 for ac_prog in dumpbin "link -dump"
4893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 if test -n "$DUMPBIN"; then
4914 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4924 if test -n "$DUMPBIN"; then
4925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4933 test -n "$DUMPBIN" && break
4936 if test -z "$DUMPBIN"; then
4938 for ac_prog in dumpbin "link -dump"
4942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4948 if test -n "$ac_ct_DUMPBIN"; then
4963 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4973 if test -n "$ac_ct_DUMPBIN"; then
4974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4982 test -n "$ac_ct_DUMPBIN" && break
4990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4998 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5000 DUMPBIN="$DUMPBIN -symbols -headers"
5012 test -z "$NM" && NM=nm
5019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5038 rm -f conftest*
5040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5044 printf %s "checking whether ln -s works... " >&6; }
5046 if test "$LN_S" = "ln -s"; then
5047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5076 # Libtool will interpret -1 as no limit whatsoever
5077 lt_cv_sys_max_cmd_len=-1;
5081 # On Win9x/ME, this test blows up -- it succeeds, but takes
5083 # Worse, since 9x/ME are not pre-emptively multitasking,
5104 if test -x /sbin/sysctl; then
5105 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5106 elif test -x /usr/sbin/sysctl; then
5107 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5133 if test -x /sbin/sysconfig; then
5134 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5135 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5144 if test -n "$kargmax"; then
5152 if test -n "$lt_cv_sys_max_cmd_len" && \
5162 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5163 # If test is not a shell built-in, we'll probably end up computing a
5186 if test -n "$lt_cv_sys_max_cmd_len"; then
5187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
5200 : ${CP="cp -f"}
5201 : ${MV="mv -f"}
5202 : ${RM="rm -f"}
5235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5242 *-*-mingw* )
5244 *-*-mingw* ) # actually msys
5247 *-*-cygwin* )
5255 *-*-cygwin* )
5257 *-*-mingw* ) # actually msys
5260 *-*-cygwin* )
5276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5292 *-*-mingw* )
5294 *-*-mingw* ) # actually msys
5304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5317 lt_cv_ld_reload_flag='-r'
5319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5326 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5335 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5337 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5350 if test -n "$ac_tool_prefix"; then
5353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5359 if test -n "$OBJDUMP"; then
5374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5384 if test -n "$OBJDUMP"; then
5385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394 if test -z "$ac_cv_prog_OBJDUMP"; then
5398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5404 if test -n "$ac_ct_OBJDUMP"; then
5419 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5429 if test -n "$ac_ct_OBJDUMP"; then
5430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5452 test -z "$OBJDUMP" && OBJDUMP=objdump
5462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5473 # 'none' -- dependencies not supported.
5474 # 'unknown' -- same as none, but documents that we really don't know.
5475 # 'pass_all' -- all dependencies passed with no checks.
5476 # 'test_compile' -- check by making test program.
5477 # 'file_magic [[regex]]' -- check by looking for files in library path
5483 aix[4-9]*)
5492 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5493 lt_cv_file_magic_cmd='/usr/bin/file -L'
5506 # unless we find 'file', for example because we are cross-compiling.
5512 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5513 lt_cv_file_magic_cmd='$OBJDUMP -f'
5519 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5520 lt_cv_file_magic_cmd='$OBJDUMP -f'
5528 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5533 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5551 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5555 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5559 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5565 interix[3-9]*)
5572 *-32|*"-32 ") libmagic=32-bit;;
5573 *-n32|*"-n32 ") libmagic=N32;;
5574 *-64|*"-64 ") libmagic=64-bit;;
5575 *) libmagic=never-match;;
5581 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5585 netbsd* | netbsdelf*-gnu)
5586 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5587 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5594 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5604 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5605 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5607 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5630 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5638 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5642 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5674 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5682 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5705 if test -n "$ac_tool_prefix"; then
5708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714 if test -n "$DLLTOOL"; then
5729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5739 if test -n "$DLLTOOL"; then
5740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749 if test -z "$ac_cv_prog_DLLTOOL"; then
5753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5759 if test -n "$ac_ct_DLLTOOL"; then
5774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5784 if test -n "$ac_ct_DLLTOOL"; then
5785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5807 test -z "$DLLTOOL" && DLLTOOL=dlltool
5818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5830 case `$DLLTOOL --help 2>&1` in
5831 *--identify-strict*)
5846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5849 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5857 if test -n "$ac_tool_prefix"; then
5862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5868 if test -n "$AR"; then
5883 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5893 if test -n "$AR"; then
5894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5902 test -n "$AR" && break
5905 if test -z "$AR"; then
5911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5917 if test -n "$ac_ct_AR"; then
5932 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5942 if test -n "$ac_ct_AR"; then
5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5951 test -n "$ac_ct_AR" && break
5959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6002 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6005 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6007 if test 0 -eq "$ac_status"; then
6009 rm -f conftest.$ac_objext libconftest.a
6010 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6015 if test 0 -ne "$ac_status"; then
6019 rm -f conftest.* libconftest.a
6022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6040 if test -n "$ac_tool_prefix"; then
6043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6049 if test -n "$STRIP"; then
6064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6074 if test -n "$STRIP"; then
6075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6084 if test -z "$ac_cv_prog_STRIP"; then
6088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6094 if test -n "$ac_ct_STRIP"; then
6109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6119 if test -n "$ac_ct_STRIP"; then
6120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6142 test -z "$STRIP" && STRIP=:
6149 if test -n "$ac_tool_prefix"; then
6152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6158 if test -n "$RANLIB"; then
6173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6183 if test -n "$RANLIB"; then
6184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6193 if test -z "$ac_cv_prog_RANLIB"; then
6197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6203 if test -n "$ac_ct_RANLIB"; then
6218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6228 if test -n "$ac_ct_RANLIB"; then
6229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6251 test -z "$RANLIB" && RANLIB=:
6258 # Determine commands to create old-style static archives.
6263 if test -n "$RANLIB"; then
6266 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6312 if test -n "$AWK"; then
6327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6337 if test -n "$AWK"; then
6338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6346 test -n "$AWK" && break
6368 LTCC=${LTCC-"$CC"}
6371 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6392 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6394 # Define system-specific variables.
6431 case `$NM -V 2>&1` in
6438 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6440 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6441 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6443 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6444 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6456 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6458 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6459 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6462 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6464 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6465 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6469 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6471 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6472 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6473 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6491 # Fake it for dumpbin and say T for any non-static function,
6511 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6518 rm -f conftest*
6532 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6535 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6540 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
6543 mv -f "$nlist"T "$nlist"
6545 rm -f "$nlist"T
6555 relocations are performed -- see ld's documentation on pseudo-relocs. */
6570 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6583 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6605 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6608 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6609 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6627 rm -rf conftest* conftst*
6639 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6642 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6653 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6696 # Check whether --with-sysroot was given.
6709 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6713 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6725 printf "%s\n" "${lt_sysroot:-no}" >&6; }
6731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6740 if test -z "$lt_DD"; then
6742 # Loop through the user's path and test for each of PROGNAME-LIST
6758 cmp -s conftest.i conftest.out \
6766 if test -z "$ac_cv_path_lt_DD"; then
6773 rm -f conftest.i conftest2.i conftest.out
6775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6789 cmp -s conftest.i conftest.out \
6792 rm -f conftest.i conftest2.i conftest.out
6793 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6804 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6811 \-*) ;;
6815 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6818 # Check whether --enable-libtool-lock was given.
6829 ia64-*-hpux*)
6833 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6836 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6839 *ELF-32*)
6842 *ELF-64*)
6847 rm -rf conftest*
6849 *-*-irix6*)
6853 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6856 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6860 *32-bit*)
6861 LD="${LD-ld} -melf32bsmip"
6864 LD="${LD-ld} -melf32bmipn32"
6866 *64-bit*)
6867 LD="${LD-ld} -melf64bmip"
6872 *32-bit*)
6873 LD="${LD-ld} -32"
6876 LD="${LD-ld} -n32"
6878 *64-bit*)
6879 LD="${LD-ld} -64"
6884 rm -rf conftest*
6887 mips64*-*linux*)
6891 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6894 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6898 *32-bit*)
6901 *64-bit*)
6918 LD="${LD-ld} -m $emul"
6920 rm -rf conftest*
6923 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6924 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6928 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6932 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6935 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6938 *32-bit*)
6940 x86_64-*kfreebsd*-gnu)
6941 LD="${LD-ld} -m elf_i386_fbsd"
6943 x86_64-*linux*)
6945 *x86-64*)
6946 LD="${LD-ld} -m elf32_x86_64"
6949 LD="${LD-ld} -m elf_i386"
6953 powerpc64le-*linux*)
6954 LD="${LD-ld} -m elf32lppclinux"
6956 powerpc64-*linux*)
6957 LD="${LD-ld} -m elf32ppclinux"
6959 s390x-*linux*)
6960 LD="${LD-ld} -m elf_s390"
6962 sparc64-*linux*)
6963 LD="${LD-ld} -m elf32_sparc"
6967 *64-bit*)
6969 x86_64-*kfreebsd*-gnu)
6970 LD="${LD-ld} -m elf_x86_64_fbsd"
6972 x86_64-*linux*)
6973 LD="${LD-ld} -m elf_x86_64"
6975 powerpcle-*linux*)
6976 LD="${LD-ld} -m elf64lppc"
6978 powerpc-*linux*)
6979 LD="${LD-ld} -m elf64ppc"
6981 s390*-*linux*|s390*-*tpf*)
6982 LD="${LD-ld} -m elf64_s390"
6984 sparc*-*linux*)
6985 LD="${LD-ld} -m elf64_sparc"
6991 rm -rf conftest*
6994 *-*-sco3.2v5*)
6995 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6997 CFLAGS="$CFLAGS -belf"
6998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6999 printf %s "checking whether the C compiler needs -belf... " >&6; }
7006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7039 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7043 *-*solaris*)
7047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7050 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7053 *64-bit*)
7057 i?86-*-solaris*|x86_64-*-solaris*)
7058 LD="${LD-ld} -m elf_x86_64"
7060 sparc*-*-solaris*)
7061 LD="${LD-ld} -m elf64_sparc"
7065 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7066 LD=${LD-ld}_sol2
7070 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7071 LD="${LD-ld} -64"
7078 rm -rf conftest*
7084 if test -n "$ac_tool_prefix"; then
7087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7093 if test -n "$MANIFEST_TOOL"; then
7108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7118 if test -n "$MANIFEST_TOOL"; then
7119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7128 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138 if test -n "$ac_ct_MANIFEST_TOOL"; then
7153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7163 if test -n "$ac_ct_MANIFEST_TOOL"; then
7164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7186 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7194 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7195 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7200 rm -f conftest*
7202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7215 if test -n "$ac_tool_prefix"; then
7218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7224 if test -n "$DSYMUTIL"; then
7239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7249 if test -n "$DSYMUTIL"; then
7250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7259 if test -z "$ac_cv_prog_DSYMUTIL"; then
7263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7269 if test -n "$ac_ct_DSYMUTIL"; then
7284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7294 if test -n "$ac_ct_DSYMUTIL"; then
7295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7317 if test -n "$ac_tool_prefix"; then
7320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326 if test -n "$NMEDIT"; then
7341 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7351 if test -n "$NMEDIT"; then
7352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7361 if test -z "$ac_cv_prog_NMEDIT"; then
7365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7371 if test -n "$ac_ct_NMEDIT"; then
7386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7396 if test -n "$ac_ct_NMEDIT"; then
7397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7419 if test -n "$ac_tool_prefix"; then
7422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7428 if test -n "$LIPO"; then
7443 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7453 if test -n "$LIPO"; then
7454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7463 if test -z "$ac_cv_prog_LIPO"; then
7467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7473 if test -n "$ac_ct_LIPO"; then
7488 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7498 if test -n "$ac_ct_LIPO"; then
7499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7521 if test -n "$ac_tool_prefix"; then
7524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7530 if test -n "$OTOOL"; then
7545 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7555 if test -n "$OTOOL"; then
7556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7565 if test -z "$ac_cv_prog_OTOOL"; then
7569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7575 if test -n "$ac_ct_OTOOL"; then
7590 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7600 if test -n "$ac_ct_OTOOL"; then
7601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7623 if test -n "$ac_tool_prefix"; then
7626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7632 if test -n "$OTOOL64"; then
7647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7657 if test -n "$OTOOL64"; then
7658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7667 if test -z "$ac_cv_prog_OTOOL64"; then
7671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7677 if test -n "$ac_ct_OTOOL64"; then
7692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7702 if test -n "$ac_ct_OTOOL64"; then
7703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7752 printf %s "checking for -single_module linker flag... " >&6; }
7758 if test -z "$LT_MULTI_MODULE"; then
7759 # By default we will add the -single_module flag. You can override
7761 # non-empty at configure time, or by adding -multi_module to the
7763 rm -rf libconftest.dylib*
7765 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7766 -dynamiclib -Wl,-single_module conftest.c" >&5
7767 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7768 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7770 # If there is a non-empty error log, and "single_module"
7772 if test -s conftest.err && $GREP single_module conftest.err; then
7776 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7781 rm -rf libconftest.dylib*
7782 rm -f conftest.*
7785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7789 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
7797 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7824 printf %s "checking for -force_load linker flag... " >&6; }
7833 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7834 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7842 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7843 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7845 if test -s conftest.err && $GREP force_load conftest.err; then
7847 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7852 rm -f conftest.err libconftest.a conftest conftest.c
7853 rm -rf conftest.dSYM
7856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7860 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7862 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7867 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7868 10.0,*86*-darwin8*|10.0,*-darwin[912]*)
7869 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7871 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7873 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7881 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7883 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7894 # -----------------------------------
7919 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7920 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7950 # Check whether --enable-shared was given.
7953 enableval=$enable_shared; p=${PACKAGE-default}
7982 # Check whether --enable-static was given.
7985 enableval=$enable_static; p=${PACKAGE-default}
8015 # Check whether --with-pic was given.
8018 withval=$with_pic; lt_p=${PACKAGE-default}
8045 # Check whether --enable-fast-install was given.
8048 enableval=$enable_fast_install; p=${PACKAGE-default}
8078 power*-*-aix[5-9]*,yes)
8079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8082 # Check whether --with-aix-soname was given.
8089 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8110 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8112 if test 64 = "${OBJECT_MODE-32}"; then
8168 test -z "$LN_S" && LN_S="ln -s"
8183 if test -n "${ZSH_VERSION+set}"; then
8187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8193 rm -f .libs 2>/dev/null
8195 if test -d .libs; then
8198 # MS-DOS does not allow filenames that begin with a dot.
8203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8242 test -z "$CC" && CC=cc
8243 test -z "$LTCC" && LTCC=$CC
8244 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8245 test -z "$LD" && LD=ld
8246 test -z "$ac_objext" && ac_objext=o
8253 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8273 test -z "$ac_dir" && ac_dir=.
8274 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8276 if test -n "$file_magic_test_file"; then
8294 *** bug-libtool@gnu.org
8310 if test -n "$MAGIC_CMD"; then
8311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 if test -z "$lt_cv_path_MAGIC_CMD"; then
8323 if test -n "$ac_tool_prefix"; then
8324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8340 test -z "$ac_dir" && ac_dir=.
8341 if test -f "$ac_dir/file"; then
8343 if test -n "$file_magic_test_file"; then
8361 *** bug-libtool@gnu.org
8377 if test -n "$MAGIC_CMD"; then
8378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8425 LTCC=${LTCC-"$CC"}
8428 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8448 $RM -r conftest*
8455 if test -n "$compiler"; then
8462 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8464 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8468 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8476 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8483 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8484 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8485 -e 's:$: $lt_compiler_flag:'`
8491 if (exit $ac_status) && test -s "$ac_outfile"; then
8496 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8507 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8525 lt_prog_compiler_wl='-Wl,'
8526 lt_prog_compiler_static='-static'
8533 lt_prog_compiler_static='-Bstatic'
8535 lt_prog_compiler_pic='-fPIC'
8542 lt_prog_compiler_pic='-fPIC'
8546 # adding the '-m68020' flag to GCC prevents building anything better,
8547 # like '-m68040'.
8548 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8560 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8561 # (--disable-auto-import) libraries
8562 lt_prog_compiler_pic='-DDLL_EXPORT'
8565 lt_prog_compiler_static='$wl-static'
8573 lt_prog_compiler_pic='-fno-common'
8578 # The "-static" flag exists, but is broken.
8583 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8584 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8591 lt_prog_compiler_pic='-fPIC'
8596 interix[3-9]*)
8597 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8609 # QNX uses GNU C++, but need to define -shared option too, otherwise
8611 lt_prog_compiler_pic='-fPIC -shared'
8615 if test -d /usr/nec; then
8616 lt_prog_compiler_pic=-Kconform_pic
8621 lt_prog_compiler_pic='-fPIC'
8627 lt_prog_compiler_wl='-Xlinker '
8628 if test -n "$lt_prog_compiler_pic"; then
8629 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8637 lt_prog_compiler_wl='-Wl,'
8640 lt_prog_compiler_static='-Bstatic'
8642 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8649 lt_prog_compiler_pic='-fno-common'
8653 lt_prog_compiler_wl='-Wl,-Wl,,'
8654 lt_prog_compiler_pic='-PIC'
8655 lt_prog_compiler_static='-Bstatic'
8663 lt_prog_compiler_pic='-DDLL_EXPORT'
8666 lt_prog_compiler_static='$wl-static'
8672 lt_prog_compiler_wl='-Wl,'
8673 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8674 # not for PA HP-UX.
8684 lt_prog_compiler_static='$wl-a ${wl}archive'
8688 lt_prog_compiler_wl='-Wl,'
8689 # PIC (with -KPIC) is the default.
8690 lt_prog_compiler_static='-non_shared'
8693 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8695 # old Intel for x86_64, which still supported -KPIC.
8697 lt_prog_compiler_wl='-Wl,'
8698 lt_prog_compiler_pic='-KPIC'
8699 lt_prog_compiler_static='-static'
8703 lt_prog_compiler_wl='-Wl,'
8704 lt_prog_compiler_pic='-fPIC'
8705 lt_prog_compiler_static='-static'
8708 # ICC 10 doesn't accept -KPIC any more.
8710 lt_prog_compiler_wl='-Wl,'
8711 lt_prog_compiler_pic='-fPIC'
8712 lt_prog_compiler_static='-static'
8716 lt_prog_compiler_wl='-Wl,'
8717 lt_prog_compiler_pic='--shared'
8718 lt_prog_compiler_static='--static'
8722 lt_prog_compiler_wl='-Wl,-Wl,,'
8723 lt_prog_compiler_pic='-PIC'
8724 lt_prog_compiler_static='-Bstatic'
8728 lt_prog_compiler_wl='-Wl,'
8729 lt_prog_compiler_pic='-fPIC'
8730 lt_prog_compiler_static='-static'
8735 lt_prog_compiler_wl='-Wl,'
8736 lt_prog_compiler_pic='-fpic'
8737 lt_prog_compiler_static='-Bstatic'
8740 lt_prog_compiler_wl='-Wl,'
8742 lt_prog_compiler_static='-non_shared'
8746 lt_prog_compiler_wl='-Wl,'
8747 lt_prog_compiler_pic='-qpic'
8748 lt_prog_compiler_static='-qstaticlink'
8751 case `$CC -V 2>&1 | sed 5q` in
8752 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8754 lt_prog_compiler_pic='-KPIC'
8755 lt_prog_compiler_static='-Bstatic'
8759 lt_prog_compiler_pic='-KPIC'
8760 lt_prog_compiler_static='-Bstatic'
8761 lt_prog_compiler_wl='-Qoption ld '
8765 lt_prog_compiler_pic='-KPIC'
8766 lt_prog_compiler_static='-Bstatic'
8767 lt_prog_compiler_wl='-Wl,'
8770 lt_prog_compiler_wl='-Wl,'
8771 lt_prog_compiler_pic='-fPIC'
8772 lt_prog_compiler_static='-static'
8775 lt_prog_compiler_wl='-Wl,'
8776 lt_prog_compiler_pic='-fpic'
8777 lt_prog_compiler_static='-Bstatic'
8785 lt_prog_compiler_pic='-KPIC'
8786 lt_prog_compiler_static='-Bstatic'
8790 # QNX uses GNU C++, but need to define -shared option too, otherwise
8792 lt_prog_compiler_pic='-fPIC -shared'
8796 lt_prog_compiler_wl='-Wl,'
8798 lt_prog_compiler_static='-non_shared'
8802 lt_prog_compiler_static='-non_shared'
8806 lt_prog_compiler_pic='-KPIC'
8807 lt_prog_compiler_static='-Bstatic'
8810 lt_prog_compiler_wl='-Qoption ld ';;
8812 lt_prog_compiler_wl='-Wl,';;
8817 lt_prog_compiler_wl='-Qoption ld '
8818 lt_prog_compiler_pic='-PIC'
8819 lt_prog_compiler_static='-Bstatic'
8823 lt_prog_compiler_wl='-Wl,'
8824 lt_prog_compiler_pic='-KPIC'
8825 lt_prog_compiler_static='-Bstatic'
8829 if test -d /usr/nec; then
8830 lt_prog_compiler_pic='-Kconform_pic'
8831 lt_prog_compiler_static='-Bstatic'
8836 lt_prog_compiler_wl='-Wl,'
8837 lt_prog_compiler_pic='-KPIC'
8838 lt_prog_compiler_static='-Bstatic'
8842 lt_prog_compiler_wl='-Wl,'
8847 lt_prog_compiler_pic='-pic'
8848 lt_prog_compiler_static='-Bstatic'
8858 # For platforms that do not support PIC, -DPIC is meaningless:
8863 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8882 if test -n "$lt_prog_compiler_pic"; then
8883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8892 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
8899 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8900 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8901 -e 's:$: $lt_compiler_flag:'`
8907 if (exit $ac_status) && test -s "$ac_outfile"; then
8912 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8958 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8961 if test -s conftest.err; then
8973 $RM -r conftest*
8977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8993 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8999 $RM -r conftest 2>/dev/null
9005 lt_compiler_flag="-o out/conftest2.$ac_objext"
9011 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9012 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9013 -e 's:$: $lt_compiler_flag:'`
9019 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9025 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9033 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9036 $RM -r conftest
9040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9049 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9055 $RM -r conftest 2>/dev/null
9061 lt_compiler_flag="-o out/conftest2.$ac_objext"
9067 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9068 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9069 -e 's:$: $lt_compiler_flag:'`
9075 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9081 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9089 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9092 $RM -r conftest
9096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9117 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9156 # include_expsyms should be a list of space-separated symbols to be *always*
9188 linux* | k*bsd*-gnu | gnu*)
9205 case `$LD -v 2>&1` in
9207 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9208 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9228 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9229 export_dynamic_flag_spec='$wl--export-dynamic'
9230 # ancient GNU ld didn't support --whole-archive et. al.
9231 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9232 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9237 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9239 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9248 aix[3-9]*)
9258 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9269 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9273 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9274 hardcode_libdir_flag_spec='-L$libdir'
9281 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9284 # support --undefined. This deserves some investigation. FIXME
9285 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9294 hardcode_libdir_flag_spec='-L$libdir'
9295 export_dynamic_flag_spec='$wl--export-all-symbols'
9299 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9300 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9302 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9303 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9304 # If the export-symbols file already is a .def file, use it as
9306 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9312 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9319 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9324 hardcode_libdir_flag_spec='-L$libdir'
9333 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9334 emximp -o $lib $output_objdir/$libname.def'
9341 prefix_cmds="$prefix_cmds -e 1d";
9343 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9345 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9346 emximp -o $lib $output_objdir/$libname.def'
9347 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9351 interix[3-9]*)
9354 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9355 export_dynamic_flag_spec='$wl-E'
9360 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9362 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9363 archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9366 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9368 if test linux-dietlibc = "$host_os"; then
9370 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9373 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9377 tmp_sharedflag='-shared'
9380 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9385 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9386 tmp_addflag=' $pic_flag -Mnomain' ;;
9388 tmp_addflag=' -i_dynamic' ;;
9390 tmp_addflag=' -i_dynamic -nofor_main' ;;
9392 tmp_addflag=' -nofor_main' ;;
9395 tmp_sharedflag='--shared' ;;
9397 tmp_sharedflag='-Wl,-shared' ;;
9399 tmp_sharedflag='-qmkshrobj'
9402 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9406 case `$CC -V 2>&1 | sed 5q` in
9408 whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9410 tmp_sharedflag='-G' ;;
9412 tmp_sharedflag='-G' ;;
9414 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9418 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9420 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9425 export_dynamic_flag_spec='-rdynamic'
9429 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9430 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9431 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9434 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9436 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9445 netbsd* | netbsdelf*-gnu)
9446 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9447 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9450 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9451 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9456 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9468 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9469 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9470 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9477 case `$LD -v 2>&1` in
9478 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9496 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9497 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9498 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9499 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9508 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9515 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9516 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9517 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9536 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9538 # are no directories specified by -L.
9540 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9547 aix[4-9]*)
9552 exp_sym_flag='-Bexport'
9555 # If we're using GNU nm, then we don't want the "-C" option.
9556 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9557 # Without the "-l" option, or with the "-B" option, AIX nm treats
9561 # it in the Import File for the 'aix-soname' feature, so we have
9562 # to replace the "-B" option with "-P" for AIX nm.
9563 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9564 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9566 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9571 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9574 # depending on the kind of the shared library created -
9585 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9587 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9593 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9597 LDFLAGS="$LDFLAGS -Wl,-brtl"
9602 exp_sym_flag='-bexport'
9603 no_entry_flag='-bnoentry'
9608 # or program results in "error TOC overflow" add -mminimal-toc to
9610 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9617 file_list_spec='$wl-f,'
9631 collect2name=`$CC -print-prog-name=collect2`
9632 if test -f "$collect2name" &&
9644 hardcode_libdir_flag_spec='-L$libdir'
9649 shared_flag='-shared'
9651 shared_flag="$shared_flag "'$wl-G'
9655 # /with/ Import File - we do not want to mix them.
9656 shared_flag_aix='-shared'
9657 shared_flag_svr4='-shared $wl-G'
9661 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9662 # chokes on -Wl,-G. The following line is correct:
9663 shared_flag='-G'
9666 shared_flag='$wl-G'
9668 shared_flag='$wl-bM:SRE'
9670 shared_flag_aix='$wl-bM:SRE'
9671 shared_flag_svr4='$wl-G'
9675 export_dynamic_flag_spec='$wl-bexpall'
9676 # It seems that -bexpall does not export symbols beginning with
9680 # Warning - without using the other runtime loading flags (-brtl),
9681 # -berok will link without error, but may produce a broken library.
9682 allow_undefined_flag='-berok'
9692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9713 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9714 # Check for a 64-bit object if we didn't find anything.
9715 if test -z "$lt_cv_aix_libpath_"; then
9716 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9721 if test -z "$lt_cv_aix_libpath_"; then
9730 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9731 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
9734 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9735 allow_undefined_flag="-z nodefs"
9736 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
9747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9768 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9769 # Check for a 64-bit object if we didn't find anything.
9770 if test -z "$lt_cv_aix_libpath_"; then
9771 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9776 if test -z "$lt_cv_aix_libpath_"; then
9785 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9786 # Warning - without using the other run time loading flags,
9787 # -berok will link without error, but may produce a broken library.
9788 no_undefined_flag=' $wl-bernotok'
9789 allow_undefined_flag=' $wl-berok'
9791 # We only use this code for GNU lds that support --whole-archive.
9792 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9798 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9799 # -brtl affects multiple linker settings, -berok does not and is overridden later
9800 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9803 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9806 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9808 # used by -dlpreopen to get the symbols
9811 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9820 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9824 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9825 hardcode_libdir_flag_spec='-L$libdir'
9832 export_dynamic_flag_spec=-rdynamic
9852 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9853 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9857 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9859 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9865 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9877 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9878 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9891 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9895 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9909 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9922 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9923 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9924 archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
9925 module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
9934 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9935 hardcode_libdir_flag_spec='-L$libdir'
9944 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9945 hardcode_libdir_flag_spec='-R$libdir'
9952 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9958 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9960 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9961 hardcode_libdir_flag_spec='-R$libdir'
9968 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9970 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9979 export_dynamic_flag_spec='$wl-E'
9984 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9986 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9993 export_dynamic_flag_spec='$wl-E'
10004 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10007 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10010 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10016 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10019 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10023 # Older versions of the 11.00 compiler do not understand -b yet
10024 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10026 printf %s "checking if $CC understands -b... " >&6; }
10033 LDFLAGS="$LDFLAGS -b"
10035 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10038 if test -s conftest.err; then
10050 $RM -r conftest*
10054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10058 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10060 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10078 export_dynamic_flag_spec='$wl-E'
10090 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10091 # Try to use the -exported_symbol ld option, if it does not
10092 # work, assume that -exports_file does not work either and
10094 # This should be the same for all languages, so no per-tag cache variable.
10095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10096 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10102 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10120 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
10124 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10125 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
10128 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10139 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10144 netbsd* | netbsdelf*-gnu)
10145 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10146 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10148 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10150 hardcode_libdir_flag_spec='-R$libdir'
10156 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10158 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10167 if test -f /usr/libexec/ld.so; then
10171 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10172 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10173 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10174 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10175 export_dynamic_flag_spec='$wl-E'
10177 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10178 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10186 hardcode_libdir_flag_spec='-L$libdir'
10195 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10196 emximp -o $lib $output_objdir/$libname.def'
10203 prefix_cmds="$prefix_cmds -e 1d";
10205 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10207 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10208 emximp -o $lib $output_objdir/$libname.def'
10209 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10215 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10216 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10218 allow_undefined_flag=' -expect_unresolved \*'
10219 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10222 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10226 osf4* | osf5*) # as osf3* with the addition of -msym flag
10228 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10229 archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10230 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10232 allow_undefined_flag=' -expect_unresolved \*'
10233 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10234 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10235 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
10237 # Both c and cxx compiler support -rpath directly
10238 hardcode_libdir_flag_spec='-rpath $libdir'
10245 no_undefined_flag=' -z defs'
10248 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10249 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10250 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10252 case `$CC -V 2>&1` in
10255 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10256 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10257 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10261 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10262 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10263 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10267 hardcode_libdir_flag_spec='-R$libdir'
10270 solaris2.[0-5] | solaris2.[0-5].*) ;;
10273 # but understands '-z linker_flag'. GCC discards it without '$wl',
10277 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10279 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10290 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10292 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10294 hardcode_libdir_flag_spec='-L$libdir'
10303 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10309 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10310 reload_cmds='$CC -r -o $output$reload_objs'
10314 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10323 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10325 export_dynamic_flag_spec='-Bexport'
10329 if test -d /usr/nec; then
10330 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10339 no_undefined_flag='$wl-z,text'
10345 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10346 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10348 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10349 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10354 # Note: We CANNOT use -z defs as we might desire, because we do not
10355 # link with -lc, and that would cause any symbols used from libc to
10357 # ever link correctly. If we're not using GNU ld we use -z text
10358 # though, which does catch some bad symbols but isn't as heavy-handed
10359 # as -z defs.
10360 no_undefined_flag='$wl-z,text'
10361 allow_undefined_flag='$wl-z,nodefs'
10364 hardcode_libdir_flag_spec='$wl-R,$libdir'
10367 export_dynamic_flag_spec='$wl-Bexport'
10371 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10372 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10374 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10375 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10380 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10381 hardcode_libdir_flag_spec='-L$libdir'
10393 export_dynamic_flag_spec='$wl-Blargedynsym'
10399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10424 # Assume -lc should be added
10430 # FIXME: we may have to deal with multi-command sequences.
10433 # Test whether the compiler implicitly links with -lc since on some
10434 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10435 # to ld, don't add -lc before -lgcc.
10436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10437 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
10445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10456 compiler_flags=-v
10457 linker_flags=-v
10463 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10464 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10466 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10649 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10652 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10656 # otherwise default to the standard path separator (i.e. ":") - it is
10668 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10670 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10677 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10679 elif test -n "$lt_multi_os_dir"; then
10680 test -d "$lt_sys_path" && \
10688 for (lt_i = NF; lt_i > 0; lt_i--) {
10696 lt_count--;
10708 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10730 # when you set need_version to no, make sure it does not cause -set_version
10746 aix[4-9]*)
10765 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10773 # filename-based versioning of shared library archives on AIX. While
10775 # prevent static linking of such archives. So we do filename-based
10780 # versioned .so libs for executables only if there is the -brtl
10781 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10782 # To allow for filename-based versioning support, we need to create
10792 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10822 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
10832 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
10833 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
10844 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10872 # libtool to hard-code these into programs
10887 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10889 test -d \$dldir || mkdir -p \$dldir~
10892 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10895 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10903 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10909 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10913 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10922 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10939 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10945 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10946 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10947 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10951 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10953 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10955 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10958 # common. (e.g. "Program Files" -> "PROGRA~1")
10964 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10966 test -d \$dldir || mkdir -p \$dldir~
10968 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10977 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11012 if test -x /usr/bin/objformat; then
11020 version_type=freebsd-$objformat
11022 freebsd-elf*)
11028 freebsd-*)
11042 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11043 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11110 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11116 interix[3-9]*)
11148 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11149 libsuff= shlibsuff= libmagic=32-bit;;
11150 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11152 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11153 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11154 *) libsuff= shlibsuff= libmagic=never-match;;
11186 # Don't embed -rpath directories since the linker doesn't support them.
11187 hardcode_libdir_flag_spec='-L$libdir'
11191 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11197 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
11229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11246 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11247 # even though it is searched at run-time. Try to do the best guess by
11249 if test -f /etc/ld.so.conf; then
11250 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11257 # most powerpc-linux boxes support dynamic linking these days and
11258 # people can always --disable-shared, the test was removed, and we
11263 netbsdelf*-gnu)
11279 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11281 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11316 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11322 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11334 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11335 v=$($ECHO $release$versuffix | tr -d .-);
11336 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11344 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11346 test -d \$dldir || mkdir -p \$dldir~
11349 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11352 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11421 if test -d /usr/nec; then
11452 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11493 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11598 if test -n "$hardcode_libdir_flag_spec" ||
11599 test -n "$runpath_var" ||
11602 # We can hardcode non-existent directories.
11606 # when we should be linking with a yet-to-be-installed one
11620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11666 printf %s "checking for dlopen in -ldl... " >&6; }
11672 LIBS="-ldl $LIBS"
11673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11702 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11715 # because TPF is a cross-compiler, and we know how we open DSOs.
11727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11728 printf %s "checking for shl_load in -ldld... " >&6; }
11734 LIBS="-ldld $LIBS"
11735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11764 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11772 printf %s "checking for dlopen in -ldl... " >&6; }
11778 LIBS="-ldl $LIBS"
11779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11808 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11811 printf %s "checking for dlopen in -lsvld... " >&6; }
11817 LIBS="-lsvld $LIBS"
11818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11847 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11850 printf %s "checking for dld_link in -ldld... " >&6; }
11856 LIBS="-ldld $LIBS"
11857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11878 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11886 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11916 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11977 /* When -fvisibility=hidden is used, assume the code has been annotated
12005 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12008 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12009 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12022 rm -fr conftest*
12026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12084 /* When -fvisibility=hidden is used, assume the code has been annotated
12112 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12116 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12129 rm -fr conftest*
12133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12174 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12175 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12176 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12180 # FIXME - insert some real tests, host_os isn't really good enough
12183 if test -n "$STRIP"; then
12184 striplib="$STRIP -x"
12185 old_striplib="$STRIP -S"
12186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12226 if test -n "$RANLIB"; then
12232 aix[4-9]*)
12242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12289 CPPFLAGS=${CPPFLAGS:-${OURCPPFLAGS}}
12295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12298 if test -n "$ac_tool_prefix"; then
12301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12307 if test -n "$CC"; then
12322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12332 if test -n "$CC"; then
12333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12342 if test -z "$ac_cv_prog_CC"; then
12346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12352 if test -n "$ac_ct_CC"; then
12367 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12377 if test -n "$ac_ct_CC"; then
12378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12400 if test -z "$CC"; then
12401 if test -n "$ac_tool_prefix"; then
12404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12410 if test -n "$CC"; then
12425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12435 if test -n "$CC"; then
12436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12446 if test -z "$CC"; then
12449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12455 if test -n "$CC"; then
12475 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12497 if test -n "$CC"; then
12498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12507 if test -z "$CC"; then
12508 if test -n "$ac_tool_prefix"; then
12513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12519 if test -n "$CC"; then
12534 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12544 if test -n "$CC"; then
12545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12553 test -n "$CC" && break
12556 if test -z "$CC"; then
12562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12568 if test -n "$ac_ct_CC"; then
12583 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12593 if test -n "$ac_ct_CC"; then
12594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12602 test -n "$ac_ct_CC" && break
12610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12619 if test -z "$CC"; then
12620 if test -n "$ac_tool_prefix"; then
12623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12629 if test -n "$CC"; then
12644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12654 if test -n "$CC"; then
12655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12664 if test -z "$ac_cv_prog_CC"; then
12668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12674 if test -n "$ac_ct_CC"; then
12689 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12699 if test -n "$ac_ct_CC"; then
12700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12725 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12734 for ac_option in --version -v -V -qversion -version; do
12740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12744 if test -s conftest.err; then
12750 rm -f conftest.er1 conftest.err
12751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
12761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12781 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12797 printf %s "checking whether $CC accepts -g... " >&6; }
12805 CFLAGS="-g"
12806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12838 CFLAGS="-g"
12839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12854 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12856 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12867 CFLAGS="-g -O2"
12869 CFLAGS="-g"
12873 CFLAGS="-O2"
12881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
12889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12893 for ac_arg in '' -std=gnu11
12900 rm -f core conftest.err conftest.$ac_objext conftest.beam
12903 rm -f conftest.$ac_ext
12909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
12927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
12935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12939 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
12946 rm -f core conftest.err conftest.$ac_objext conftest.beam
12949 rm -f conftest.$ac_ext
12955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
12973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
12981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12985 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12992 rm -f core conftest.err conftest.$ac_objext conftest.beam
12995 rm -f conftest.$ac_ext
13001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking $CC dependency flag" >&5
13028 if test "`$CC -MM conftest.c 2>&1`" = "conftest.o: conftest.c"; then
13029 DEPFLAG="-MM"
13031 if test "`$CC -xM1 conftest.c 2>&1`" = "conftest.o: conftest.c"; then
13032 DEPFLAG="-xM1"
13034 DEPFLAG="-MM" # dunno do something
13037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DEPFLAG" >&5
13039 rm -f conftest.c
13042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
13043 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
13044 set x ${MAKE-make}
13045 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
13056 case `${MAKE-make} -f conftest.make 2>/dev/null` in
13062 rm -f conftest.make
13065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13071 SET_MAKE="MAKE=${MAKE-make}"
13078 netbsd*) LINTFLAGS="'-D__RENAME(x)=' -D_NETINET_IN_H_ $LINTFLAGS"
13091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -std=c99" >&5
13092 printf %s "checking whether $CC supports -std=c99... " >&6; }
13093 cache=`echo std=c99 | sed 'y%.=/+-%___p_%'`
13100 if test -z "`$CC $CPPFLAGS $CFLAGS -std=c99 -c conftest.c 2>&1`"; then
13105 rm -f conftest conftest.o conftest.c
13110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13113 C99FLAG="-std=c99"
13115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -xc99" >&5
13124 printf %s "checking whether $CC supports -xc99... " >&6; }
13125 cache=`echo xc99 | sed 'y%.=/+-%___p_%'`
13132 if test -z "`$CC $CPPFLAGS $CFLAGS -xc99 -c conftest.c 2>&1`"; then
13137 rm -f conftest conftest.o conftest.c
13142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13145 C99FLAG="-xc99"
13147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13167 printf %s "checking for an ANSI C-conforming const... " >&6; }
13172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13191 an arm of an if-expression whose if-part is not a constant
13194 pcpcc = &g + (g ? g-g : 0);
13207 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13212 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13218 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13220 struct s *b = &bx; b->j = 5;
13222 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13239 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -g" >&5
13259 printf %s "checking whether $CC supports -g... " >&6; }
13260 cache=`echo g | sed 'y%.=/+-%___p_%'`
13267 if test -z "`$CC $CPPFLAGS $CFLAGS -g -c conftest.c 2>&1`"; then
13272 rm -f conftest conftest.o conftest.c
13277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13280 CFLAGS="-g"
13282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -O2" >&5
13291 printf %s "checking whether $CC supports -O2... " >&6; }
13292 cache=`echo O2 | sed 'y%.=/+-%___p_%'`
13299 if test -z "`$CC $CPPFLAGS $CFLAGS -O2 -c conftest.c 2>&1`"; then
13304 rm -f conftest conftest.o conftest.c
13309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13312 CFLAGS="-O2 $CFLAGS"
13314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wall" >&5
13324 printf %s "checking whether $CC supports -Wall... " >&6; }
13325 cache=`echo Wall | sed 'y%.=/+-%___p_%'`
13332 if test -z "`$CC $CPPFLAGS $CFLAGS -Wall -c conftest.c 2>&1`"; then
13337 rm -f conftest conftest.o conftest.c
13342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13345 CFLAGS="-Wall $CFLAGS"
13347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -W" >&5
13356 printf %s "checking whether $CC supports -W... " >&6; }
13357 cache=`echo W | sed 'y%.=/+-%___p_%'`
13364 if test -z "`$CC $CPPFLAGS $CFLAGS -W -c conftest.c 2>&1`"; then
13369 rm -f conftest conftest.o conftest.c
13374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13377 CFLAGS="-W $CFLAGS"
13379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
13388 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
13389 cache=`echo Wwrite-strings | sed 'y%.=/+-%___p_%'`
13396 if test -z "`$CC $CPPFLAGS $CFLAGS -Wwrite-strings -c conftest.c 2>&1`"; then
13401 rm -f conftest conftest.o conftest.c
13406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13409 CFLAGS="-Wwrite-strings $CFLAGS"
13411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
13420 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
13421 cache=`echo Wstrict-prototypes | sed 'y%.=/+-%___p_%'`
13428 if test -z "`$CC $CPPFLAGS $CFLAGS -Wstrict-prototypes -c conftest.c 2>&1`"; then
13433 rm -f conftest conftest.o conftest.c
13438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13441 CFLAGS="-Wstrict-prototypes $CFLAGS"
13443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13449 #ACX_CHECK_COMPILER_FLAG(Wshadow, [CFLAGS="-Wshadow $CFLAGS"])
13452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-function" >&5
13453 printf %s "checking whether $CC supports -Wunused-function... " >&6; }
13454 cache=`echo Wunused-function | sed 'y%.=/+-%___p_%'`
13461 if test -z "`$CC $CPPFLAGS $CFLAGS -Wunused-function -c conftest.c 2>&1`"; then
13466 rm -f conftest conftest.o conftest.c
13471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13474 CFLAGS="-Wunused-function $CFLAGS"
13476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmissing-prototypes" >&5
13485 printf %s "checking whether $CC supports -Wmissing-prototypes... " >&6; }
13486 cache=`echo Wmissing-prototypes | sed 'y%.=/+-%___p_%'`
13493 if test -z "`$CC $CPPFLAGS $CFLAGS -Wmissing-prototypes -c conftest.c 2>&1`"; then
13498 rm -f conftest conftest.o conftest.c
13503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13506 CFLAGS="-Wmissing-prototypes $CFLAGS"
13508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
13517 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
13518 cache=`echo fno-strict-aliasing | sed 'y%.=/+-%___p_%'`
13525 if test -z "`$CC $CPPFLAGS $CFLAGS -fno-strict-aliasing -c conftest.c 2>&1`"; then
13530 rm -f conftest conftest.o conftest.c
13535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13538 CFLAGS="-fno-strict-aliasing $CFLAGS"
13540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
13594 printf %s "checking whether $CC supports -Werror... " >&6; }
13595 cache=`echo Werror | sed 'y%.=/+-%___p_%'`
13602 if test -z "`$CC $CPPFLAGS $CFLAGS -Werror -c conftest.c 2>&1`"; then
13607 rm -f conftest conftest.o conftest.c
13612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13615 ERRFLAG="-Werror"
13617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13620 ERRFLAG="-errwarn"
13625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wall" >&5
13626 printf %s "checking whether $CC supports -Wall... " >&6; }
13627 cache=`echo Wall | sed 'y%.=/+-%___p_%'`
13634 if test -z "`$CC $CPPFLAGS $CFLAGS -Wall -c conftest.c 2>&1`"; then
13639 rm -f conftest conftest.o conftest.c
13644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13647 ERRFLAG="$ERRFLAG -Wall"
13649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13652 ERRFLAG="$ERRFLAG -errfmt"
13659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -std=c99" >&5
13660 printf %s "checking whether $CC supports -std=c99... " >&6; }
13661 cache=`echo std=c99 | sed 'y%.=/+-%___p_%'`
13668 if test -z "`$CC $CPPFLAGS $CFLAGS -std=c99 -c conftest.c 2>&1`"; then
13673 rm -f conftest conftest.o conftest.c
13678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13681 C99FLAG="-std=c99"
13683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -xc99" >&5
13692 printf %s "checking whether $CC supports -xc99... " >&6; }
13693 cache=`echo xc99 | sed 'y%.=/+-%___p_%'`
13700 if test -z "`$CC $CPPFLAGS $CFLAGS -xc99 -c conftest.c 2>&1`"; then
13705 rm -f conftest conftest.o conftest.c
13710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13713 C99FLAG="-xc99"
13715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE as a flag for $CC" >&5
13742 printf %s "checking whether we need $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE as a flag for $CC... " >&6; }
13743 cache=`printf "%s\n" "$C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE" | $as_tr_sh`
13785 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
13789 if test -z "`$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE $ERRFLAG -c conftest.c 2>&1`"; then
13795 #echo "$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE $ERRFLAG -c conftest.c 2>&1"
13796 #echo `$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE $ERRFLAG -c conftest.c 2>&1`
13801 rm -f conftest conftest.c conftest.o
13806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13809 CFLAGS="$CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE"
13812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13816 #echo "$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE $ERRFLAG -c conftest.c 2>&1"
13817 #echo `$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE $ERRFLAG -c conftest.c 2>&1`
13822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
13833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE as a flag for $CC" >&5
13834 printf %s "checking whether we need $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE as a flag for $CC... " >&6; }
13835 cache=`printf "%s\n" "$C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE" | $as_tr_sh`
13877 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
13881 if test -z "`$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE $ERRFLAG -c conftest.c 2>&1`"; then
13887 #echo "$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE $ERRFLAG -c conftest.c 2>&1"
13888 #echo `$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE $ERRFLAG -c conftest.c 2>&1`
13893 rm -f conftest conftest.c conftest.o
13898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13901 CFLAGS="$CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE"
13904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13908 #echo "$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE $ERRFLAG -c conftest.c 2>&1"
13909 #echo `$CC $CPPFLAGS $CFLAGS $C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE $ERRFLAG -c conftest.c 2>&1`
13914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
13925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need $C99FLAG as a flag for $CC" >&5
13942 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
13946 if test -z "`$CC $CPPFLAGS $CFLAGS $C99FLAG $ERRFLAG -c conftest.c 2>&1`"; then
13952 #echo "$CC $CPPFLAGS $CFLAGS $C99FLAG $ERRFLAG -c conftest.c 2>&1"
13953 #echo `$CC $CPPFLAGS $CFLAGS $C99FLAG $ERRFLAG -c conftest.c 2>&1`
13958 rm -f conftest conftest.c conftest.o
13963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13973 #echo "$CC $CPPFLAGS $CFLAGS $C99FLAG $ERRFLAG -c conftest.c 2>&1"
13974 #echo `$CC $CPPFLAGS $CFLAGS $C99FLAG $ERRFLAG -c conftest.c 2>&1`
13979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
13990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need -D_BSD_SOURCE -D_DEFAULT_SOURCE as a flag for $CC" >&5
13991 printf %s "checking whether we need -D_BSD_SOURCE -D_DEFAULT_SOURCE as a flag for $CC... " >&6; }
14008 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
14012 if test -z "`$CC $CPPFLAGS $CFLAGS -D_BSD_SOURCE -D_DEFAULT_SOURCE $ERRFLAG -c conftest.c 2>&1`"; then
14018 #echo "$CC $CPPFLAGS $CFLAGS -D_BSD_SOURCE -D_DEFAULT_SOURCE $ERRFLAG -c conftest.c 2>&1"
14019 #echo `$CC $CPPFLAGS $CFLAGS -D_BSD_SOURCE -D_DEFAULT_SOURCE $ERRFLAG -c conftest.c 2>&1`
14024 rm -f conftest conftest.c conftest.o
14029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14032 CFLAGS="$CFLAGS -D_BSD_SOURCE -D_DEFAULT_SOURCE"
14035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14039 #echo "$CC $CPPFLAGS $CFLAGS -D_BSD_SOURCE -D_DEFAULT_SOURCE $ERRFLAG -c conftest.c 2>&1"
14040 #echo `$CC $CPPFLAGS $CFLAGS -D_BSD_SOURCE -D_DEFAULT_SOURCE $ERRFLAG -c conftest.c 2>&1`
14045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
14056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need -D_GNU_SOURCE as a flag for $CC" >&5
14057 printf %s "checking whether we need -D_GNU_SOURCE as a flag for $CC... " >&6; }
14074 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
14078 if test -z "`$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE $ERRFLAG -c conftest.c 2>&1`"; then
14084 #echo "$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE $ERRFLAG -c conftest.c 2>&1"
14085 #echo `$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE $ERRFLAG -c conftest.c 2>&1`
14090 rm -f conftest conftest.c conftest.o
14095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14098 CFLAGS="$CFLAGS -D_GNU_SOURCE"
14101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14105 #echo "$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE $ERRFLAG -c conftest.c 2>&1"
14106 #echo `$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE $ERRFLAG -c conftest.c 2>&1`
14111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
14120 # is not available at all. -D_FRSRESGID is to make this check unique.
14125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for $CC" >&5
14126 printf %s "checking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for $CC... " >&6; }
14143 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
14147 if test -z "`$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE -D_FRSRESGID $ERRFLAG -c conftest.c 2>&1`"; then
14153 #echo "$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE -D_FRSRESGID $ERRFLAG -c conftest.c 2>&1"
14154 #echo `$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE -D_FRSRESGID $ERRFLAG -c conftest.c 2>&1`
14159 rm -f conftest conftest.c conftest.o
14164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14167 CFLAGS="$CFLAGS -D_GNU_SOURCE"
14170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14174 #echo "$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE -D_FRSRESGID $ERRFLAG -c conftest.c 2>&1"
14175 #echo `$CC $CPPFLAGS $CFLAGS -D_GNU_SOURCE -D_FRSRESGID $ERRFLAG -c conftest.c 2>&1`
14180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
14191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need -D_POSIX_C_SOURCE=200112 as a flag for $CC" >&5
14192 printf %s "checking whether we need -D_POSIX_C_SOURCE=200112 as a flag for $CC... " >&6; }
14220 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
14224 if test -z "`$CC $CPPFLAGS $CFLAGS -D_POSIX_C_SOURCE=200112 $ERRFLAG -c conftest.c 2>&1`"; then
14230 #echo "$CC $CPPFLAGS $CFLAGS -D_POSIX_C_SOURCE=200112 $ERRFLAG -c conftest.c 2>&1"
14231 #echo `$CC $CPPFLAGS $CFLAGS -D_POSIX_C_SOURCE=200112 $ERRFLAG -c conftest.c 2>&1`
14236 rm -f conftest conftest.c conftest.o
14241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14244 CFLAGS="$CFLAGS -D_POSIX_C_SOURCE=200112"
14247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14251 #echo "$CC $CPPFLAGS $CFLAGS -D_POSIX_C_SOURCE=200112 $ERRFLAG -c conftest.c 2>&1"
14252 #echo `$CC $CPPFLAGS $CFLAGS -D_POSIX_C_SOURCE=200112 $ERRFLAG -c conftest.c 2>&1`
14257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
14268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need -D__EXTENSIONS__ as a flag for $CC" >&5
14269 printf %s "checking whether we need -D__EXTENSIONS__ as a flag for $CC... " >&6; }
14303 if test -z "`$CC $CPPFLAGS $CFLAGS $ERRFLAG -c conftest.c 2>&1`"; then
14307 if test -z "`$CC $CPPFLAGS $CFLAGS -D__EXTENSIONS__ $ERRFLAG -c conftest.c 2>&1`"; then
14313 #echo "$CC $CPPFLAGS $CFLAGS -D__EXTENSIONS__ $ERRFLAG -c conftest.c 2>&1"
14314 #echo `$CC $CPPFLAGS $CFLAGS -D__EXTENSIONS__ $ERRFLAG -c conftest.c 2>&1`
14319 rm -f conftest conftest.c conftest.o
14324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14327 CFLAGS="$CFLAGS -D__EXTENSIONS__"
14330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14334 #echo "$CC $CPPFLAGS $CFLAGS -D__EXTENSIONS__ $ERRFLAG -c conftest.c 2>&1"
14335 #echo `$CC $CPPFLAGS $CFLAGS -D__EXTENSIONS__ $ERRFLAG -c conftest.c 2>&1`
14340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
14350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
14358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14484 if test -n "$doxygen"; then
14499 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
14509 if test -n "$doxygen"; then
14510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $doxygen" >&5
14513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
14532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14549 if test -z "$ac_lib"; then
14552 ac_res=-l$ac_lib
14553 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
14588 # modern Linux provides inet_ntop in -lsocket.
14589 # modern OS X provides inet_ntop in -lc.
14590 # modern Solaris provides inet_ntop in -lsocket -lnsl.
14591 # older Solaris provides inet_ntop in -lresolv.
14597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5
14604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14621 if test -z "$ac_lib"; then
14624 ac_res=-l$ac_lib
14625 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14631 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5
14660 # modern Linux provides inet_pton in -lsocket.
14661 # modern OS X provides inet_pton in -lc.
14662 # modern Solaris provides inet_pton in -lsocket -lnsl.
14663 # older Solaris provides inet_pton in -lresolv.
14669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5
14676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14693 if test -z "$ac_lib"; then
14696 ac_res=-l$ac_lib
14697 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5
14734 # Check whether --with-drill was given.
14745 INSTALL_DRILL=install-drill
14747 UNINSTALL_DRILL=uninstall-drill
14749 CLEAN_DRILL=clean-drill
14751 LINT_DRILL=lint-drill
14753 if test -e $srcdir/drill/config.h -o -e drill/config.h ; then
14756 This does not work with the --with-drill option.
14758 or do not use the --with-drill option." "$LINENO" 5
14775 # Check whether --with-examples was given.
14786 INSTALL_EXAMPLES=install-examples
14788 UNINSTALL_EXAMPLES=uninstall-examples
14790 CLEAN_EXAMPLES=clean-examples
14792 LINT_EXAMPLES=lint-examples
14794 if test -e $srcdir/examples/config.h -o -e examples/config.h ; then
14797 This does not work with the --with-examples option.
14799 or do not use the --with-examples option." "$LINENO" 5
14814 # add option to disable installation of ldns-config script
14815 # Check whether --enable-ldns-config was given.
14824 INSTALL_CONFIG=install-config
14826 INSTALL_CONFIG_MANPAGE=install-config-manpage
14828 UNINSTALL_CONFIG=uninstall-config
14830 UNINSTALL_CONFIG_MANPAGE=uninstall-config-manpage
14844 # Check whether --enable-stderr-msgs was given.
14861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for poll(2)" >&5
14867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14902 # Check whether --enable-poll was given.
14914 as_fn_error $? "bad value ${enableval} for feature --poll" "$LINENO" 5
14928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Feature poll is enabled" >&5
14937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Feature poll is disabled" >&5
14948 # check for python
14953 # Check whether --with-pyldns was given.
14964 # https://www.gnu.org/software/autoconf-archive/ax_python_devel.html
14976 # This macro checks for Python and tries to get the include path to
14977 # 'Python.h'. It provides the $(PYTHON_CPPFLAGS) and $(PYTHON_LIBS) output
14979 # $(PYTHON_EXTRA_LDFLAGS) for embedding Python in your code.
14981 # You can search for some particular version of Python by passing a
14986 # variable is declared as precious and thus reserved for the end-user.
14988 # This macro should work for all versions of Python >= 2.1.0. As an end
14989 # user, you can disable the check for the python version by setting the
14993 # If you need to use this macro for an older Python version, please
14998 # Copyright (c) 2009 Sebastian Huber <sebastian-huber@web.de>
15049 # autoconf, causing NAME to expand to NEW-CODE, plus
15060 # Allow the use of a (user set) custom python version
15064 # Extract the first word of "python[$PYTHON_VERSION]", so it can be a program name with args.
15065 set dummy python$PYTHON_VERSION; ac_word=$2
15066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15072 case $PYTHON in
15074 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
15089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15099 PYTHON=$ac_cv_path_PYTHON
15100 if test -n "$PYTHON"; then
15101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
15102 printf "%s\n" "$PYTHON" >&6; }
15104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15109 if test -z "$PYTHON"; then
15110 as_fn_error $? "Cannot find python$PYTHON_VERSION in your system path" "$LINENO" 5
15115 # Check for a version of Python >= 2.1.0
15117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a version of Python >= '2.1.0'" >&5
15118 printf %s "checking for a version of Python >= '2.1.0'... " >&6; }
15119 ac_supports_python_ver=`$PYTHON -c "import sys; \
15123 if test -z "$PYTHON_NOVERSIONCHECK"; then
15124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15126 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15130 doesn't work properly with versions of Python before
15131 2.1.0. You may need to re-run configure, setting the
15139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: skip at user request" >&5
15143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15150 if test -n ">= '2.4.0'"; then
15151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a version of Python >= '2.4.0'" >&5
15152 printf %s "checking for a version of Python >= '2.4.0'... " >&6; }
15153 ac_supports_python_ver=`$PYTHON -c "import sys; \
15157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15162 as_fn_error $? "this package requires Python >= '2.4.0'.
15163 If you have it installed, but it isn't the default Python
15165 variable to configure. See \`\`configure --help'' for reference.
15174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5
15175 printf %s "checking for the distutils Python package... " >&6; }
15176 ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
15177 if test $? -eq 0; then
15178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15183 as_fn_error $? "cannot import Python module \"distutils\".
15184 Please check your Python installation. The error was:
15190 # Check for Python include path
15192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python include path" >&5
15193 printf %s "checking for Python include path... " >&6; }
15194 if test -z "$PYTHON_CPPFLAGS"; then
15195 python_path=`$PYTHON -c "import distutils.sysconfig; \
15197 plat_python_path=`$PYTHON -c "import distutils.sysconfig; \
15199 if test -n "${python_path}"; then
15201 python_path="-I$python_path -I$plat_python_path"
15203 python_path="-I$python_path"
15208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5
15213 # Check for Python library path
15215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python library path" >&5
15216 printf %s "checking for Python library path... " >&6; }
15217 if test -z "$PYTHON_LIBS"; then
15220 ac_python_version=`cat<<EOD | $PYTHON -
15230 if test -z "$ac_python_version"; then
15231 if test -n "$PYTHON_VERSION"; then
15234 ac_python_version=`$PYTHON -c "import sys; \
15245 ac_python_libdir=`cat<<EOD | $PYTHON -
15255 ac_python_library=`cat<<EOD | $PYTHON -
15260 print ('python'+c['LDVERSION'])
15262 print ('python'+c['VERSION'])
15265 # This small piece shamelessly adapted from PostgreSQL python macro;
15269 if test -n "$ac_python_libdir" -a -n "$ac_python_library"
15273 PYTHON_LIBS="-L$ac_python_libdir -l$ac_python_library"
15276 ac_python_libdir=`$PYTHON -c \
15280 PYTHON_LIBS="-L$ac_python_libdir -lpython$ac_python_version"
15283 if test -z "PYTHON_LIBS"; then
15285 Cannot determine location of your Python DSO. Please check it was installed with
15290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LIBS" >&5
15297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python site-packages path" >&5
15298 printf %s "checking for Python site-packages path... " >&6; }
15299 if test -z "$PYTHON_SITE_PKG"; then
15300 PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
15303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_SITE_PKG" >&5
15310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking python extra libraries" >&5
15311 printf %s "checking python extra libraries... " >&6; }
15312 if test -z "$PYTHON_EXTRA_LIBS"; then
15313 PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \
15317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXTRA_LIBS" >&5
15324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking python extra linking flags" >&5
15325 printf %s "checking python extra linking flags... " >&6; }
15326 if test -z "$PYTHON_EXTRA_LDFLAGS"; then
15327 PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; \
15331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXTRA_LDFLAGS" >&5
15338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking consistency of all components of python development environment" >&5
15339 printf %s "checking consistency of all components of python development environment... " >&6; }
15349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15356 #include <Python.h>
15372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $pythonexists" >&5
15389 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15392 Could not link test program to Python. Maybe the main Python library has been
15393 installed in some non-standard library path. If so, pass it to configure,
15395 Example: ./configure LIBS=\"-L/usr/non-standard-path/python/lib\"
15398 You probably have to install the development version of the Python package
15410 if test ! -z "$ac_python_version"; then
15414 # pass additional Python 3 option to SWIG
15415 if test `$PYTHON -c "import sys; \
15418 SWIGPY3="-py3 -DPY3"
15425 # https://www.gnu.org/software/autoconf-archive/ax_pkg_swig.html
15430 # AX_PKG_SWIG([major.minor.micro], [action-if-found], [action-if-not-found])
15445 # As usual, action-if-found is executed if SWIG is found, otherwise
15446 # action-if-not-found is executed.
15457 # Copyright (c) 2008 Sebastian Huber <sebastian-huber@web.de>
15494 # check for >=SWIG-2.0.4 if Python 3.2 used
15495 if test `$PYTHON -c "import sys; \
15504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15527 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15538 if test -n "$SWIG"; then
15539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
15542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15547 test -n "$SWIG" && break
15550 if test -z "$SWIG" ; then
15551 as_fn_error $? "SWIG-2.0.4 is required to build pyldns for Python 3.2 and greater." "$LINENO" 5
15552 elif test -n "2.0.4" ; then
15553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking SWIG version" >&5
15555 swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`
15556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $swig_version" >&5
15558 if test -n "$swig_version" ; then
15561 required_major=`echo $required | sed 's/[^0-9].*//'`
15562 if test -z "$required_major" ; then
15565 required=`echo $required | sed 's/[0-9]*[^0-9]//'`
15566 required_minor=`echo $required | sed 's/[^0-9].*//'`
15567 if test -z "$required_minor" ; then
15570 required=`echo $required | sed 's/[0-9]*[^0-9]//'`
15571 required_patch=`echo $required | sed 's/[^0-9].*//'`
15572 if test -z "$required_patch" ; then
15577 available_major=`echo $available | sed 's/[^0-9].*//'`
15578 if test -z "$available_major" ; then
15581 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
15582 available_minor=`echo $available | sed 's/[^0-9].*//'`
15583 if test -z "$available_minor" ; then
15586 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
15587 available_patch=`echo $available | sed 's/[^0-9].*//'`
15588 if test -z "$available_patch" ; then
15599 if test $available_swig_vernum -lt $required_swig_vernum; then
15600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version >= 2.0.4 is required. You have $swig_version." >&5
15603 as_fn_error $? "SWIG-2.0.4 is required to build pyldns for Python 3.2 and greater." "$LINENO" 5
15605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SWIG library" >&5
15607 SWIG_LIB=`$SWIG -swiglib`
15608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SWIG_LIB" >&5
15613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine SWIG version" >&5
15616 as_fn_error $? "SWIG-2.0.4 is required to build pyldns for Python 3.2 and greater." "$LINENO" 5
15628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15651 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15662 if test -n "$SWIG"; then
15663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
15666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15671 test -n "$SWIG" && break
15674 if test -z "$SWIG" ; then
15676 elif test -n "" ; then
15677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking SWIG version" >&5
15679 swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`
15680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $swig_version" >&5
15682 if test -n "$swig_version" ; then
15685 required_major=`echo $required | sed 's/[^0-9].*//'`
15686 if test -z "$required_major" ; then
15689 required=`echo $required | sed 's/[0-9]*[^0-9]//'`
15690 required_minor=`echo $required | sed 's/[^0-9].*//'`
15691 if test -z "$required_minor" ; then
15694 required=`echo $required | sed 's/[0-9]*[^0-9]//'`
15695 required_patch=`echo $required | sed 's/[^0-9].*//'`
15696 if test -z "$required_patch" ; then
15701 available_major=`echo $available | sed 's/[^0-9].*//'`
15702 if test -z "$available_major" ; then
15705 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
15706 available_minor=`echo $available | sed 's/[^0-9].*//'`
15707 if test -z "$available_minor" ; then
15710 available=`echo $available | sed 's/[0-9]*[^0-9]//'`
15711 available_patch=`echo $available | sed 's/[^0-9].*//'`
15712 if test -z "$available_patch" ; then
15723 if test $available_swig_vernum -lt $required_swig_vernum; then
15724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version >= is required. You have $swig_version." >&5
15729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SWIG library" >&5
15731 SWIG_LIB=`$SWIG -swiglib`
15732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SWIG_LIB" >&5
15737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine SWIG version" >&5
15747 if test ! -x "$SWIG"; then
15760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: *** don't have Python, skipping SWIG, no pyldns ***" >&5
15761 printf "%s\n" "*** don't have Python, skipping SWIG, no pyldns ***" >&6; } # '
15768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
15769 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
15770 cache=`echo fno-strict-aliasing | sed 'y%.=/+-%___p_%'`
15777 if test -z "`$CC $CPPFLAGS $CFLAGS -fno-strict-aliasing -c conftest.c 2>&1`"; then
15782 rm -f conftest conftest.o conftest.c
15787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15790 PYTHON_X_CFLAGS="-fno-strict-aliasing"
15792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-missing-field-initializers" >&5
15801 printf %s "checking whether $CC supports -Wno-missing-field-initializers... " >&6; }
15802 cache=`echo Wno-missing-field-initializers | sed 'y%.=/+-%___p_%'`
15809 if test -z "`$CC $CPPFLAGS $CFLAGS -Wno-missing-field-initializers -c conftest.c 2>&1`"; then
15814 rm -f conftest conftest.o conftest.c
15819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15822 PYTHON_X_CFLAGS="-Wno-missing-field-initializers $PYTHON_X_CFLAGS"
15824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-unused-parameter" >&5
15833 printf %s "checking whether $CC supports -Wno-unused-parameter... " >&6; }
15834 cache=`echo Wno-unused-parameter | sed 'y%.=/+-%___p_%'`
15841 if test -z "`$CC $CPPFLAGS $CFLAGS -Wno-unused-parameter -c conftest.c 2>&1`"; then
15846 rm -f conftest conftest.o conftest.c
15851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15854 PYTHON_X_CFLAGS="-Wno-unused-parameter $PYTHON_X_CFLAGS"
15856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-unused-variable" >&5
15865 printf %s "checking whether $CC supports -Wno-unused-variable... " >&6; }
15866 cache=`echo Wno-unused-variable | sed 'y%.=/+-%___p_%'`
15873 if test -z "`$CC $CPPFLAGS $CFLAGS -Wno-unused-variable -c conftest.c 2>&1`"; then
15878 rm -f conftest conftest.o conftest.c
15883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15886 PYTHON_X_CFLAGS="-Wno-unused-variable $PYTHON_X_CFLAGS"
15888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15900 # Check whether --with-pyldnsx was given.
15915 as_fn_error $? "--with-pyldns is needed for the ldnsx python module" "$LINENO" 5
15921 PYLDNSINST="install-pyldns"
15922 PYLDNSUNINST="uninstall-pyldns"
15930 PYLDNSXINST="install-pyldnsx"
15931 PYLDNSXUNINST="uninstall-pyldnsx"
15942 # Check whether --with-p5-dns-ldns was given.
15954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15988 if test -n "$PERL"; then
15989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
15992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15997 if test -z "$PERL"; then
16000 P5_DNS_LDNS="p5-dns-ldns"
16001 TEST_P5_DNS_LDNS="test-p5-dns-ldns"
16002 INSTALL_P5_DNS_LDNS="install-p5-dns-ldns"
16003 UNINSTALL_P5_DNS_LDNS="uninstall-p5-dns-ldns"
16004 CLEAN_P5_DNS_LDNS="clean-p5-dns-ldns"
16027 if test -z "$libtool"; then
16036 if test -n "$ac_tool_prefix"; then
16039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16073 if test -n "$AR"; then
16074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
16077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16083 if test -z "$ac_cv_path_AR"; then
16087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16121 if test -n "$ac_pt_AR"; then
16122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_AR" >&5
16125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16159 # Check whether --with-ssl was given.
16173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL" >&5
16175 if test x_$withval = x_ -o x_$withval = x_yes; then
16180 if test -f "$dir/include/openssl/ssl.h"; then
16186 CPPFLAGS="$CPPFLAGS -I$ssldir/include"
16187 LIBSSL_CPPFLAGS="$LIBSSL_CPPFLAGS -I$ssldir/include"
16195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found in $ssldir" >&5
16198 if test "$ssldir" != "/usr" -a "$ssldir" != ""; then
16199 if test ! -d "$ssldir/lib" -a -d "$ssldir/lib64"; then
16200 LDFLAGS="$LDFLAGS -L$ssldir/lib64"
16201 LIBSSL_LDFLAGS="$LIBSSL_LDFLAGS -L$ssldir/lib64"
16205 RUNTIME_PATH="$RUNTIME_PATH -R$ssldir/lib64"
16210 LDFLAGS="$LDFLAGS -L$ssldir/lib"
16211 LIBSSL_LDFLAGS="$LIBSSL_LDFLAGS -L$ssldir/lib"
16215 RUNTIME_PATH="$RUNTIME_PATH -R$ssldir/lib"
16222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EVP_sha256 in -lcrypto" >&5
16223 printf %s "checking for EVP_sha256 in -lcrypto... " >&6; }
16224 LIBS="$LIBS -lcrypto"
16225 LIBSSL_LIBS="$LIBSSL_LIBS -lcrypto"
16226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16253 # check if -lwsock32 or -lgdi32 are needed.
16256 LIBS="$LIBS -lgdi32 -lws2_32"
16257 LIBSSL_LIBS="$LIBSSL_LIBS -lgdi32 -lws2_32"
16258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if -lcrypto needs -lgdi32" >&5
16259 printf %s "checking if -lcrypto needs -lgdi32... " >&6; }
16260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16289 LIBS="$LIBS -ldl"
16290 LIBSSL_LIBS="$LIBSSL_LIBS -ldl"
16291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if -lcrypto needs -ldl" >&5
16292 printf %s "checking if -lcrypto needs -ldl... " >&6; }
16293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16322 LIBS="$LIBS -ldl -pthread"
16323 LIBSSL_LIBS="$LIBSSL_LIBS -ldl -pthread"
16324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if -lcrypto needs -ldl -pthread" >&5
16325 printf %s "checking if -lcrypto needs -ldl -pthread... " >&6; }
16326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16356 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LibreSSL" >&5
16403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
16578 for ac_arg in '' -fno-builtin; do
16581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16599 # declaration. Include always-available headers on the
16601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16631 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
16640 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Checking for OpenSSL >= 3.0.0" >&5
16672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16697 CFLAGS="-DOPENSSL_API_COMPAT=10100 $CFLAGS"
16700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16704 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16712 # Check whether --enable-sha2 was given.
16725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SHA256 and SHA512" >&5
16733 as_fn_error $? "No SHA2 functions found in OpenSSL: please upgrade OpenSSL or rerun with --disable-sha2" "$LINENO" 5
16745 # Check whether --enable-gost was given.
16757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GOST" >&5
16764 as_fn_error $? "OpenSSL >= 1.0.0 is needed for GOST support or rerun with --disable-gost" "$LINENO" 5
16772 as_fn_error $? "No ECC functions found in OpenSSL: please upgrade OpenSSL or rerun with --disable-gost" "$LINENO" 5
16776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GOST works" >&5
16780 if test -n "$ssldir"; then
16781 if test ! -d "$ssldir/lib" -a -d "$ssldir/lib64"; then
16782 CFLAGS="$CFLAGS -Wl,-rpath,$ssldir/lib64"
16784 CFLAGS="$CFLAGS -Wl,-rpath,$ssldir/lib"
16789 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16820 meth = EVP_PKEY_asn1_find_str(NULL, "gost2001", -1);
16844 meth = EVP_PKEY_asn1_find_str(&e, "gost2001", -1);
16857 unsigned char digest[64]; /* its a 256-bit digest, so uses 32 bytes */
16893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16902 # Check whether --enable-gost-anyway was given.
16908 if test "$ac_cv_c_gost_works" != "no" -o "$enable_gost_anyway" = "yes"; then
16910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, but compiling with GOST support anyway" >&5
16913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Gost support does not work because the engine is missing." >&5
16925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Install gost-engine first or use the --enable-gost-anyway to compile with GOST support anyway" >&5
16926 printf "%s\n" "$as_me: WARNING: Install gost-engine first or use the --enable-gost-anyway to compile with GOST support anyway" >&2;}
16927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: See also https://github.com/gost-engine/engine/wiki for information about gost-engine" >&5
16928 printf "%s\n" "$as_me: WARNING: See also https://github.com/gost-engine/engine/wiki for information about gost-engine" >&2;}
16933 # Check whether --enable-ecdsa was given.
16950 as_fn_error $? "OpenSSL does not support ECDSA: please upgrade OpenSSL or rerun with --disable-ecdsa" "$LINENO" 5
16958 as_fn_error $? "OpenSSL does not support SHA384: please upgrade OpenSSL or rerun with --disable-ecdsa" "$LINENO" 5
16976 as_fn_error $? "OpenSSL does not support the ECDSA curves: please upgrade OpenSSL or rerun with --disable-ecdsa" "$LINENO" 5
16993 as_fn_error $? "OpenSSL does not support the ECDSA curves: please upgrade OpenSSL or rerun with --disable-ecdsa" "$LINENO" 5
17003 # Check whether --enable-dsa was given.
17026 if test "x$enable_dsa" = "xyes"; then as_fn_error $? "OpenSSL does not support DSA and you used --enable-dsa." "$LINENO" 5
17035 # Check whether --enable-ed25519 was given.
17067 if test "x$enable_ed25519" = "xyes"; then as_fn_error $? "OpenSSL does not support ED25519 and you used --enable-ed25519." "$LINENO" 5
17076 # Check whether --enable-ed448 was given.
17108 if test "x$enable_ed448" = "xyes"; then as_fn_error $? "OpenSSL does not support ED448 and you used --enable-ed448." "$LINENO" 5
17117 # Check whether --enable-dane was given.
17123 # Check whether --enable-dane-verify was given.
17129 # Check whether --enable-dane-ta-usage was given.
17136 # Check whether --enable-full-dane was given.
17146 # Check whether --enable-no-dane-ta-usage was given.
17156 # Check whether --enable-no-dane-verify was given.
17183 as_fn_error $? "OpenSSL does not support DANE: please upgrade OpenSSL or rerun with --disable-dane" "$LINENO" 5
17210 LIBS="-lssl -lcrypto $LIBS"
17216 as_fn_error $? "OpenSSL does not support offline DANE verification (Needed for the DANE-TA usage type). Please upgrade OpenSSL to version >= 1.1.0 or rerun with --disable-dane-verify or --disable-dane-ta-usage" "$LINENO" 5
17219 LIBSSL_LIBS="-lssl $LIBSSL_LIBS"
17232 # Check whether --enable-rrtype-ninfo was given.
17247 # Check whether --enable-rrtype-rkey was given.
17262 # Check whether --enable-rrtype-openpgpkey was given.
17277 # Check whether --enable-rrtype-ta was given.
17292 # Check whether --enable-rrtype-avc was given.
17307 # Check whether --enable-rrtype-doa was given.
17322 # Check whether --enable-rrtype-amtrelay was given.
17337 # Check whether --enable-rrtype-svcb-https was given.
17359 if echo "$LIBSSL_LIBS" | grep -- "-lssl" >/dev/null 2>&1; then
17362 LIBSSL_SSL_LIBS="-lssl $LIBSSL_LIBS"
17374 # Check whether --enable-rpath was given.
17383 ac_config_commands="$ac_config_commands disable-rpath"
17400 #AC_DEFINE(CONFCHECK_LITTLE_ENDIAN, 1, [system appears to be little-endian])
17403 # should define WORDS_BIGENDIAN if the system is big-endian
17404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
17412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17423 # Check for potential -arch flags. It is not universal unless
17424 # there are at least two -arch flags with different values.
17428 if test -n "$ac_prev"; then
17431 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
17440 elif test "x$ac_word" = "x-arch"; then
17445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17491 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17493 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17536 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17538 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17585 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17601 return u.c[sizeof (long int) - 1] == 1;
17613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
17642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
17648 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17649 then ac_cv_path_EGREP="$GREP -E"
17651 if test -z "$EGREP"; then
17653 # Loop through the user's path and test for each of PROGNAME-LIST
17670 case `"$ac_path_EGREP" --version 2>&1` in
17685 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17691 test $ac_count -gt 10 && break
17693 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17701 if test -z "$ac_cv_path_EGREP"; then
17710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
17725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
17731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17738 char a[__bool_true_false_are_defined == 1 ? 1 : -1];
17751 char b[true == 1 ? 1 : -1];
17760 char d[false == 0 ? 1 : -1];
17764 char i[(bool) 0.5 == true ? 1 : -1];
17765 char j[(bool) 0.0 == false ? 1 : -1];
17766 char k[sizeof (bool) > 0 ? 1 : -1];
17769 char l[sizeof s.t > 0 ? 1 : -1];
17774 char n[sizeof m == h * sizeof m[0] ? 1 : -1];
17775 char o[-1 - (bool) 0 < 0 ? 1 : -1];
17776 /* Catch a bug in an HP-UX C compiler. See
17777 https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
17778 https://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
17802 char q[(_Bool) 0.5 == true ? 1 : -1];
17803 char r[(_Bool) 0.0 == false ? 1 : -1];
17804 char u[sizeof (_Bool) > 0 ? 1 : -1];
17805 char v[sizeof t.t > 0 ? 1 : -1];
17808 char x[sizeof m == h * sizeof m[0] ? 1 : -1];
17809 char y[-1 - (_Bool) 0 < 0 ? 1 : -1];
17847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
17860 # do the very minimum - we can always extend this
18021 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
18048 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
18076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_open_offline in -lpcap" >&5
18077 printf %s "checking for pcap_open_offline in -lpcap... " >&6; }
18083 LIBS="-lpcap $LIBS"
18084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_open_offline" >&5
18116 LIBPCAP_LIBS=-lpcap
18121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Can't find pcap library (needed for ldns-dpa, will not build dpa now.)" >&5
18122 printf "%s\n" "$as_me: WARNING: Can't find pcap library (needed for ldns-dpa, will not build dpa now.)" >&2;}
18670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18692 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
18728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18748 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
18761 *-*-amigaos* | *-*-msdosdjgpp*)
18769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
18774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
18784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18803 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
18818 write(-1, "", 0);
18898 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
18909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
18928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compile of fork" >&5
18930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18959 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5
19040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19069 LIBS="$LIBS -lws2_32"
19075 LIBS="$LIBS -lws2_32"
19076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getaddrinfo" >&5
19126 *" fake-rfc2553.$ac_objext "* ) ;;
19127 *) LIBOBJS="$LIBOBJS fake-rfc2553.$ac_objext"
19133 if test -n "$ac_tool_prefix"; then
19136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19142 if test -n "$WINDRES"; then
19157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19167 if test -n "$WINDRES"; then
19168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
19171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19177 if test -z "$ac_cv_prog_WINDRES"; then
19181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19187 if test -n "$ac_ct_WINDRES"; then
19202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19212 if test -n "$ac_ct_WINDRES"; then
19213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
19216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ioctlsocket" >&5
19240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19270 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler (${CC-cc}) accepts the \"format\" attribute" >&5
19278 printf %s "checking whether the C compiler (${CC-cc}) accepts the \"format\" attribute... " >&6; }
19284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19306 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_format_attribute" >&5
19320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler (${CC-cc}) accepts the \"unused\" attribute" >&5
19321 printf %s "checking whether the C compiler (${CC-cc}) accepts the \"unused\" attribute... " >&6; }
19327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_unused_attribute" >&5
19365 # Check whether --with-xcode-sdk was given.
19376 sdk_p=`xcode-select -print-path`;
19378 sdk_v="$( /usr/bin/xcrun --show-sdk-version 2>/dev/null )"
19383 if test -z "$sdk_v" ; then
19387 SYSROOT="$( find ${sdk_p} -name MacOSX${sdk_v}.sdk )"
19393 export CFLAGS="$CFLAGS -mmacosx-version-min=${sdk_c} -isysroot ${SYSROOT}"
19402 # Check whether --with-trust-anchor was given.
19408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Default trust anchor: $withval" >&5
19420 # Check whether --with-ca-file was given.
19430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using CAfile: $withval" >&5
19446 # Check whether --with-ca-path was given.
19456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using CApath: $withval" >&5
19497 CONFIG_FILES="Makefile libdns.doxygen ldns/common.h ldns/net.h ldns/util.h packaging/libldns.pc packaging/ldns-config"
19507 # scripts and configure runs, see configure's option --config-cache.
19512 # the --recheck option to rerun configure.
19526 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19531 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19545 # `set' does not quote correctly, so add quotes: double-quote
19547 sed -n \
19553 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19567 if test -w "$cache_file"; then
19569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19571 if test ! -f "$cache_file" || test -h "$cache_file"; then
19576 mv -f confcache "$cache_file"$$ &&
19577 mv -f "$cache_file"$$ "$cache_file" ;; #(
19579 mv -f confcache "$cache_file" ;;
19584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19588 rm -f confcache
19594 DEFS=-DHAVE_CONFIG_H
19619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19633 SHELL=\${CONFIG_SHELL-$SHELL}
19637 ## -------------------- ##
19639 ## -------------------- ##
19648 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19650 alias -g '${1+"$@"}'='"$@"'
19653 case `(set -o) 2>/dev/null` in #(
19655 set -o posix ;; #(
19669 # Quoting is to prevent editors from complaining about space-tab.
19679 # Ensure predictable behavior from utilities with locale-dependent output.
19686 # to be unset--not just set to an empty or harmless value--now, to
19687 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
19703 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19704 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19723 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
19734 if test ! -f "$as_myself"; then
19742 # ----------------------------------------
19748 as_status=$1; test $as_status -eq 0 && as_status=1
19750 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19760 # -----------------------
19768 # -----------------
19769 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19778 # ---------------
19787 # ----------------------
19806 # ------------------
19819 as_val=`expr "$@" || test $? -eq 1`
19831 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19837 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19843 as_me=`$as_basename -- "$0" ||
19874 case `echo -n x` in #(((((
19875 -n*)
19883 ECHO_N='-n';;
19886 # For backward compatibility with old third-party macros, we provide
19892 rm -f conf$$ conf$$.exe conf$$.file
19893 if test -d conf$$.dir; then
19894 rm -f conf$$.dir/conf$$.file
19896 rm -f conf$$.dir
19900 if ln -s conf$$.file conf$$ 2>/dev/null; then
19901 as_ln_s='ln -s'
19903 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19904 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19905 # In both cases, we have to default to `cp -pR'.
19906 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19907 as_ln_s='cp -pR'
19911 as_ln_s='cp -pR'
19914 as_ln_s='cp -pR'
19916 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19921 # -------------
19927 -*) as_dir=./$as_dir;;
19929 test -d "$as_dir" || eval $as_mkdir_p || {
19937 as_dir=`$as_dirname -- "$as_dir" ||
19960 test -d "$as_dir" && break
19962 test -z "$as_dirs" || eval "mkdir $as_dirs"
19963 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19967 if mkdir -p . 2>/dev/null; then
19968 as_mkdir_p='mkdir -p "$as_dir"'
19970 test -d ./-p && rmdir ./-p
19976 # -----------------------
19980 test -f "$1" && test -x "$1"
19982 as_test_x='test -x'
19993 ## ----------------------------------- ##
19995 ## ----------------------------------- ##
20013 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20043 -h, --help print this help, then exit
20044 -V, --version print version number and configuration settings, then exit
20045 --config print configuration, then exit
20046 -q, --quiet, --silent
20048 -d, --debug don't remove temporary files
20049 --recheck update $as_me by reconfiguring in the same conditions
20050 --file=FILE[:TEMPLATE]
20052 --header=FILE[:TEMPLATE]
20083 test -n "\$AWK" || AWK=awk
20092 --*=?*)
20097 --*=)
20111 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20113 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20115 --config | --confi | --conf | --con | --co | --c )
20117 --debug | --debu | --deb | --de | --d | -d )
20119 --file | --fil | --fi | --f )
20127 --header | --heade | --head | --hea )
20134 --he | --h)
20135 # Conflict between --help and --header
20137 Try \`$0 --help' for more information.";;
20138 --help | --hel | -h )
20140 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20141 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20145 -*) as_fn_error $? "unrecognized option: \`$1'
20146 Try \`$0 --help' for more information." ;;
20159 ac_configure_extra_args="$ac_configure_extra_args --silent"
20165 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20178 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20187 # INIT-COMMANDS
20191 # The HP-UX ksh and POSIX shell print the target directory to stdout
20425 # Double-quote double-evaled strings.
20448 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
20460 if test -n "\${ZSH_VERSION+set}"; then
20482 "disable-rpath") CONFIG_COMMANDS="$CONFIG_COMMANDS disable-rpath" ;;
20512 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20519 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20520 test -d "$tmp"
20523 tmp=./conf$$-$RANDOM
20531 if test -n "$CONFIG_FILES"; then
20558 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20564 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20573 rm -f conf$$subs.sh
20578 sed -n '
20621 rm -f conf$$subs.awk
20684 fi # test -n "$CONFIG_FILES"
20689 if test -n "$CONFIG_HEADERS"; then
20695 # here-document in config.status, that substitutes the proper values into
20702 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20703 if test -z "$ac_tt"; then
20717 sed -n '
20772 prefix = substr(line, 1, index(line, defundef) - 1)
20792 fi # test -n "$CONFIG_HEADERS"
20805 :[FH]-) ac_tag=-:-;;
20823 -) ac_f="$ac_tmp/stdin";;
20825 # (if the path is not absolute). The absolute path cannot be DOS-style,
20827 test -f "$ac_f" ||
20830 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20844 if test x"$ac_file" != x-; then
20846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20858 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20864 ac_dir=`$as_dirname -- "$ac_file" ||
20945 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20949 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20971 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20984 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20987 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20988 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20989 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20990 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20996 rm -f "$ac_tmp/stdin"
20998 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20999 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21007 if test x"$ac_file" != x-; then
21010 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21017 rm -f "$ac_file"
21023 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21024 || as_fn_error $? "could not create -" "$LINENO" 5
21028 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21039 if test -n "${ZSH_VERSION+set}"; then
21052 # Provide generalized library-building support services.
21127 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21128 Xsed="\$SED -e 1s/^X//"
21139 # A BSD- or MS-compatible name lister.
21202 # Commands used to install an old-style archive.
21264 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21267 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21298 # Is shlibpath searched before the hard-coded library search path?
21305 # The last name is the one that the linker finds with -lNAME
21330 # Compile-time system search path for libraries.
21333 # Detected run-time system search path for libraries.
21360 # Commands used to build an old-style archive.
21381 # Does compiler simultaneously support -c and -o options?
21384 # Whether or not to add -lc for building shared libraries.
21399 # Create an old-style archive from a shared archive.
21402 # Create a temporary old-style archive to link instead of a shared archive.
21427 # Whether we need a single "-rpath" flag with a separated argument.
21440 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21493 # -----------------------------------
21518 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
21519 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
21528 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
21535 \-*) ;;
21539 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
21567 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21571 || (rm -f "$cfgfile"; exit 1)
21573 mv -f "$cfgfile" "$ofile" ||
21574 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21578 "disable-rpath":C)
21579 sed < libtool > libtool-2 \
21580 's/^hardcode_libdir_flag_spec.*$'/'hardcode_libdir_flag_spec=" -D__LIBTOOL_RPATH_SED__ "/'
21581 mv libtool-2 libtool
21610 ac_config_status_args="$ac_config_status_args --quiet"
21618 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21627 sh $srcdir/install-sh -m 644 $file ldns/