Lines Matching +full:os +full:- +full:manifest +full:- +full:offset

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"
188 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
194 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
225 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
239 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
253 # Preserve -v and -x to the replacement shell.
257 case $- in # ((((
258 *v*x* | *x*v* ) as_opts=-vx ;;
259 *v* ) as_opts=-v ;;
260 *x* ) as_opts=-x ;;
266 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
278 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
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`
1041 if test -n "$ac_prev"; then
1054 --)
1057 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1059 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1062 -build | --build | --buil | --bui | --bu)
1064 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1067 -cache-file | --cache-file | --cache-fil | --cache-fi \
1068 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1070 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1071 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1074 --config-cache | -C)
1077 -datadir | --datadir | --datadi | --datad)
1079 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1082 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1083 | --dataroo | --dataro | --datar)
1085 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1086 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1089 -disable-* | --disable-*)
1090 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1092 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1095 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1100 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1105 -docdir | --docdir | --docdi | --doc | --do)
1107 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1110 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1112 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1115 -enable-* | --enable-*)
1116 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1121 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1126 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1131 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1132 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1133 | --exec | --exe | --ex)
1135 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1136 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1137 | --exec=* | --exe=* | --ex=*)
1140 -gas | --gas | --ga | --g)
1141 # Obsolete; use --with-gas.
1144 -help | --help | --hel | --he | -h)
1146 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1148 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1151 -host | --host | --hos | --ho)
1153 -host=* | --host=* | --hos=* | --ho=*)
1156 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1158 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1159 | --ht=*)
1162 -includedir | --includedir | --includedi | --included | --include \
1163 | --includ | --inclu | --incl | --inc)
1165 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1166 | --includ=* | --inclu=* | --incl=* | --inc=*)
1169 -infodir | --infodir | --infodi | --infod | --info | --inf)
1171 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1174 -libdir | --libdir | --libdi | --libd)
1176 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1179 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1180 | --libexe | --libex | --libe)
1182 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1183 | --libexe=* | --libex=* | --libe=*)
1186 -localedir | --localedir | --localedi | --localed | --locale)
1188 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1191 -localstatedir | --localstatedir | --localstatedi | --localstated \
1192 | --localstate | --localstat | --localsta | --localst | --locals)
1194 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1195 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1198 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1200 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1203 -nfp | --nfp | --nf)
1204 # Obsolete; use --without-fp.
1207 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1208 | --no-cr | --no-c | -n)
1211 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1212 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1215 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1216 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1217 | --oldin | --oldi | --old | --ol | --o)
1219 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1220 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1221 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1224 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1226 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1229 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1230 | --program-pre | --program-pr | --program-p)
1232 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1233 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1236 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1237 | --program-suf | --program-su | --program-s)
1239 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1240 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1243 -program-transform-name | --program-transform-name \
1244 | --program-transform-nam | --program-transform-na \
1245 | --program-transform-n | --program-transform- \
1246 | --program-transform | --program-transfor \
1247 | --program-transfo | --program-transf \
1248 | --program-trans | --program-tran \
1249 | --progr-tra | --program-tr | --program-t)
1251 -program-transform-name=* | --program-transform-name=* \
1252 | --program-transform-nam=* | --program-transform-na=* \
1253 | --program-transform-n=* | --program-transform-=* \
1254 | --program-transform=* | --program-transfor=* \
1255 | --program-transfo=* | --program-transf=* \
1256 | --program-trans=* | --program-tran=* \
1257 | --progr-tra=* | --program-tr=* | --program-t=*)
1260 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1262 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1265 -psdir | --psdir | --psdi | --psd | --ps)
1267 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1270 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1271 | -silent | --silent | --silen | --sile | --sil)
1274 -runstatedir | --runstatedir | --runstatedi | --runstated \
1275 | --runstate | --runstat | --runsta | --runst | --runs \
1276 | --run | --ru | --r)
1278 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1279 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1280 | --run=* | --ru=* | --r=*)
1283 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1285 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1286 | --sbi=* | --sb=*)
1289 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1290 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1291 | --sharedst | --shareds | --shared | --share | --shar \
1292 | --sha | --sh)
1294 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1295 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1296 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1297 | --sha=* | --sh=*)
1300 -site | --site | --sit)
1302 -site=* | --site=* | --sit=*)
1305 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1307 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1310 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1311 | --syscon | --sysco | --sysc | --sys | --sy)
1313 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1314 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1317 -target | --target | --targe | --targ | --tar | --ta | --t)
1319 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1322 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1325 -version | --version | --versio | --versi | --vers | -V)
1328 -with-* | --with-*)
1329 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1331 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1334 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1339 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1344 -without-* | --without-*)
1345 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1347 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1350 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1355 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1360 --x)
1361 # Obsolete; use --with-x.
1364 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1365 | --x-incl | --x-inc | --x-in | --x-i)
1367 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1368 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1371 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1372 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1374 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1375 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1378 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1379 Try \`$0 --help' for more information"
1386 '' | [0-9]* | *[!_$as_cr_alnum]* )
1394 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1395 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1403 if test -n "$ac_prev"; then
1404 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1408 if test -n "$ac_unrecognized_opts"; then
1434 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1438 # used to hold the argument of --host etc.
1454 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1459 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1460 ac_ls_di=`ls -di .` &&
1461 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1468 if test -z "$srcdir"; then
1471 ac_confdir=`$as_dirname -- "$as_myself" ||
1495 if test ! -r "$srcdir/$ac_unique_file"; then
1501 if test ! -r "$srcdir/$ac_unique_file"; then
1507 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1515 # mess up M-x gdb in Emacs.
1527 # Report the --help message.
1543 -h, --help display this help and exit
1544 --help=short display options specific to this package
1545 --help=recursive display the short help of all the included packages
1546 -V, --version display version information and exit
1547 -q, --quiet, --silent do not print \`checking ...' messages
1548 --cache-file=FILE cache test results in FILE [disabled]
1549 -C, --config-cache alias for \`--cache-file=config.cache'
1550 -n, --no-create do not create output files
1551 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1554 --prefix=PREFIX install architecture-independent files in PREFIX
1556 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1561 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1562 for instance \`--prefix=\$HOME'.
1567 --bindir=DIR user executables [EPREFIX/bin]
1568 --sbindir=DIR system admin executables [EPREFIX/sbin]
1569 --libexecdir=DIR program executables [EPREFIX/libexec]
1570 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1571 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1572 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1573 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1574 --libdir=DIR object code libraries [EPREFIX/lib]
1575 --includedir=DIR C header files [PREFIX/include]
1576 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1577 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1578 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1579 --infodir=DIR info documentation [DATAROOTDIR/info]
1580 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1581 --mandir=DIR man documentation [DATAROOTDIR/man]
1582 --docdir=DIR documentation root [DATAROOTDIR/doc/sntp]
1583 --htmldir=DIR html documentation [DOCDIR]
1584 --dvidir=DIR dvi documentation [DOCDIR]
1585 --pdfdir=DIR pdf documentation [DOCDIR]
1586 --psdir=DIR ps documentation [DOCDIR]
1592 --program-prefix=PREFIX prepend PREFIX to installed program names
1593 --program-suffix=SUFFIX append SUFFIX to installed program names
1594 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1597 --build=BUILD configure for building on BUILD [guessed]
1598 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1602 if test -n "$ac_init_help"; then
1609 --disable-option-checking ignore unrecognized --enable/--with options
1610 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1611 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1612 --enable-silent-rules less verbose build output (undo: "make V=1")
1613 --disable-silent-rules verbose build output (undo: "make V=0")
1614 --enable-dependency-tracking
1616 --disable-dependency-tracking
1617 speeds up one-time build
1618 defaults: + yes, - no, s system-specific
1619 --enable-debugging + include ntpd debugging code
1620 --enable-thread-support s use threads (+ if available)
1621 --enable-c99-snprintf s use replacement printf family
1622 --enable-clockctl s Use /dev/clockctl for non-root clock control
1623 --enable-linuxcaps + Use Linux capabilities for non-root clock control
1624 --enable-solarisprivs + Use Solaris privileges for non-root clock control
1625 --enable-trustedbsd-mac s Use TrustedBSD MAC policy for non-root clock
1627 --enable-signalled-io s Use signalled IO if we can
1628 --enable-verbose-ssl - show crypto lib detection details
1629 --enable-openssl-random + Use SSL lib's secure random numbers
1630 --enable-shared[=PKGS] build shared libraries [default=no]
1631 --enable-static[=PKGS] build static libraries [default=yes]
1632 --enable-fast-install[=PKGS]
1634 --disable-libtool-lock avoid locking (might break parallel builds)
1635 --disable-nls disable nls support in libopts
1636 --enable-local-libopts Use the supplied libopts tearoff code
1637 --enable-libopts-install
1639 --disable-optional-args not wanting optional option args
1640 --enable-local-libevent Force using the supplied libevent tearoff code
1641 --enable-ipv6 s use IPv6?
1643 --enable-getifaddrs + Enable the use of getifaddrs() [[yes|no]].
1644 --enable-problem-tests + enable tests with undiagnosed problems
1647 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1648 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1649 --with-hardenfile=XXX os-specific or "/dev/null"
1650 --with-locfile=XXX os-specific or "legacy"
1651 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1652 --with-lineeditlibs edit,editline (readline may be specified if desired)
1653 --with-threads with threads [auto]
1654 --with-yielding-select with yielding select [auto]
1655 --with-crypto + =openssl,libcrypto
1656 --with-openssl-libdir + =/something/reasonable
1658 --with-openssl-incdir + =search likely dirs
1660 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1662 --with-aix-soname=aix|svr4|both
1665 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1667 --without-sntp - disable building sntp and sntp/tests
1668 --with-autoopts-config specify the config-info script
1669 --with-regex-header a reg expr header is specified
1670 --with-libregex libregex installation prefix
1671 --with-libregex-cflags libregex compile flags
1672 --with-libregex-libs libregex link command arguments
1673 --with-kame - =/usr/local/v6
1678 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1680 LIBS libraries to pass to the linker, e.g. -l<library>
1681 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1685 User-defined run-time library search path.
1697 # If there are subdirs, report their specific --help.
1699 test -d "$ac_dir" ||
1700 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1738 # Metaconfig's "Configure" on case-insensitive file systems.
1739 if test -f "$ac_srcdir/configure.gnu"; then
1741 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1742 elif test -f "$ac_srcdir/configure"; then
1744 $SHELL "$ac_srcdir/configure" --help=recursive
1752 test -n "$ac_init_help" && exit $ac_status
1765 ## ------------------------ ##
1767 ## ------------------------ ##
1770 # --------------------------
1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775 rm -f conftest.$ac_objext conftest.beam
1781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1785 if test -s conftest.err; then
1786 grep -v '^ *+' conftest.err >conftest.er1
1788 mv -f conftest.er1 conftest.err
1790 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792 test -z "$ac_c_werror_flag" ||
1793 test ! -s conftest.err
1794 } && test -s conftest.$ac_objext
1809 # -------------------------------------------------------
1814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1832 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1842 # -----------------------
1846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857 if test -s conftest.err; then
1858 grep -v '^ *+' conftest.err >conftest.er1
1860 mv -f conftest.er1 conftest.err
1862 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1864 test -z "$ac_c_werror_flag" ||
1865 test ! -s conftest.err
1866 } && test -s conftest$ac_exeext && {
1868 test -x conftest$ac_exeext
1882 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1889 # ----------------------
1894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1914 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1925 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1932 # ----------------------
1936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1946 if test -s conftest.err; then
1947 grep -v '^ *+' conftest.err >conftest.er1
1949 mv -f conftest.er1 conftest.err
1951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1953 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1954 test ! -s conftest.err
1970 # -------------------------------------------
1975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2015 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2017 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2027 # ----------------------------------
2031 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2088 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
2089 # ------------------------------------------------------------------
2091 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
2094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2102 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2129 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2141 # --------------------------------------------
2142 # Tries to find the compile-time value of EXPR in a program that includes
2147 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2156 static int test_array [1 - 2 * !(($2) >= 0)];
2168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2174 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2187 if test $ac_lo -le $ac_mid; then
2193 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202 static int test_array [1 - 2 * !(($2) < 0)];
2212 ac_hi=-1 ac_mid=-1
2214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2220 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2232 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2233 if test $ac_mid -le $ac_hi; then
2239 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2244 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2249 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2256 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2321 rm -f conftest.val
2330 # ----------------------------------------------------
2335 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2421 ## --------- ##
2423 ## --------- ##
2425 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2426 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2427 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2428 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2429 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2431 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2432 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2435 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2462 ## ----------- ##
2464 ## ----------- ##
2470 # Strip out --no-create and --no-recursion so they do not pile up.
2471 # Strip out --silent because we don't want to record it for future runs.
2472 # Also quote any args containing shell meta-characters.
2473 # Make two passes to allow for proper duplicate-argument suppression.
2483 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2484 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2485 | -silent | --silent | --silen | --sile | --sil)
2498 *=* | --config-cache | -C | -disable-* | --disable-* \
2499 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2500 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2501 | -with-* | --with-* | -without-* | --without-* | --x)
2506 -* ) ac_must_keep_next=true ;;
2529 printf "%s\n" "## ---------------- ##
2531 ## ---------------- ##"
2535 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2540 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2553 sed -n \
2558 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2565 printf "%s\n" "## ----------------- ##
2567 ## ----------------- ##"
2579 if test -n "$ac_subst_files"; then
2580 printf "%s\n" "## ------------------- ##
2582 ## ------------------- ##"
2595 if test -s confdefs.h; then
2596 printf "%s\n" "## ----------- ##
2598 ## ----------- ##"
2607 rm -f core *.core core.conftest.* &&
2608 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2616 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2617 rm -f -r conftest* confdefs.h
2638 if test -n "$CONFIG_SITE"; then
2654 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2659 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2666 if test -r "$cache_file"; then
2669 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2714 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2717 as an "x". The following induces an error, until -std is added to get
2720 that is true only with -std. */
2721 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2723 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2726 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2780 static long long int bignum = -9223372036854775807LL;
2800 // See if C++-style comments work.
2863 ia->datasize = 10;
2864 for (int i = 0; i < ia->datasize; ++i)
2865 ia->data[i] = i * 1.234;
2878 dynamic_array[ni.number - 1] = 543;
2882 || dynamic_array[ni.number - 1] != 543);
2905 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2919 // Check UTF-8 literals.
2928 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3009 ac_aux_files="ltmain.sh ar-lib compile config.guess config.sub missing install-sh"
3012 ac_aux_dir_candidates="${srcdir}/libevent/build-aux"
3015 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3021 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3039 # As a special case, if "install-sh" is required, that requirement
3040 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3042 if test x"$ac_aux" = x"install-sh"
3044 if test -f "${as_dir}install-sh"; then
3045 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3046 ac_install_sh="${as_dir}install-sh -c"
3047 elif test -f "${as_dir}install.sh"; then
3048 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3049 ac_install_sh="${as_dir}install.sh -c"
3050 elif test -f "${as_dir}shtool"; then
3051 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3052 ac_install_sh="${as_dir}shtool install -c"
3056 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3062 if test -f "${as_dir}${ac_aux}"; then
3063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3095 if test -f "${ac_aux_dir}config.guess"; then
3098 if test -f "${ac_aux_dir}config.sub"; then
3101 if test -f "$ac_aux_dir/configure"; then
3115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3160 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3163 ## -------------------- ##
3165 ## -------------------- ##
3169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3196 # safe choice is to bump all on any cache-invalidating change.
3198 # In order to avoid the risk of version stamp collision between -stable
3199 # and -dev branches, do not simply increment the version, instead use
3200 # the date YYYYMMDD optionally with -HHMM if there is more than one
3227 # empty as it is noisy. Differentiate a newly-created
3252 c_version="${ntp_cv_sntp_cache_version:-(no version found)}"
3265 sed -n -e 's/=.*$//' \
3266 -e '/_cv_/p'
3276 sed -n -e 's/=.*$//' \
3277 -e '/ntp_cv_.*_cache_version/d' \
3278 -e '/_cv_/p'
3287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $cache_file saved by another version, ignored." >&5
3289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: configure script cache version: $sntp_configure_cache_version" >&5
3291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $cache_file version: $c_version" >&5
3320 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3323 # OS/2's system install, which has a completely different semantic
3326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3327 printf %s "checking for a BSD-compatible install... " >&6; }
3328 if test -z "$INSTALL"; then
3361 # program-specific install script used by HP pwplus--don't use.
3364 rm -rf conftest.one conftest.two conftest.dir
3368 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
3369 test -s conftest.one && test -s conftest.two &&
3370 test -s conftest.dir/conftest.one &&
3371 test -s conftest.dir/conftest.two
3373 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
3386 rm -rf conftest.one conftest.two conftest.dir
3399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3402 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3404 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3406 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3408 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3426 # arguments. Must try -L first in case configure is actually a
3434 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3436 # -L didn't work.
3437 set X `ls -t "$srcdir/configure" conftest.file`
3446 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3449 if test "$2" = conftest.file || test $am_try -eq 2; then
3465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3475 rm -f conftest.file
3496 if eval "$MISSING --is-lightweight"; then
3500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3507 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3509 install_sh="\${SHELL} $am_aux_dir/install-sh"
3514 # run "make install-strip". However 'strip' might not be the right
3515 # tool to use in cross-compilation environments, therefore Automake
3518 if test -n "$ac_tool_prefix"; then
3521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3527 if test -n "$STRIP"; then
3542 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3552 if test -n "$STRIP"; then
3553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3562 if test -z "$ac_cv_prog_STRIP"; then
3566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3572 if test -n "$ac_ct_STRIP"; then
3587 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3597 if test -n "$ac_ct_STRIP"; then
3598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3621 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3625 printf %s "checking for a race-free mkdir -p... " >&6; }
3626 if test -z "$MKDIR_P"; then
3643 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3657 test -d ./--version && rmdir ./--version
3659 MKDIR_P="$ac_cv_path_mkdir -p"
3665 MKDIR_P="$ac_install_sh -d"
3668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3681 if test -n "$AWK"; then
3696 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3706 if test -n "$AWK"; then
3707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3715 test -n "$AWK" && break
3718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3719 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3720 set x ${MAKE-make}
3721 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3732 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3738 rm -f conftest.make
3741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 SET_MAKE="MAKE=${MAKE-make}"
3750 rm -rf .tst 2>/dev/null
3752 if test -d .tst; then
3759 # Check whether --enable-silent-rules was given.
3770 am_make=${MAKE-make}
3771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3783 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3801 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3802 # is not polluted with repeated "-I."
3803 am__isrc=' -I$(srcdir)'
3805 if test -f $srcdir/config.status; then
3811 if test -z "$CYGPATH_W"; then
3812 if (cygpath --version) >/dev/null 2>/dev/null; then
3813 CYGPATH_W='cygpath -w'
3832 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3835 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3838 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3841 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3844 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3848 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3849 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3855 # in the wild :-( We should find a proper way to deprecate it ...
3856 AMTAR='$${TAR-tar}'
3862 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3869 if test -z "$CTAGS"; then
3873 if test -z "$ETAGS"; then
3877 if test -z "$CSCOPE"; then
3883 # POSIX will say in a future version that running "rm -f" with no argument
3891 if rm -f && rm -fr && rm -rf; then : OK; else
3896 on the command line, even when the '-f' option is present. This is contrary
3900 Please tell bug-automake@gnu.org about your system, including the value
3918 to "yes", and re-run configure.
3926 # Check whether --enable-silent-rules was given.
3937 am_make=${MAKE-make}
3938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3950 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3992 *-*-*) ;;
3996 ac_save_IFS=$IFS; IFS='-'
4006 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4026 *-*-*) ;;
4030 ac_save_IFS=$IFS; IFS='-'
4040 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4063 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4077 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4078 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4098 rm -f confinc.* confmf.*
4099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4102 # Check whether --enable-dependency-tracking was given.
4124 *-*-freebsd1?.*)
4137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4140 if test -n "$ac_tool_prefix"; then
4145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4151 if test -n "$CC"; then
4166 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4176 if test -n "$CC"; then
4177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4185 test -n "$CC" && break
4188 if test -z "$CC"; then
4194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4200 if test -n "$ac_ct_CC"; then
4215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4225 if test -n "$ac_ct_CC"; then
4226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4234 test -n "$ac_ct_CC" && break
4242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4251 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4260 for ac_option in --version -v -V -qversion -version; do
4266 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4270 if test -s conftest.err; then
4276 rm -f conftest.er1 conftest.err
4277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4294 # Try to create an executable without -o first, disregard a.out.
4297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4299 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4312 rm -f $ac_rmfiles
4319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4323 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4326 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4329 # so that the user can short-circuit this test for compilers unknown to
4333 test -f "$ac_file" || continue
4347 # safe: cross compilers may not add the suffix if given an `-o'
4361 if test -z "$ac_file"
4363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4368 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4382 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4403 test -f "$ac_file" || continue
4412 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4417 rm -f conftest conftest$ac_cv_exeext
4418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4421 rm -f conftest.$ac_ext
4424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4452 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4463 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4470 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4473 If you meant to cross compile, use \`--host'.
4478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4481 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4500 rm -f conftest.o conftest.obj
4506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4510 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4514 test -f "$ac_file" || continue;
4525 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4530 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4578 printf %s "checking whether $CC accepts -g... " >&6; }
4586 CFLAGS="-g"
4587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4619 CFLAGS="-g"
4620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4637 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4648 CFLAGS="-g -O2"
4650 CFLAGS="-g"
4654 CFLAGS="-O2"
4662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4674 for ac_arg in '' -std=gnu11
4681 rm -f core conftest.err conftest.$ac_objext conftest.beam
4684 rm -f conftest.$ac_ext
4690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4727 rm -f core conftest.err conftest.$ac_objext conftest.beam
4730 rm -f conftest.$ac_ext
4736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4766 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4773 rm -f core conftest.err conftest.$ac_objext conftest.beam
4776 rm -f conftest.$ac_ext
4782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4812 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4830 # compilers refuse to overwrite an existing .o file with -o,
4834 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4835 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4839 && test -f conftest2.$ac_objext; then
4846 rm -f core conftest*
4849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4855 # A longer-term fix would be to have automake use am__CC in this case,
4861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4874 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4877 # instance it was reported that on HP-UX the gcc test will end up
4878 # making a dummy file named 'D' -- because '-MD' means "put the output
4880 rm -rf conftest.dir
4888 # both Tru64's cc and ICC support -MD to output dependencies as a
4896 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4900 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4920 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4922 # handle '-M -o', and we need to detect this. Also, some Intel
4924 am__obj=sub/conftest.${OBJEXT-o}
4925 am__minus_obj="-o $am__obj"
4932 # After this tag, mechanisms are not by side-effect, so they'll
4941 # This compiler won't grok '-c -o', but also, the minuso test has
4944 am__obj=conftest.${OBJEXT-o}
4952 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4957 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4959 # or remarks (even with -Werror). So we grep stderr for any message
4961 # When given -MP, icc 7.0 and 7.1 complain thusly:
4962 # icc: Command line warning: ignoring option '-M'; no argument required
4964 # icc: Command line remark: option '-MP' not supported
4974 rm -rf conftest.dir
4980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
5073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5108 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
5187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ANSI C89/ISO C90 is the minimum to compile NTP
5194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC can handle #warning" >&5
5200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5218 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_cpp_warning" >&5
5230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports __attribute__((...))" >&5
5236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_cc_attribute" >&5
5271 CFLAGS="$SAVED_CFLAGS -Wstrict-overflow"
5272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC can handle -Wstrict-overflow" >&5
5273 printf %s "checking if $CC can handle -Wstrict-overflow... " >&6; }
5278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5296 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_gcc_Wstrict_overflow" >&5
5305 CFLAGS="$SAVED_CFLAGS -Winit-self"
5306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC can handle -Winit-self" >&5
5307 printf %s "checking if $CC can handle -Winit-self... " >&6; }
5313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5331 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_gcc_Winit_self" >&5
5342 # This causes a bunch of distracting warnings due to -Wformat.
5344 CFLAGS="$SAVED_CFLAGS -Wno-format -Wno-format-security"
5345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC can handle -Wno-format -Wno-format-security" >&5
5346 printf %s "checking if $CC can handle -Wno-format -Wno-format-security... " >&6; }
5352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_gcc_Wno_format" >&5
5380 CC_NOFORMAT="-Wno-format -Wno-format-security"
5381 CFLAGS="$SAVED_CFLAGS -Wformat -Wno-format-truncation -Werror"
5382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC can handle -Wformat -Wno-format-truncation" >&5
5383 printf %s "checking if $CC can handle -Wformat -Wno-format-truncation... " >&6; }
5388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5406 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_gcc_Wno_format_truncation" >&5
5420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if linker supports omitting unused code and data" >&5
5427 # NetBSD will link but likely not run with --gc-sections
5430 # --gc-sections causes attempt to load as linux elf, with
5438 CFLAGS="$CFLAGS -Wl,--gc-sections"
5439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5478 if test "X$cross_compiling" = "Xyes" || grep gc-sections conftest.err ; then
5489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_gc_sections_runs" >&5
5500 LDADD_LIBNTP="-Wl,--gc-sections"
5501 CFLAGS_NTP="$CFLAGS_NTP -ffunction-sections -fdata-sections"
5507 CFLAGS_NTP="$CFLAGS_NTP -Wall"
5508 CFLAGS_NTP="$CFLAGS_NTP -Wcast-align"
5509 CFLAGS_NTP="$CFLAGS_NTP -Wcast-qual"
5510 # CFLAGS_NTP="$CFLAGS_NTP -Wconversion"
5511 # CFLAGS_NTP="$CFLAGS_NTP -Werror"
5512 # CFLAGS_NTP="$CFLAGS_NTP -Wextra"
5513 # CFLAGS_NTP="$CFLAGS_NTP -Wfloat-equal"
5514 CFLAGS_NTP="$CFLAGS_NTP -Wmissing-prototypes"
5515 CFLAGS_NTP="$CFLAGS_NTP -Wpointer-arith"
5516 CFLAGS_NTP="$CFLAGS_NTP -Wshadow"
5517 # CFLAGS_NTP="$CFLAGS_NTP -Wtraditional"
5518 # CFLAGS_NTP="$CFLAGS_NTP -Wwrite-strings"
5521 CFLAGS_NTP="$CFLAGS_NTP -Winit-self"
5525 CFLAGS_NTP="$CFLAGS_NTP -Wstrict-overflow"
5529 CFLAGS_NTP="$CFLAGS_NTP -Wno-format-truncation"
5531 # -W[no-]strict-prototypes might be added by NTP_OPENSSL
5535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking additional compiler flags" >&5
5544 aix[1-3]*)
5546 aix4.[0-2]*)
5548 ntp_os_cflags="-D_XOPEN_EXTENDED_SOURCE"
5552 ntp_os_cflags="-DHAVE_BAD_HEADERS -D_XOPEN_EXTENDED_SOURCE"
5553 ntp_os_cflags="${ntp_os_cflags} -D_USE_IRS -D_MSGQSUPPORT"
5562 ntp_os_cflags="-DHAVE_BAD_HEADERS -D_XOPEN_SOURCE=600"
5563 ntp_os_cflags="${ntp_os_cflags} -D_USE_IRS"
5566 ntp_os_cflags="-DSYS_AMIGA"
5569 ntp_os_cflags="-D_P1003_1B_VISIBLE"
5571 hpux10.*) # at least for hppa2.0-hp-hpux10.20
5576 # use Ansi compiler on HPUX, and some -Wp magic
5577 ntp_os_cflags="-Ae -Wp,-H18816"
5580 ntp_os_cflags="${ntp_os_cflags} -D_HPUX_SOURCE -D__STDC_VERSION__=199901L"
5588 ntp_os_cflags="-Ae"
5590 ntp_os_cflags="${ntp_os_cflags} -D_HPUX_SOURCE -D__STDC_VERSION__=199901L"
5595 # do not use 64-bit compiler
5596 ntp_os_cflags="-n32 -mips3 -Wl,-woff,84"
5600 ntp_os_cflags="-posix"
5602 solaris1*|solaris2.[0-5]|solaris2.5.*)
5604 sunos[34]*|sunos5.[0-5]|sunos5.5.*)
5607 # turn on 64-bit file offset interface
5608 ntp_os_cflags="-D_LARGEFILE64_SOURCE"
5620 ntp_os_cflags="-DSYS_VXWORKS"
5633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_os_cflags_msg" >&5
5637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking additional linker flags" >&5
5650 ntp_os_ldflags="-Wl,+allowdups"
5665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_os_ldflags_msg" >&5
5670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5689 # Check for potential -arch flags. It is not universal unless
5690 # there are at least two -arch flags with different values.
5694 if test -n "$ac_prev"; then
5697 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5706 elif test "x$ac_word" = "x-arch"; then
5711 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5757 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5802 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5867 return u.c[sizeof (long int) - 1] == 1;
5879 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
5909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5929 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
5941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5947 if test -n "$CPP" && test -d "$CPP"; then
5950 if test -z "$CPP"; then
5956 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
5962 # with a fresh cross-compiler works.
5963 # On the NeXT, cc -E runs the code through the compiler's parser,
5965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5977 rm -f conftest.err conftest.i conftest.$ac_ext
5981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5994 rm -f conftest.err conftest.i conftest.$ac_ext
5998 rm -f conftest.i conftest.err conftest.$ac_ext
6012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6018 # with a fresh cross-compiler works.
6019 # On the NeXT, cc -E runs the code through the compiler's parser,
6021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6033 rm -f conftest.err conftest.i conftest.$ac_ext
6037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6050 rm -f conftest.err conftest.i conftest.$ac_ext
6054 rm -f conftest.i conftest.err conftest.$ac_ext
6059 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compile/link hardening flags" >&5
6079 # Check whether --with-hardenfile was given.
6094 scripts/genHardFlags -d "$SENTINEL_DIR" \
6097 scripts/genHardFlags -d "$SENTINEL_DIR" -f "$with_hardenfile" \
6105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: in file $GENHARDFLAGFILE" >&5
6110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed." >&5
6124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for install dir and man conventions" >&5
6128 # Check whether --with-locfile was given.
6143 scripts/genLocInfo -d "$SENTINEL_DIR" \
6146 scripts/genLocInfo -d "$SENTINEL_DIR" -f "$with_locfile" \
6154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: in file $GENLOCINFOFILE" >&5
6159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed." >&5
6215 if test -z "$NTPSWEEP_NI" ; then
6263 if test -z "$UPDATE_LEAP_NI" ; then
6275 if test -n "$ac_tool_prefix"; then
6276 for ac_prog in ar lib "link -lib"
6280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6286 if test -n "$AR"; then
6301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6311 if test -n "$AR"; then
6312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6320 test -n "$AR" && break
6323 if test -z "$AR"; then
6325 for ac_prog in ar lib "link -lib"
6329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6335 if test -n "$ac_ct_AR"; then
6350 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6360 if test -n "$ac_ct_AR"; then
6361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6369 test -n "$ac_ct_AR" && break
6377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
6395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6407 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6410 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6412 if test "$ac_status" -eq 0; then
6415 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
6416 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6419 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6421 if test "$ac_status" -eq 0; then
6427 rm -f conftest.lib libconftest.a
6430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
6445 # Microsoft lib, so override with the ar-lib wrapper script.
6448 # A longer-term fix would be to have automake use am__AR in this case,
6449 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
6451 AR="$am_aux_dir/ar-lib $AR"
6459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6471 if test -z "$SED"; then
6473 # Loop through the user's path and test for each of PROGNAME-LIST
6490 case `"$ac_path_SED" --version 2>&1` in
6502 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6505 if test $ac_count -gt ${ac_path_SED_max-0}; then
6511 test $ac_count -gt 10 && break
6513 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6521 if test -z "$ac_cv_path_SED"; then
6529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6532 rm -f conftest.sed
6536 # Expose a cross-compilation indicator to makefiles
6547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6559 if test -z "$SED"; then
6561 # Loop through the user's path and test for each of PROGNAME-LIST
6578 case `"$ac_path_SED" --version 2>&1` in
6590 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6593 if test $ac_count -gt ${ac_path_SED_max-0}; then
6599 test $ac_count -gt 10 && break
6601 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6609 if test -z "$ac_cv_path_SED"; then
6617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6620 rm -f conftest.sed
6622 test -z "$SED" && SED=sed
6623 Xsed="$SED -e 1s/^X//"
6635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6636 printf %s "checking for grep that handles long lines and -e... " >&6; }
6641 if test -z "$GREP"; then
6643 # Loop through the user's path and test for each of PROGNAME-LIST
6660 case `"$ac_path_GREP" --version 2>&1` in
6672 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6675 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6681 test $ac_count -gt 10 && break
6683 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6691 if test -z "$ac_cv_path_GREP"; then
6699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6710 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6711 then ac_cv_path_EGREP="$GREP -E"
6713 if test -z "$EGREP"; then
6715 # Loop through the user's path and test for each of PROGNAME-LIST
6732 case `"$ac_path_EGREP" --version 2>&1` in
6747 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6753 test $ac_count -gt 10 && break
6755 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6763 if test -z "$ac_cv_path_EGREP"; then
6772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6783 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6784 then ac_cv_path_FGREP="$GREP -F"
6786 if test -z "$FGREP"; then
6788 # Loop through the user's path and test for each of PROGNAME-LIST
6805 case `"$ac_path_FGREP" --version 2>&1` in
6820 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6826 test $ac_count -gt 10 && break
6828 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6836 if test -z "$ac_cv_path_FGREP"; then
6845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6850 test -z "$GREP" && GREP=grep
6872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6875 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6876 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6877 ECHO='print -r --'
6892 # Invoke $ECHO with all args, space-separated.
6899 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6901 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6902 printf "%s\n" "print -r" >&6; } ;;
6903 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6949 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
6990 for ac_arg in '' -fno-builtin; do
6993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7011 # declaration. Include always-available headers on the
7013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7041 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7043 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
7052 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7073 # Check whether --enable-c99-snprintf was given.
7095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
7105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7114 long long int nll = -9223372036854775807LL;
7117 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
7118 ? 1 : -1)];
7119 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
7120 ? 1 : -1)];
7143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
7166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether vsnprintf is C99 compliant" >&5
7176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7209 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hw_cv_func_vsnprintf_c99" >&5
7222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C99-snprintf replacement vsnprintf will be used" >&5
7223 printf %s "checking if C99-snprintf replacement vsnprintf will be used... " >&6; }
7224 if test "${hw_force_rpl_vsnprintf=no}" = yes -o "$hw_cv_func_vsnprintf_c99" = no
7230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hw_use_rpl_vsnprintf" >&5
7288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
7297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7305 static int test_array [1 - 2 * !(/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
7320 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double" >&5
7333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
7349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7354 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
7355 # define LLONG_MAX (HALF - 1 + HALF)
7381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
7397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
7407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7416 long long int nll = -9223372036854775807LL;
7419 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
7420 ? 1 : -1)];
7421 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
7422 ? 1 : -1)];
7445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
7513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7519 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
7534 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7535 test -z "$ac_type" && break
7559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
7560 printf %s "checking for an ANSI C-conforming const... " >&6; }
7565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7584 an arm of an if-expression whose if-part is not a constant
7587 pcpcc = &g + (g ? g-g : 0);
7600 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7605 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7611 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7613 struct s *b = &bx; b->j = 5;
7615 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7632 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
7667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether snprintf is C99 compliant" >&5
7677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hw_cv_func_snprintf_c99" >&5
7711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C99-snprintf replacement snprintf will be used" >&5
7712 printf %s "checking if C99-snprintf replacement snprintf will be used... " >&6; }
7713 if test "${hw_force_rpl_snprintf=no}" = yes -o "$hw_cv_func_snprintf_c99" = no
7719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hw_use_rpl_snprintf" >&5
7735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
7736 printf %s "checking for an ANSI C-conforming const... " >&6; }
7741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7760 an arm of an if-expression whose if-part is not a constant
7763 pcpcc = &g + (g ? g-g : 0);
7776 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7781 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7787 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7789 struct s *b = &bx; b->j = 5;
7791 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
7835 if test -n "$ac_tool_prefix"; then
7836 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7837 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7861 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7872 if test -n "$PKG_CONFIG"; then
7873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7882 if test -z "$ac_cv_path_PKG_CONFIG"; then
7884 # Extract the first word of "pkg-config", so it can be a program name with args.
7885 set dummy pkg-config; ac_word=$2
7886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7909 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7920 if test -n "$ac_pt_PKG_CONFIG"; then
7921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if pkg-config is at least version $ntp_pkgconfig_min_version" >&5
7949 printf %s "checking if pkg-config is at least version $ntp_pkgconfig_min_version... " >&6; }
7950 if $PKG_CONFIG --atleast-pkgconfig-version $ntp_pkgconfig_min_version; then
7951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7968 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: " >&5
7989 # Check whether --with-gnu-ld was given.
7999 # Check if gcc -print-prog-name=ld gives a path.
8000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
8003 *-*-mingw*)
8005 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8007 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
8018 test -z "$LD" && LD=$ac_prog
8030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
8033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
8034 printf %s "checking for non-GNU ld... " >&6; }
8040 if test -z "$LD"; then
8044 test -z "$ac_dir" && ac_dir=.
8045 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8047 # Check to see if the program is GNU ld. I'd rather use --version,
8048 # but apparently some variants of GNU ld only accept -v.
8049 # Break only if it was the GNU/non-GNU ld that we prefer.
8050 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8067 if test -n "$LD"; then
8068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8074 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
8075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
8081 # I'd rather use --version here, but apparently some GNU lds only accept -v.
8082 case `$LD -v 2>&1 </dev/null` in
8091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
8105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory path separator" >&5
8126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_dir_sep" >&5
8135 # Check whether --with-lineeditlibs was given.
8144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking line editing libraries" >&5
8146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $use_lineeditlibs" >&5
8153 for lineedit_lib in `echo $use_lineeditlibs | sed -e 's/,/ /'`; do
8157 TRY_LIB="-l$lineedit_lib"
8160 TRY_LIB="-l$lineedit_lib -l$term_lib"
8164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline() with $TRY_LIB" >&5
8166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for el_gets() with $TRY_LIB" >&5
8205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking number of arguments to el_init()" >&5
8308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_el_init_args" >&5
8342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
8348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_lib_lineedit_history" >&5
8389 *-*-darwin*)
8393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing cos" >&5
8400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8417 if test -z "$ac_lib"; then
8420 ac_res=-l$ac_lib
8421 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cos" >&5
8449 LIBM="-lm"
8462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
8472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8492 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
8505 *-*-amigaos* | *-*-msdosdjgpp*)
8513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
8518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
8528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8547 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
8562 write(-1, "", 0);
8642 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
8653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
8674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
8680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
8709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
8718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
8773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
8783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8792 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
8793 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
8807 ac_cv_c_stack_direction=-1
8809 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
8831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
8840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
8876 *-*-irix6.1*) # 64 bit only
8879 *-*-irix6*) # 6.2 (and later?)
8882 *-*-solaris2.5.1)
8885 *-*-unicosmp*)
8893 *) case "`${MAKE-make} -v -f /dev/null 2>/dev/null | grep 'GNU Make'`" in
8901 *-*-aix4*)
8903 # Was *-*-aix[[4-9]]*
8915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
8922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8939 if test -z "$ac_lib"; then
8942 ac_res=-l$ac_lib
8943 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
9036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing snprintb" >&5
9043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9060 if test -z "$ac_lib"; then
9063 ac_res=-l$ac_lib
9064 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_snprintb" >&5
9142 *-hp-hpux*)
9143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if net/if.h requires mpinfou predeclaration" >&5
9153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_predecl_mpinfou" >&5
9206 *-linux*)
9249 # sys/sysctl.h depends on sys/param.h on OpenBSD - Bug 1576
9377 # HMS: Do we need to check for -lsocket before or after these tests?
9378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5
9385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9402 if test -z "$ac_lib"; then
9405 ac_res=-l$ac_lib
9406 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5
9442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5
9449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9466 if test -z "$ac_lib"; then
9469 ac_res=-l$ac_lib
9470 LIBS="-l$ac_lib -lnsl $ac_func_search_save_LIBS"
9476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5
9507 # [Bug 1628] On Solaris, we need -lxnet -lsocket. Generalize this to
9508 # avoid keying on the OS name: If we find socket functions in
9514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
9521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9538 if test -z "$ac_lib"; then
9541 ac_res=-l$ac_lib
9542 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setsockopt" >&5
9579 -lsocket)
9581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getsockopt" >&5
9588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9605 if test -z "$ac_lib"; then
9608 ac_res=-l$ac_lib
9609 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getsockopt" >&5
9645 # XXX Possible trouble here - reading the comments above and looking at the
9646 # code below I wonder if we'll add -lxnet when we don't need it.
9647 # Also, do we need to add -lxnet to LDADD_LIBNTP, or perhaps see if it's
9650 -lxnet)
9651 LIBS="-lxnet -lsocket $saved_LIBS"
9653 *) LIBS="-lsocket $saved_LIBS"
9660 # Bug 2427 - look for recvmsg here.
9669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
9677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
9726 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
9740 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
9758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether char is unsigned" >&5
9764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9770 static int test_array [1 - 2 * !(((char) -1) < 0)];
9784 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_char_unsigned" >&5
9793 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of signed char" >&5
9807 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_signed_char" >&5
9843 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
9857 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
9876 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
9890 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
9909 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
9923 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
9947 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
9961 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
10010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
10016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10028 rm -rf conftest*
10031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
10047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we're including debugging code" >&5
10049 # Check whether --enable-debugging was given.
10064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
10084 # Check whether --enable-thread-support was given.
10103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10107 # OpenLDAP --with-threads
10109 # Check whether --with-threads was given.
10120 as_fn_error $? "bad value $withval for --with-threads" "$LINENO" 5
10127 # end --with-threads
10131 auto*-*-solaris2.[0-6])
10139 *-*-aix*) if test -z "$CC" ; then
10148 if test -z "${CC}" ; then
10153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10159 if test -n "$CC"; then
10174 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10184 if test -n "$CC"; then
10185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10193 test -n "$CC" && break
10199 as_fn_error $? "--with-threads requires cc_r (or other suitable compiler) on AIX" "$LINENO" 5
10201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling threads, no cc_r on AIX" >&5
10216 # OpenLDAP --with-yielding_select
10218 # Check whether --with-yielding_select was given.
10229 as_fn_error $? "bad value $withval for --with-yielding_select" "$LINENO" 5
10236 # end --with-yielding_select
10287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking POSIX thread version" >&5
10294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10324 rm -rf conftest*
10328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10370 rm -rf conftest*
10373 rm -rf conftest*
10376 rm -rf conftest*
10379 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_version" >&5
10398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LinuxThreads pthread.h" >&5
10404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10415 rm -rf conftest*
10419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_header_linux_threads" >&5
10428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU Pth pthread.h" >&5
10434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10449 rm -rf conftest*
10453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_header_gnu_pth_pthread_h" >&5
10468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in default libraries" >&5
10477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10638 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_create" >&5
10651 # Pthread try link: -kthread (ol_cv_pthread_kthread)
10653 # try -kthread
10654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -kthread" >&5
10655 printf %s "checking for pthread link with -kthread... " >&6; }
10663 LIBS="-kthread $LIBS"
10667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10745 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10828 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_kthread" >&5
10841 ol_link_pthreads="-kthread"
10846 # Pthread try link: -pthread (ol_cv_pthread_pthread)
10848 # try -pthread
10849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -pthread" >&5
10850 printf %s "checking for pthread link with -pthread... " >&6; }
10858 LIBS="-pthread $LIBS"
10862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_pthread" >&5
11036 ol_link_pthreads="-pthread"
11041 # Pthread try link: -pthreads (ol_cv_pthread_pthreads)
11043 # try -pthreads
11044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -pthreads" >&5
11045 printf %s "checking for pthread link with -pthreads... " >&6; }
11053 LIBS="-pthreads $LIBS"
11057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_pthreads" >&5
11231 ol_link_pthreads="-pthreads"
11236 # Pthread try link: -mthreads (ol_cv_pthread_mthreads)
11238 # try -mthreads
11239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -mthreads" >&5
11240 printf %s "checking for pthread link with -mthreads... " >&6; }
11248 LIBS="-mthreads $LIBS"
11252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_mthreads" >&5
11426 ol_link_pthreads="-mthreads"
11431 # Pthread try link: -thread (ol_cv_pthread_thread)
11433 # try -thread
11434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -thread" >&5
11435 printf %s "checking for pthread link with -thread... " >&6; }
11443 LIBS="-thread $LIBS"
11447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11525 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_thread" >&5
11621 ol_link_pthreads="-thread"
11627 # Pthread try link: -lpthread -lmach -lexc -lc_r (ol_cv_pthread_lpthread_lmach_lexc_lc_r)
11629 # try -lpthread -lmach -lexc -lc_r
11630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -lpthread -lmach -lexc -lc_r" >&5
11631 printf %s "checking for pthread link with -lpthread -lmach -lexc -lc_r... " >&6; }
11639 LIBS="-lpthread -lmach -lexc -lc_r $LIBS"
11643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11721 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11804 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_lpthread_lmach_lexc_lc_r" >&5
11817 ol_link_pthreads="-lpthread -lmach -lexc -lc_r"
11822 # Pthread try link: -lpthread -lmach -lexc (ol_cv_pthread_lpthread_lmach_lexc)
11824 # try -lpthread -lmach -lexc
11825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -lpthread -lmach -lexc" >&5
11826 printf %s "checking for pthread link with -lpthread -lmach -lexc... " >&6; }
11834 LIBS="-lpthread -lmach -lexc $LIBS"
11838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_lpthread_lmach_lexc" >&5
12012 ol_link_pthreads="-lpthread -lmach -lexc"
12018 # Pthread try link: -lpthread -Wl,-woff,85 (ol_cv_pthread_lib_lpthread_woff)
12020 # try -lpthread -Wl,-woff,85
12021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -lpthread -Wl,-woff,85" >&5
12022 printf %s "checking for pthread link with -lpthread -Wl,-woff,85... " >&6; }
12030 LIBS="-lpthread -Wl,-woff,85 $LIBS"
12034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12195 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_lib_lpthread_woff" >&5
12208 ol_link_pthreads="-lpthread -Wl,-woff,85"
12214 # Pthread try link: -lpthread (ol_cv_pthread_lpthread)
12216 # try -lpthread
12217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -lpthread" >&5
12218 printf %s "checking for pthread link with -lpthread... " >&6; }
12226 LIBS="-lpthread $LIBS"
12230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12391 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_lpthread" >&5
12404 ol_link_pthreads="-lpthread"
12409 # Pthread try link: -lc_r (ol_cv_pthread_lc_r)
12411 # try -lc_r
12412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -lc_r" >&5
12413 printf %s "checking for pthread link with -lc_r... " >&6; }
12421 LIBS="-lc_r $LIBS"
12425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12586 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_lc_r" >&5
12599 ol_link_pthreads="-lc_r"
12605 # Pthread try link: -threads (ol_cv_pthread_threads)
12607 # try -threads
12608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -threads" >&5
12609 printf %s "checking for pthread link with -threads... " >&6; }
12617 LIBS="-threads $LIBS"
12621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12782 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_threads" >&5
12795 ol_link_pthreads="-threads"
12801 # Pthread try link: -lpthreads -lmach -lexc -lc_r (ol_cv_pthread_lpthreads_lmach_lexc_lc_r)
12803 # try -lpthreads -lmach -lexc -lc_r
12804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -lpthreads -lmach -lexc -lc_r" >&5
12805 printf %s "checking for pthread link with -lpthreads -lmach -lexc -lc_r... " >&6; }
12813 LIBS="-lpthreads -lmach -lexc -lc_r $LIBS"
12817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12978 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_lpthreads_lmach_lexc_lc_r" >&5
12991 ol_link_pthreads="-lpthreads -lmach -lexc -lc_r"
12996 # Pthread try link: -lpthreads -lmach -lexc (ol_cv_pthread_lpthreads_lmach_lexc)
12998 # try -lpthreads -lmach -lexc
12999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -lpthreads -lmach -lexc" >&5
13000 printf %s "checking for pthread link with -lpthreads -lmach -lexc... " >&6; }
13008 LIBS="-lpthreads -lmach -lexc $LIBS"
13012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13173 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_lpthreads_lmach_lexc" >&5
13186 ol_link_pthreads="-lpthreads -lmach -lexc"
13191 # Pthread try link: -lpthreads -lexc (ol_cv_pthread_lpthreads_lexc)
13193 # try -lpthreads -lexc
13194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -lpthreads -lexc" >&5
13195 printf %s "checking for pthread link with -lpthreads -lexc... " >&6; }
13203 LIBS="-lpthreads -lexc $LIBS"
13207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13368 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_lpthreads_lexc" >&5
13381 ol_link_pthreads="-lpthreads -lexc"
13387 # Pthread try link: -lpthreads (ol_cv_pthread_lib_lpthreads)
13389 # try -lpthreads
13390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -lpthreads" >&5
13391 printf %s "checking for pthread link with -lpthreads... " >&6; }
13399 LIBS="-lpthreads $LIBS"
13403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13481 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13564 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_lib_lpthreads" >&5
13577 ol_link_pthreads="-lpthreads"
13583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ol_link_threads: <$ol_link_threads> ol_link_pthreads <$ol_link_pthreads>" >&5
13616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5
13617 printf %s "checking for sched_yield in -lrt... " >&6; }
13623 LIBS="-lrt $LIBS"
13624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5
13653 LTHREAD_LIBS="$LTHREAD_LIBS -lrt"
13666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: could not locate sched_yield() or pthread_yield()" >&5
13678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_destroy with <pthread.h>" >&5
13685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13705 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_func_pthread_rwlock_destroy" >&5
13717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_detach with <pthread.h>" >&5
13724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13746 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_func_pthread_detach" >&5
13795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LinuxThreads implementation" >&5
13803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_sys_linux_threads" >&5
13809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LinuxThreads consistency" >&5
13827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_linux_threads" >&5
13835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if pthread_create() works" >&5
13846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13926 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_create_works" >&5
13947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if select yields when using pthreads" >&5
13958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14041 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_select_yields" >&5
14050 as_fn_error $? "crossing compiling: use --with-yielding-select=yes|no|manual" "$LINENO" 5
14097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cthread_fork with -all_load" >&5
14098 printf %s "checking for cthread_fork with -all_load... " >&6; }
14105 LIBS="-all_load $LIBS"
14106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_cthread_all_load" >&5
14134 LTHREAD_LIBS="$LTHREAD_LIBS -all_load"
14145 LIBS="$LIBS -lthreads"
14155 LTHREAD_LIBS="-lthreads"
14187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pth_version in -lpth" >&5
14188 printf %s "checking for pth_version in -lpth... " >&6; }
14194 LIBS="-lpth $LIBS"
14195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pth_pth_version" >&5
14234 LTHREAD_LIBS="$LTHREAD_LIBS -lpth"
14263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for thr_create in -lthread" >&5
14264 printf %s "checking for thr_create in -lthread... " >&6; }
14270 LIBS="-lthread $LIBS"
14271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thread_thr_create" >&5
14310 LTHREAD_LIBS="$LTHREAD_LIBS -lthread"
14341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lwp_create in -llwp" >&5
14342 printf %s "checking for lwp_create in -llwp... " >&6; }
14348 LIBS="-llwp $LIBS"
14349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lwp_lwp_create" >&5
14388 LTHREAD_LIBS="$LTHREAD_LIBS -llwp"
14408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: thread defines and link options must be set manually" >&5
14438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LinuxThreads pthread.h" >&5
14444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14455 rm -rf conftest*
14459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_header_linux_threads" >&5
14520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for thread specific errno" >&5
14527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_errno_thread_specific" >&5
14551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for thread specific h_errno" >&5
14558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_h_errno_thread_specific" >&5
14596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no suitable thread support, disabling threads" >&5
14616 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
14629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14671 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of pthread_t" >&5
14690 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pthread_t" >&5
14720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigwait in -lc" >&5
14721 printf %s "checking for sigwait in -lc... " >&6; }
14727 LIBS="-lc $LIBS"
14728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_sigwait" >&5
14759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigwait in -lpthread" >&5
14760 printf %s "checking for sigwait in -lpthread... " >&6; }
14766 LIBS="-lpthread $LIBS"
14767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_sigwait" >&5
14798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _Psigwait in -lpthread" >&5
14799 printf %s "checking for _Psigwait in -lpthread... " >&6; }
14805 LIBS="-lpthread $LIBS"
14806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread__Psigwait" >&5
14851 *-freebsd*:no)
14852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigwait in -lc_r" >&5
14853 printf %s "checking for sigwait in -lc_r... " >&6; }
14859 LIBS="-lc_r $LIBS"
14860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_sigwait" >&5
14924 *-freebsd5.[012]|*-freebsd5.[012].*)
14926 *-freebsd5.[3456789]|*-freebsd5.[3456789].*|*-freebsd6.*)
14931 *-bsdi3.*|*-bsdi4.0*)
14936 *-linux*)
14941 *-solaris*)
14958 *-sco-sysv*uw*|*-*-sysv*UnixWare*|*-*-sysv*OpenUNIX*)
14966 *-aix5.[123].*)
14969 *-solaris2.[89])
14972 *-solaris2.1[0-9])
14973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if extra braces are needed for PTHREAD_ONCE_INIT" >&5
14979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_braces_around_pthread_once_init" >&5
15046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if vsnprintf expands \"%m\" to strerror(errno)" >&5
15057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15114 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_vsnprintf_percent_m" >&5
15138 # Check whether --enable-clockctl was given.
15148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we should use /dev/clockctl" >&5
15150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_use_dev_clockctl" >&5
15168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we have linux capabilities (libcap)" >&5
15174 mips-sgi-irix*)
15186 # Check whether --enable-linuxcaps was given.
15194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_have_linuxcaps" >&5
15202 LIBS="$LIBS -lcap"
15217 *-solaris*)
15231 # Check whether --enable-solarisprivs was given.
15239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we have solaris privileges" >&5
15252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_have_solarisprivs" >&5
15263 # Check whether --enable-trustedbsd_mac was given.
15271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we should use TrustedBSD MAC privileges" >&5
15284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_use_trustedbsd_mac" >&5
15295 *-*-darwin*)
15296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing res_9_init" >&5
15303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15320 if test -z "$ac_lib"; then
15323 ac_res=-l$ac_lib
15324 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_9_init" >&5
15356 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing res_init" >&5
15363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15380 if test -z "$ac_lib"; then
15383 ac_res=-l$ac_lib
15384 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15390 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_init" >&5
15530 # We also need -lsocket, but we have tested for that already.
15597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec" >&5
15603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15635 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_timespec" >&5
15647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct ntptimeval" >&5
15653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15677 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_ntptimeval" >&5
15703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing MD5Init" >&5
15710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15727 if test -z "$ac_lib"; then
15730 ac_res=-l$ac_lib
15731 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_MD5Init" >&5
15801 # Check whether --enable-signalled-io was given.
15811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SIGIO" >&5
15817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15834 rm -f conftest.err conftest.i conftest.$ac_ext
15837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_hdr_def_sigio" >&5
15840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want to use SIGIO" >&5
15847 alpha*-dec-osf4*|alpha*-dec-osf5*)
15850 *-convex-*)
15853 *-dec-*)
15856 *-pc-cygwin*)
15859 *-sni-sysv*)
15862 *-stratus-vos)
15865 *-univel-sysv*)
15868 *-*-irix6*)
15871 *-*-freebsd*)
15874 *-*-*linux*)
15877 *-*-unicosmp*)
15880 *-*-kfreebsd*)
15883 m68k-*-mint*)
15902 *) ans="Allowed for $host but --disable-signalled-io was given"
15906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
15909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SIGPOLL" >&5
15915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15932 rm -f conftest.err conftest.i conftest.$ac_ext
15935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_hdr_def_sigpoll" >&5
15938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can use SIGPOLL for UDP I/O" >&5
15944 mips-sgi-irix*)
15947 vax-dec-bsd)
15950 *-pc-cygwin*)
15953 *-sni-sysv*)
15956 *-stratus-vos)
15959 *-*-aix[4-9]*)
15963 *-*-hpux*)
15966 *-*-*linux*)
15969 *-*-osf*)
15972 *-*-qnx*)
15975 *-*-sunos*)
15978 *-*-solaris*)
15981 *-*-ultrix*)
15984 *-*-unicosmp*)
15987 *-*-kfreebsd*)
16001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
16004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can use SIGPOLL for TTY I/O" >&5
16010 mips-sgi-irix*)
16013 vax-dec-bsd)
16016 *-pc-cygwin*)
16019 *-sni-sysv*)
16022 *-stratus-vos)
16025 *-*-aix[4-9]*)
16029 *-*-hpux*)
16032 *-*-*linux*)
16035 *-*-osf*)
16038 *-*-sunos*)
16041 *-*-ultrix*)
16044 *-*-qnx*)
16047 *-*-unicosmp*)
16050 *-*-kfreebsd*)
16064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
16067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking number of arguments to gettimeofday()" >&5
16073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16097 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_func_Xettimeofday_nargs" >&5
16120 *-*-mpeix*) ac_cv_func_settimeofday=yes
16127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we'll use clock_settime or settimeofday or stime" >&5
16150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
16156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** $ntp_warning ***" >&5
16173 # Check whether --with-crypto was given.
16186 # Check whether --with-openssl-libdir was given.
16193 # Check whether --with-openssl-incdir was given.
16199 # Check whether --enable-verbose-ssl was given.
16226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16260 if test -n "$PATH_OPENSSL"; then
16261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_OPENSSL" >&5
16264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16270 str="$with_crypto:${PKG_CONFIG:+notempty}:${with_openssl_libdir-notgiven}:${with_openssl_incdir-notgiven}"
16272 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $str" >&5
16279 # Make sure neither/both --with_openssl-{inc,lib}dir are given
16280 case "${with_openssl_libdir-notgiven}:${with_openssl_incdir-notgiven}" in
16283 as_fn_error $? "only one of --with-openssl-{inc,lib}dir=... given - provide both or neither" "$LINENO" 5
16295 # if --with-openssl-{inc,lib}dir are not given:
16296 # we should use pkg-config to find openssl
16297 # if we don't have pkg-config, if openssl is in the base OS, use that.
16299 case "$with_crypto:${PKG_CONFIG:+notempty}:${with_openssl_libdir-notgiven}:${with_openssl_incdir-notgiven}" in
16308 # harlan@ntp-testbuild.tal1> openssl version
16310 # harlan@ntp-testbuild.tal1> grep 1.1.1t /ntpbuild/include/openssl/*
16312 # harlan@ntp-testbuild.tal1>
16314 # harlan@ntp-testbuild.tal1> strings -a /ntpbuild/lib/libcrypto.* | fgrep 1.1.1t
16318 # harlan@ntp-testbuild.tal1> ls /ntpbuild/lib/libcrypto.*
16321 # harlan@ntp-testbuild.tal1>
16331 for pkg in `echo $with_crypto | $SED -e 's/,/ /'`; do
16334 if $PKG_CONFIG --exists $pkg ; then
16335 # Found it - yay
16337 # --modver
16338 # --variable={libdir,includedir} (varname)
16346 oinc=`openssl --variable=includedir`
16347 olib=`openssl --variable=libdir`
16354 # strings -a /ntpbuild/lib/libcrypto.a | grep 1.1.1t
16356 # harlan@ntp-testbuild.tal1>
16359 # harlan@ntp-testbuild.tal1> echo '"OpenSSL 1.1.1t 7 Feb 2023"' | cut -f 2 -d\"
16361 # harlan@ntp-testbuild.tal1> grep OPENSSL_VERSION_TEXT /ntpbuild/include/openssl/opensslv.h
16363 # harlan@ntp-testbuild.tal1>
16368 pkgpath="`echo $PATH_OPENSSL | sed -e 's:/bin/openssl$::'`/lib/pkgconfig"
16369 test -d "$pkgpath" || pkgpath=
16395 for pkg in `echo $with_crypto | $SED -e 's/,/ /'`; do
16396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config for $pkg" >&5
16397 printf %s "checking pkg-config for $pkg... " >&6; }
16398 if $PKG_CONFIG --exists $pkg ; then
16399 ntp_ssl_cppflags="`$PKG_CONFIG --cflags-only-I $pkg`"
16405 ntp_ssl_incdir="`echo $ntp_ssl_cppflags | $SED -e 's/-I//'`"
16407 ntp_ssl_cflags="`$PKG_CONFIG --cflags-only-other $pkg`"
16408 ntp_ssl_libs_L="`$PKG_CONFIG --libs-only-L $pkg`"
16414 ntp_ssl_libdir="`echo $ntp_ssl_libs_L | $SED -e 's/-L//'`"
16416 ntp_ssl_libs_l="`$PKG_CONFIG --libs-only-l $pkg`"
16418 ntp_ssl_ldflags="`$PKG_CONFIG --libs-only-other $pkg`"
16421 ntp_openssl_version="`$PKG_CONFIG --modversion $pkg`"
16426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, version $ntp_openssl_version" >&5
16431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16443 ntp_ssl_libs_L="-L$with_openssl_libdir"
16444 ntp_ssl_libs_l="-lcrypto"
16451 ntp_ssl_cppflags="-I$with_openssl_incdir"
16456 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL Phase I checks:" >&5
16462 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: CPPFLAGS_NTP: ($CPPFLAGS_NTP)" >&5
16468 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: CFLAGS_NTP: ($CFLAGS_NTP)" >&5
16474 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: LDADD_NTP: ($LDADD_NTP)" >&5
16480 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: LDFLAGS_NTP: ($LDFLAGS_NTP)" >&5
16486 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_openssl_from_pkg_config: $ntp_openssl_from_pkg_config" >&5
16492 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_incdir: ($ntp_ssl_incdir)" >&5
16498 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_libdir: ($ntp_ssl_libdir)" >&5
16504 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_cflags: ($ntp_ssl_cflags)" >&5
16510 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_cppflags: ($ntp_ssl_cppflags)" >&5
16516 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_libs_L: ($ntp_ssl_libs_L)" >&5
16522 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_libs_l: ($ntp_ssl_libs_l)" >&5
16528 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_libs: ($ntp_ssl_libs)" >&5
16534 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_ldflags: ($ntp_ssl_ldflags)" >&5
16545 ntp_ssl_libs_l="${ntp_ssl_libs_l:--lcrypto}"
16551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Searching for libcrypto without -L" >&5
16552 printf "%s\n" "$as_me: Searching for libcrypto without -L" >&6;}
16553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_new in -lcrypto" >&5
16554 printf %s "checking for EVP_MD_CTX_new in -lcrypto... " >&6; }
16560 LIBS="-lcrypto $LIBS"
16561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_new" >&5
16615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Searching for libcrypto in $i" >&5
16617 LIBS="-L$i $NTPSSL_SAVED_LIBS"
16618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_new in -lcrypto" >&5
16619 printf %s "checking for EVP_MD_CTX_new in -lcrypto... " >&6; }
16625 LIBS="-lcrypto $LIBS"
16626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_new" >&5
16663 ntp_ssl_libs_L="-L$i"
16668 as_fn_error $? "You may want to use --without-crypto, or add
16670 --with-openssl-libdir=/some/path option to configure.
16675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: libcrypto found in $ntp_ssl_libdir" >&5
16681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Searching for openssl/evp.h without -I" >&5
16682 printf "%s\n" "$as_me: Searching for openssl/evp.h without -I" >&6;}
16697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Searching for openssl include directory" >&5
16719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Searching for openssl/evp.h in $i" >&5
16721 CPPFLAGS="$NTPSSL_SAVED_CPPFLAGS -I$i"
16736 as_fn_error $? "You may want to use --without-crypto, or add
16738 -with-openssl-incdir=/some/path option to configure.
16743 ntp_ssl_cppflags="-I$ntp_ssl_incdir"
16744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Found evp.h in $ntp_ssl_incdir/openssl" >&5
16758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if crypto works without runpath" >&5
16768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16792 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_ssl_without_runpath" >&5
16802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if crypto needs -Wl,-rpath,$ntp_ssl_libdir" >&5
16803 printf %s "checking if crypto needs -Wl,-rpath,$ntp_ssl_libdir... " >&6; }
16809 LDFLAGS="$ntp_ssl_ldflags -Wl,-rpath,$ntp_ssl_libdir $NTPSSL_SAVED_LDFLAGS"
16812 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16842 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_ssl_needs_dashWl_rpath" >&5
16853 ntp_ssl_ldflags="$ntp_ssl_ldflags -Wl,-rpath,$ntp_ssl_libdir"
16856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if crypto needs -R$ntp_ssl_libdir" >&5
16857 printf %s "checking if crypto needs -R$ntp_ssl_libdir... " >&6; }
16863 LDFLAGS="$NTPSSL_SAVED_LDFLAGS $ntp_ssl_ldflags -R$ntp_ssl_libdir"
16866 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16896 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_ssl_needs_dashR" >&5
16907 ntp_ssl_ldflags="$ntp_ssl_ldflags -R$ntp_ssl_libdir"
16911 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16915 --with-openssl-libdir=/some/path option to configure.
16923 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL Phase II checks:" >&5
16929 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_incdir: ($ntp_ssl_incdir)" >&5
16935 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_libdir: ($ntp_ssl_libdir)" >&5
16941 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_cflags: ($ntp_ssl_cflags)" >&5
16947 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_cppflags: ($ntp_ssl_cppflags)" >&5
16953 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_libs_L: ($ntp_ssl_libs_L)" >&5
16959 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_libs_l: ($ntp_ssl_libs_l)" >&5
16965 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_libs: ($ntp_ssl_libs)" >&5
16971 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_ldflags: ($ntp_ssl_ldflags)" >&5
16983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if linking with $ntp_ssl_libs_l alone works" >&5
16989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_bare_lcrypto" >&5
17020 LIBS="-$ntp_ssl_libs -lz $NTPSSL_SAVED_LIBS"
17021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if linking with $ntp_ssl_libs_l -lz works" >&5
17022 printf %s "checking if linking with $ntp_ssl_libs_l -lz works... " >&6; }
17027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17050 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_lcrypto_lz" >&5
17058 ntp_ssl_libs_l="$ntp_ssl_libs_l -lz"
17064 CFLAGS="$NTP_SAVED_CFLAGS $ntp_ssl_cflags -Werror"
17068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking If $CC supports -Werror" >&5
17069 printf %s "checking If $CC supports -Werror... " >&6; }
17074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17092 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_gcc_supports_Werror" >&5
17102 CFLAGS="$CFLAGS -Wstrict-prototypes"
17103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if OpenSSL triggers warnings" >&5
17109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17138 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_ssl_triggers_warnings" >&5
17153 ntp_ssl_cflags="$ntp_ssl_cflags -Wno-strict-prototypes"
17156 ntp_ssl_cflags="$ntp_ssl_cflags -Wstrict-prototypes"
17160 ntp_ssl_cflags="$ntp_ssl_cflags -Wstrict-prototypes"
17162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we will link to ssl library" >&5
17164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_openssl" >&5
17210 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL final checks:" >&5
17216 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_openssl: $ntp_openssl" >&5
17222 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: CPPFLAGS_NTP: ($CPPFLAGS_NTP)" >&5
17228 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: CFLAGS_NTP: ($CFLAGS_NTP)" >&5
17234 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: LDADD_NTP: ($LDADD_NTP)" >&5
17240 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: LDFLAGS_NTP: ($LDFLAGS_NTP)" >&5
17273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want to use SSL library's secure random numbers" >&5
17275 # Check whether --enable-openssl-random was given.
17284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_use_openssl_random" >&5
17306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using SSL library's secure random number generator" >&5
17314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: SSL library's secure random number generator unavailable." >&5
17319 --enable-openssl-random was given.. Remove --enable-openssl-random
17323 WARNING: Use of ntp-keygen without a secure RNG may generate
17324 ------- keys that are predictable.
17328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: WARNING: Use of ntp-keygen without a secure RNG may generate
17329 ------- keys that are predictable.
17331 printf "%s\n" "$as_me: WARNING: WARNING: Use of ntp-keygen without a secure RNG may generate
17332 ------- keys that are predictable.
17349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
17374 # double-quoted strings.
17390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
17391 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
17396 if test -n "$NM"; then
17401 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
17408 test -z "$ac_dir" && ac_dir=.
17410 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
17411 # Check to see if the nm accepts a BSD-compat flag.
17412 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
17420 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
17422 lt_cv_path_NM="$tmp_nm -B"
17426 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
17428 lt_cv_path_NM="$tmp_nm -p"
17445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
17451 if test -n "$DUMPBIN"; then :
17454 if test -n "$ac_tool_prefix"; then
17455 for ac_prog in dumpbin "link -dump"
17459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17465 if test -n "$DUMPBIN"; then
17480 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17490 if test -n "$DUMPBIN"; then
17491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
17494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17499 test -n "$DUMPBIN" && break
17502 if test -z "$DUMPBIN"; then
17504 for ac_prog in dumpbin "link -dump"
17508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17514 if test -n "$ac_ct_DUMPBIN"; then
17529 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17539 if test -n "$ac_ct_DUMPBIN"; then
17540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
17543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17548 test -n "$ac_ct_DUMPBIN" && break
17556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17564 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
17566 DUMPBIN="$DUMPBIN -symbols -headers"
17578 test -z "$NM" && NM=nm
17585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
17604 rm -f conftest*
17606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
17609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
17610 printf %s "checking whether ln -s works... " >&6; }
17612 if test "$LN_S" = "ln -s"; then
17613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
17621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
17642 # Libtool will interpret -1 as no limit whatsoever
17643 lt_cv_sys_max_cmd_len=-1;
17647 # On Win9x/ME, this test blows up -- it succeeds, but takes
17649 # Worse, since 9x/ME are not pre-emptively multitasking,
17670 if test -x /sbin/sysctl; then
17671 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
17672 elif test -x /usr/sbin/sysctl; then
17673 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
17688 # The test takes a long time on OS/2.
17699 if test -x /sbin/sysconfig; then
17700 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
17701 *1*) lt_cv_sys_max_cmd_len=-1 ;;
17710 if test -n "$kargmax"; then
17718 if test -n "$lt_cv_sys_max_cmd_len" && \
17728 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
17729 # If test is not a shell built-in, we'll probably end up computing a
17752 if test -n "$lt_cv_sys_max_cmd_len"; then
17753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
17756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
17766 : ${CP="cp -f"}
17767 : ${MV="mv -f"}
17768 : ${RM="rm -f"}
17801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
17808 *-*-mingw* )
17810 *-*-mingw* ) # actually msys
17813 *-*-cygwin* )
17821 *-*-cygwin* )
17823 *-*-mingw* ) # actually msys
17826 *-*-cygwin* )
17842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
17849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
17858 *-*-mingw* )
17860 *-*-mingw* ) # actually msys
17870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
17877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
17883 lt_cv_ld_reload_flag='-r'
17885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
17892 reload_cmds='$LD$reload_flag -o $output$reload_objs'
17901 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
17903 reload_cmds='$LD$reload_flag -o $output$reload_objs'
17916 if test -n "$ac_tool_prefix"; then
17919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17925 if test -n "$OBJDUMP"; then
17940 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17950 if test -n "$OBJDUMP"; then
17951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
17954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17960 if test -z "$ac_cv_prog_OBJDUMP"; then
17964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17970 if test -n "$ac_ct_OBJDUMP"; then
17985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17995 if test -n "$ac_ct_OBJDUMP"; then
17996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
17999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18018 test -z "$OBJDUMP" && OBJDUMP=objdump
18028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
18039 # 'none' -- dependencies not supported.
18040 # 'unknown' -- same as none, but documents that we really don't know.
18041 # 'pass_all' -- all dependencies passed with no checks.
18042 # 'test_compile' -- check by making test program.
18043 # 'file_magic [[regex]]' -- check by looking for files in library path
18049 aix[4-9]*)
18058 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
18059 lt_cv_file_magic_cmd='/usr/bin/file -L'
18072 # unless we find 'file', for example because we are cross-compiling.
18078 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
18079 lt_cv_file_magic_cmd='$OBJDUMP -f'
18085 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
18086 lt_cv_file_magic_cmd='$OBJDUMP -f'
18094 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
18099 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
18117 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
18121 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]'
18125 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
18131 interix[3-9]*)
18138 *-32|*"-32 ") libmagic=32-bit;;
18139 *-n32|*"-n32 ") libmagic=N32;;
18140 *-64|*"-64 ") libmagic=64-bit;;
18141 *) libmagic=never-match;;
18147 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
18152 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
18153 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
18160 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
18170 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
18171 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
18173 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
18196 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]'
18204 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
18208 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
18229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
18240 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
18248 test -z "$deplibs_check_method" && deplibs_check_method=unknown
18271 if test -n "$ac_tool_prefix"; then
18274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18280 if test -n "$DLLTOOL"; then
18295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18305 if test -n "$DLLTOOL"; then
18306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
18309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18315 if test -z "$ac_cv_prog_DLLTOOL"; then
18319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18325 if test -n "$ac_ct_DLLTOOL"; then
18340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18350 if test -n "$ac_ct_DLLTOOL"; then
18351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
18354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18373 test -z "$DLLTOOL" && DLLTOOL=dlltool
18384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
18396 case `$DLLTOOL --help 2>&1` in
18397 *--identify-strict*)
18412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
18415 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
18423 if test -n "$ac_tool_prefix"; then
18428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18434 if test -n "$AR"; then
18449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18459 if test -n "$AR"; then
18460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
18463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18468 test -n "$AR" && break
18471 if test -z "$AR"; then
18477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18483 if test -n "$ac_ct_AR"; then
18498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18508 if test -n "$ac_ct_AR"; then
18509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
18512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18517 test -n "$ac_ct_AR" && break
18525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
18553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18568 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
18571 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18573 if test 0 -eq "$ac_status"; then
18575 rm -f conftest.$ac_objext libconftest.a
18576 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
18579 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18581 if test 0 -ne "$ac_status"; then
18585 rm -f conftest.* libconftest.a
18588 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
18606 if test -n "$ac_tool_prefix"; then
18609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18615 if test -n "$STRIP"; then
18630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18640 if test -n "$STRIP"; then
18641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
18644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18650 if test -z "$ac_cv_prog_STRIP"; then
18654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18660 if test -n "$ac_ct_STRIP"; then
18675 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18685 if test -n "$ac_ct_STRIP"; then
18686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
18689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18708 test -z "$STRIP" && STRIP=:
18715 if test -n "$ac_tool_prefix"; then
18718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18724 if test -n "$RANLIB"; then
18739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18749 if test -n "$RANLIB"; then
18750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
18753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18759 if test -z "$ac_cv_prog_RANLIB"; then
18763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18769 if test -n "$ac_ct_RANLIB"; then
18784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18794 if test -n "$ac_ct_RANLIB"; then
18795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
18798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18817 test -z "$RANLIB" && RANLIB=:
18824 # Determine commands to create old-style static archives.
18829 if test -n "$RANLIB"; then
18832 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
18887 LTCC=${LTCC-"$CC"}
18890 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
18911 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
18913 # Define system-specific variables.
18950 case `$NM -V 2>&1` in
18957 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
18959 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
18960 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
18962 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
18963 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
18975 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
18977 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
18978 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
18981 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
18983 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
18984 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
18988 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
18990 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
18991 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
18992 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
19010 # Fake it for dumpbin and say T for any non-static function,
19030 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
19037 rm -f conftest*
19051 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19054 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19058 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
19061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19062 test $ac_status = 0; } && test -s "$nlist"; then
19065 mv -f "$nlist"T "$nlist"
19067 rm -f "$nlist"T
19077 relocations are performed -- see ld's documentation on pseudo-relocs. */
19092 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
19105 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
19127 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
19130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19131 test $ac_status = 0; } && test -s conftest$ac_exeext; then
19149 rm -rf conftest* conftst*
19161 if test -z "$lt_cv_sys_global_symbol_pipe"; then
19164 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
19165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
19168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
19175 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
19215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
19218 # Check whether --with-sysroot was given.
19231 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
19235 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
19240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
19246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
19247 printf "%s\n" "${lt_sysroot:-no}" >&6; }
19253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
19262 if test -z "$lt_DD"; then
19264 # Loop through the user's path and test for each of PROGNAME-LIST
19280 cmp -s conftest.i conftest.out \
19288 if test -z "$ac_cv_path_lt_DD"; then
19295 rm -f conftest.i conftest2.i conftest.out
19297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
19301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
19311 cmp -s conftest.i conftest.out \
19314 rm -f conftest.i conftest2.i conftest.out
19315 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
19317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
19326 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
19333 \-*) ;;
19337 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
19340 # Check whether --enable-libtool-lock was given.
19351 ia64-*-hpux*)
19355 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19361 *ELF-32*)
19364 *ELF-64*)
19369 rm -rf conftest*
19371 *-*-irix6*)
19375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19378 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19382 *32-bit*)
19383 LD="${LD-ld} -melf32bsmip"
19386 LD="${LD-ld} -melf32bmipn32"
19388 *64-bit*)
19389 LD="${LD-ld} -melf64bmip"
19394 *32-bit*)
19395 LD="${LD-ld} -32"
19398 LD="${LD-ld} -n32"
19400 *64-bit*)
19401 LD="${LD-ld} -64"
19406 rm -rf conftest*
19409 mips64*-*linux*)
19413 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19416 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19420 *32-bit*)
19423 *64-bit*)
19440 LD="${LD-ld} -m $emul"
19442 rm -rf conftest*
19445 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
19446 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
19450 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
19454 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19457 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19460 *32-bit*)
19462 x86_64-*kfreebsd*-gnu)
19463 LD="${LD-ld} -m elf_i386_fbsd"
19465 x86_64-*linux*)
19467 *x86-64*)
19468 LD="${LD-ld} -m elf32_x86_64"
19471 LD="${LD-ld} -m elf_i386"
19475 powerpc64le-*linux*)
19476 LD="${LD-ld} -m elf32lppclinux"
19478 powerpc64-*linux*)
19479 LD="${LD-ld} -m elf32ppclinux"
19481 s390x-*linux*)
19482 LD="${LD-ld} -m elf_s390"
19484 sparc64-*linux*)
19485 LD="${LD-ld} -m elf32_sparc"
19489 *64-bit*)
19491 x86_64-*kfreebsd*-gnu)
19492 LD="${LD-ld} -m elf_x86_64_fbsd"
19494 x86_64-*linux*)
19495 LD="${LD-ld} -m elf_x86_64"
19497 powerpcle-*linux*)
19498 LD="${LD-ld} -m elf64lppc"
19500 powerpc-*linux*)
19501 LD="${LD-ld} -m elf64ppc"
19503 s390*-*linux*|s390*-*tpf*)
19504 LD="${LD-ld} -m elf64_s390"
19506 sparc*-*linux*)
19507 LD="${LD-ld} -m elf64_sparc"
19513 rm -rf conftest*
19516 *-*-sco3.2v5*)
19517 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
19519 CFLAGS="$CFLAGS -belf"
19520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
19521 printf %s "checking whether the C compiler needs -belf... " >&6; }
19528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
19561 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
19565 *-*solaris*)
19569 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19572 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19575 *64-bit*)
19579 i?86-*-solaris*|x86_64-*-solaris*)
19580 LD="${LD-ld} -m elf_x86_64"
19582 sparc*-*-solaris*)
19583 LD="${LD-ld} -m elf64_sparc"
19587 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
19588 LD=${LD-ld}_sol2
19592 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
19593 LD="${LD-ld} -64"
19600 rm -rf conftest*
19606 if test -n "$ac_tool_prefix"; then
19609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19615 if test -n "$MANIFEST_TOOL"; then
19630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19640 if test -n "$MANIFEST_TOOL"; then
19641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
19644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19650 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
19654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19660 if test -n "$ac_ct_MANIFEST_TOOL"; then
19675 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19685 if test -n "$ac_ct_MANIFEST_TOOL"; then
19686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
19689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19708 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
19709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
19710 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
19716 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
19717 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
19719 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
19722 rm -f conftest*
19724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
19737 if test -n "$ac_tool_prefix"; then
19740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19746 if test -n "$DSYMUTIL"; then
19761 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19771 if test -n "$DSYMUTIL"; then
19772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
19775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19781 if test -z "$ac_cv_prog_DSYMUTIL"; then
19785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19791 if test -n "$ac_ct_DSYMUTIL"; then
19806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19816 if test -n "$ac_ct_DSYMUTIL"; then
19817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
19820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19839 if test -n "$ac_tool_prefix"; then
19842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19848 if test -n "$NMEDIT"; then
19863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19873 if test -n "$NMEDIT"; then
19874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
19877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19883 if test -z "$ac_cv_prog_NMEDIT"; then
19887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19893 if test -n "$ac_ct_NMEDIT"; then
19908 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19918 if test -n "$ac_ct_NMEDIT"; then
19919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
19922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19941 if test -n "$ac_tool_prefix"; then
19944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19950 if test -n "$LIPO"; then
19965 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19975 if test -n "$LIPO"; then
19976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
19979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19985 if test -z "$ac_cv_prog_LIPO"; then
19989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19995 if test -n "$ac_ct_LIPO"; then
20010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20020 if test -n "$ac_ct_LIPO"; then
20021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
20024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20043 if test -n "$ac_tool_prefix"; then
20046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20052 if test -n "$OTOOL"; then
20067 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20077 if test -n "$OTOOL"; then
20078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
20081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20087 if test -z "$ac_cv_prog_OTOOL"; then
20091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20097 if test -n "$ac_ct_OTOOL"; then
20112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20122 if test -n "$ac_ct_OTOOL"; then
20123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
20126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20145 if test -n "$ac_tool_prefix"; then
20148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20154 if test -n "$OTOOL64"; then
20169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20179 if test -n "$OTOOL64"; then
20180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
20183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20189 if test -z "$ac_cv_prog_OTOOL64"; then
20193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20199 if test -n "$ac_ct_OTOOL64"; then
20214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20224 if test -n "$ac_ct_OTOOL64"; then
20225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
20228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
20274 printf %s "checking for -single_module linker flag... " >&6; }
20280 if test -z "$LT_MULTI_MODULE"; then
20281 # By default we will add the -single_module flag. You can override
20283 # non-empty at configure time, or by adding -multi_module to the
20285 rm -rf libconftest.dylib*
20287 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
20288 -dynamiclib -Wl,-single_module conftest.c" >&5
20289 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
20290 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
20292 # If there is a non-empty error log, and "single_module"
20294 if test -s conftest.err && $GREP single_module conftest.err; then
20298 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
20303 rm -rf libconftest.dylib*
20304 rm -f conftest.*
20307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
20310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
20311 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
20319 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
20320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
20345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
20346 printf %s "checking for -force_load linker flag... " >&6; }
20355 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
20356 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
20364 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
20365 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
20367 if test -s conftest.err && $GREP force_load conftest.err; then
20369 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
20374 rm -f conftest.err libconftest.a conftest conftest.c
20375 rm -rf conftest.dSYM
20378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
20382 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
20384 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
20387 # to the OS version, if on x86, and 10.4, the deployment
20389 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
20390 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
20391 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
20393 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
20395 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
20403 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
20405 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
20416 # -----------------------------------
20441 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
20442 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
20463 # Check whether --enable-shared was given.
20466 enableval=$enable_shared; p=${PACKAGE-default}
20503 # Check whether --enable-static was given.
20506 enableval=$enable_static; p=${PACKAGE-default}
20536 # Check whether --with-pic was given.
20539 withval=$with_pic; lt_p=${PACKAGE-default}
20566 # Check whether --enable-fast-install was given.
20569 enableval=$enable_fast_install; p=${PACKAGE-default}
20599 power*-*-aix[5-9]*,yes)
20600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
20603 # Check whether --with-aix-soname was given.
20610 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
20625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
20631 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
20633 if test 64 = "${OBJECT_MODE-32}"; then
20689 test -z "$LN_S" && LN_S="ln -s"
20704 if test -n "${ZSH_VERSION+set}"; then
20708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
20714 rm -f .libs 2>/dev/null
20716 if test -d .libs; then
20719 # MS-DOS does not allow filenames that begin with a dot.
20724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
20763 test -z "$CC" && CC=cc
20764 test -z "$LTCC" && LTCC=$CC
20765 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
20766 test -z "$LD" && LD=ld
20767 test -z "$ac_objext" && ac_objext=o
20774 test -z "$MAGIC_CMD" && MAGIC_CMD=file
20778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
20794 test -z "$ac_dir" && ac_dir=.
20795 if test -f "$ac_dir/${ac_tool_prefix}file"; then
20797 if test -n "$file_magic_test_file"; then
20815 *** bug-libtool@gnu.org
20831 if test -n "$MAGIC_CMD"; then
20832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
20835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20843 if test -z "$lt_cv_path_MAGIC_CMD"; then
20844 if test -n "$ac_tool_prefix"; then
20845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
20861 test -z "$ac_dir" && ac_dir=.
20862 if test -f "$ac_dir/file"; then
20864 if test -n "$file_magic_test_file"; then
20882 *** bug-libtool@gnu.org
20898 if test -n "$MAGIC_CMD"; then
20899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
20902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20946 LTCC=${LTCC-"$CC"}
20949 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20969 $RM -r conftest*
20976 if test -n "$compiler"; then
20983 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
20985 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
20988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
20989 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
20997 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
21004 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21005 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21006 -e 's:$: $lt_compiler_flag:'`
21012 if (exit $ac_status) && test -s "$ac_outfile"; then
21017 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
21024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
21028 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
21046 lt_prog_compiler_wl='-Wl,'
21047 lt_prog_compiler_static='-static'
21054 lt_prog_compiler_static='-Bstatic'
21056 lt_prog_compiler_pic='-fPIC'
21063 lt_prog_compiler_pic='-fPIC'
21067 # adding the '-m68020' flag to GCC prevents building anything better,
21068 # like '-m68040'.
21069 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
21081 # Although the cygwin gcc ignores -fPIC, still need this for old-style
21082 # (--disable-auto-import) libraries
21083 lt_prog_compiler_pic='-DDLL_EXPORT'
21086 lt_prog_compiler_static='$wl-static'
21094 lt_prog_compiler_pic='-fno-common'
21099 # The "-static" flag exists, but is broken.
21104 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
21105 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
21112 lt_prog_compiler_pic='-fPIC'
21117 interix[3-9]*)
21118 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
21130 # QNX uses GNU C++, but need to define -shared option too, otherwise
21132 lt_prog_compiler_pic='-fPIC -shared'
21136 if test -d /usr/nec; then
21137 lt_prog_compiler_pic=-Kconform_pic
21142 lt_prog_compiler_pic='-fPIC'
21148 lt_prog_compiler_wl='-Xlinker '
21149 if test -n "$lt_prog_compiler_pic"; then
21150 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
21158 lt_prog_compiler_wl='-Wl,'
21161 lt_prog_compiler_static='-Bstatic'
21163 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
21170 lt_prog_compiler_pic='-fno-common'
21174 lt_prog_compiler_wl='-Wl,-Wl,,'
21175 lt_prog_compiler_pic='-PIC'
21176 lt_prog_compiler_static='-Bstatic'
21184 lt_prog_compiler_pic='-DDLL_EXPORT'
21187 lt_prog_compiler_static='$wl-static'
21193 lt_prog_compiler_wl='-Wl,'
21194 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
21195 # not for PA HP-UX.
21205 lt_prog_compiler_static='$wl-a ${wl}archive'
21209 lt_prog_compiler_wl='-Wl,'
21210 # PIC (with -KPIC) is the default.
21211 lt_prog_compiler_static='-non_shared'
21214 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
21216 # old Intel for x86_64, which still supported -KPIC.
21218 lt_prog_compiler_wl='-Wl,'
21219 lt_prog_compiler_pic='-KPIC'
21220 lt_prog_compiler_static='-static'
21223 # ICC 10 doesn't accept -KPIC any more.
21225 lt_prog_compiler_wl='-Wl,'
21226 lt_prog_compiler_pic='-fPIC'
21227 lt_prog_compiler_static='-static'
21231 lt_prog_compiler_wl='-Wl,'
21232 lt_prog_compiler_pic='--shared'
21233 lt_prog_compiler_static='--static'
21237 lt_prog_compiler_wl='-Wl,-Wl,,'
21238 lt_prog_compiler_pic='-PIC'
21239 lt_prog_compiler_static='-Bstatic'
21243 lt_prog_compiler_wl='-Wl,'
21244 lt_prog_compiler_pic='-fPIC'
21245 lt_prog_compiler_static='-static'
21250 lt_prog_compiler_wl='-Wl,'
21251 lt_prog_compiler_pic='-fpic'
21252 lt_prog_compiler_static='-Bstatic'
21255 lt_prog_compiler_wl='-Wl,'
21257 lt_prog_compiler_static='-non_shared'
21261 lt_prog_compiler_wl='-Wl,'
21262 lt_prog_compiler_pic='-qpic'
21263 lt_prog_compiler_static='-qstaticlink'
21266 case `$CC -V 2>&1 | sed 5q` in
21267 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
21269 lt_prog_compiler_pic='-KPIC'
21270 lt_prog_compiler_static='-Bstatic'
21274 lt_prog_compiler_pic='-KPIC'
21275 lt_prog_compiler_static='-Bstatic'
21276 lt_prog_compiler_wl='-Qoption ld '
21280 lt_prog_compiler_pic='-KPIC'
21281 lt_prog_compiler_static='-Bstatic'
21282 lt_prog_compiler_wl='-Wl,'
21285 lt_prog_compiler_wl='-Wl,'
21286 lt_prog_compiler_pic='-fPIC'
21287 lt_prog_compiler_static='-static'
21290 lt_prog_compiler_wl='-Wl,'
21291 lt_prog_compiler_pic='-fpic'
21292 lt_prog_compiler_static='-Bstatic'
21300 lt_prog_compiler_pic='-KPIC'
21301 lt_prog_compiler_static='-Bstatic'
21305 # QNX uses GNU C++, but need to define -shared option too, otherwise
21307 lt_prog_compiler_pic='-fPIC -shared'
21311 lt_prog_compiler_wl='-Wl,'
21313 lt_prog_compiler_static='-non_shared'
21317 lt_prog_compiler_static='-non_shared'
21321 lt_prog_compiler_pic='-KPIC'
21322 lt_prog_compiler_static='-Bstatic'
21325 lt_prog_compiler_wl='-Qoption ld ';;
21327 lt_prog_compiler_wl='-Wl,';;
21332 lt_prog_compiler_wl='-Qoption ld '
21333 lt_prog_compiler_pic='-PIC'
21334 lt_prog_compiler_static='-Bstatic'
21338 lt_prog_compiler_wl='-Wl,'
21339 lt_prog_compiler_pic='-KPIC'
21340 lt_prog_compiler_static='-Bstatic'
21344 if test -d /usr/nec; then
21345 lt_prog_compiler_pic='-Kconform_pic'
21346 lt_prog_compiler_static='-Bstatic'
21351 lt_prog_compiler_wl='-Wl,'
21352 lt_prog_compiler_pic='-KPIC'
21353 lt_prog_compiler_static='-Bstatic'
21357 lt_prog_compiler_wl='-Wl,'
21362 lt_prog_compiler_pic='-pic'
21363 lt_prog_compiler_static='-Bstatic'
21373 # For platforms that do not support PIC, -DPIC is meaningless:
21378 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
21382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
21390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
21397 if test -n "$lt_prog_compiler_pic"; then
21398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
21407 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
21414 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21415 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21416 -e 's:$: $lt_compiler_flag:'`
21422 if (exit $ac_status) && test -s "$ac_outfile"; then
21427 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
21434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
21463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21473 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
21476 if test -s conftest.err; then
21488 $RM -r conftest*
21492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
21507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
21508 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
21514 $RM -r conftest 2>/dev/null
21520 lt_compiler_flag="-o out/conftest2.$ac_objext"
21526 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21527 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21528 -e 's:$: $lt_compiler_flag:'`
21534 if (exit $ac_status) && test -s out/conftest2.$ac_objext
21540 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
21548 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
21551 $RM -r conftest
21555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
21563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
21564 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
21570 $RM -r conftest 2>/dev/null
21576 lt_compiler_flag="-o out/conftest2.$ac_objext"
21582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21584 -e 's:$: $lt_compiler_flag:'`
21590 if (exit $ac_status) && test -s out/conftest2.$ac_objext
21596 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
21604 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
21607 $RM -r conftest
21611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
21620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
21628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
21631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
21632 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
21644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21671 # include_expsyms should be a list of space-separated symbols to be *always*
21717 case `$LD -v 2>&1` in
21719 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
21720 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
21740 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
21741 export_dynamic_flag_spec='$wl--export-dynamic'
21742 # ancient GNU ld didn't support --whole-archive et. al.
21743 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
21744 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
21749 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
21751 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
21760 aix[3-9]*)
21770 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
21781 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
21785 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)'
21786 hardcode_libdir_flag_spec='-L$libdir'
21793 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
21796 # support --undefined. This deserves some investigation. FIXME
21797 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
21806 hardcode_libdir_flag_spec='-L$libdir'
21807 export_dynamic_flag_spec='$wl--export-all-symbols'
21811 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'
21812 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
21814 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
21815 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21816 # If the export-symbols file already is a .def file, use it as
21818 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
21824 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21831 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
21836 hardcode_libdir_flag_spec='-L$libdir'
21845 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
21846 emximp -o $lib $output_objdir/$libname.def'
21853 prefix_cmds="$prefix_cmds -e 1d";
21855 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
21857 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
21858 emximp -o $lib $output_objdir/$libname.def'
21859 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
21863 interix[3-9]*)
21866 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
21867 export_dynamic_flag_spec='$wl-E'
21872 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
21874 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
21875 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'
21878 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
21880 if test linux-dietlibc = "$host_os"; then
21882 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
21885 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
21889 tmp_sharedflag='-shared'
21892 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'
21897 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'
21898 tmp_addflag=' $pic_flag -Mnomain' ;;
21900 tmp_addflag=' -i_dynamic' ;;
21902 tmp_addflag=' -i_dynamic -nofor_main' ;;
21904 tmp_addflag=' -nofor_main' ;;
21907 tmp_sharedflag='--shared' ;;
21909 tmp_sharedflag='-Wl,-shared' ;;
21911 tmp_sharedflag='-qmkshrobj'
21914 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'
21918 case `$CC -V 2>&1 | sed 5q` in
21920 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'
21922 tmp_sharedflag='-G' ;;
21924 tmp_sharedflag='-G' ;;
21926 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
21930 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21932 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
21937 export_dynamic_flag_spec='-rdynamic'
21941 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
21942 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
21943 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
21946 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21948 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
21958 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
21959 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
21962 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
21963 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
21968 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
21980 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
21981 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
21982 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
21989 case `$LD -v 2>&1` in
21990 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
22008 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
22009 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
22010 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22011 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
22020 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22027 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
22028 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22029 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
22048 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'
22050 # are no directories specified by -L.
22052 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
22059 aix[4-9]*)
22064 exp_sym_flag='-Bexport'
22067 # If we're using GNU nm, then we don't want the "-C" option.
22068 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
22069 # Without the "-l" option, or with the "-B" option, AIX nm treats
22073 # it in the Import File for the 'aix-soname' feature, so we have
22074 # to replace the "-B" option with "-P" for AIX nm.
22075 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
22076 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'
22078 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'
22083 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
22086 # depending on the kind of the shared library created -
22097 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
22099 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
22105 # With aix-soname=svr4, we create the lib.so.V shared archives only,
22109 LDFLAGS="$LDFLAGS -Wl,-brtl"
22114 exp_sym_flag='-bexport'
22115 no_entry_flag='-bnoentry'
22120 # or program results in "error TOC overflow" add -mminimal-toc to
22122 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
22129 file_list_spec='$wl-f,'
22143 collect2name=`$CC -print-prog-name=collect2`
22144 if test -f "$collect2name" &&
22156 hardcode_libdir_flag_spec='-L$libdir'
22161 shared_flag='-shared'
22163 shared_flag="$shared_flag "'$wl-G'
22167 # /with/ Import File - we do not want to mix them.
22168 shared_flag_aix='-shared'
22169 shared_flag_svr4='-shared $wl-G'
22173 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
22174 # chokes on -Wl,-G. The following line is correct:
22175 shared_flag='-G'
22178 shared_flag='$wl-G'
22180 shared_flag='$wl-bM:SRE'
22182 shared_flag_aix='$wl-bM:SRE'
22183 shared_flag_svr4='$wl-G'
22187 export_dynamic_flag_spec='$wl-bexpall'
22188 # It seems that -bexpall does not export symbols beginning with
22192 # Warning - without using the other runtime loading flags (-brtl),
22193 # -berok will link without error, but may produce a broken library.
22194 allow_undefined_flag='-berok'
22204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22225 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22226 # Check for a 64-bit object if we didn't find anything.
22227 if test -z "$lt_cv_aix_libpath_"; then
22228 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22233 if test -z "$lt_cv_aix_libpath_"; then
22242 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
22243 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
22246 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
22247 allow_undefined_flag="-z nodefs"
22248 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"
22259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22280 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22281 # Check for a 64-bit object if we didn't find anything.
22282 if test -z "$lt_cv_aix_libpath_"; then
22283 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
22286 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22288 if test -z "$lt_cv_aix_libpath_"; then
22297 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
22298 # Warning - without using the other run time loading flags,
22299 # -berok will link without error, but may produce a broken library.
22300 no_undefined_flag=' $wl-bernotok'
22301 allow_undefined_flag=' $wl-berok'
22303 # We only use this code for GNU lds that support --whole-archive.
22304 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
22310 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
22311 # -brtl affects multiple linker settings, -berok does not and is overridden later
22312 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
22315 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'
22318 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'
22320 # used by -dlpreopen to get the symbols
22323 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
22332 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
22336 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)'
22337 hardcode_libdir_flag_spec='-L$libdir'
22344 export_dynamic_flag_spec=-rdynamic
22364 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
22365 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
22369 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
22371 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
22377 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
22389 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
22390 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
22391 $RM "$lt_outputfile.manifest";
22403 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
22407 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
22421 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\"`'
22434 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
22435 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
22436 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"
22437 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"
22446 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22447 hardcode_libdir_flag_spec='-L$libdir'
22456 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
22457 hardcode_libdir_flag_spec='-R$libdir'
22464 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22470 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
22472 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22473 hardcode_libdir_flag_spec='-R$libdir'
22480 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'
22482 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'
22491 export_dynamic_flag_spec='$wl-E'
22496 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22498 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22505 export_dynamic_flag_spec='$wl-E'
22516 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
22519 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22522 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22528 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
22531 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
22535 # Older versions of the 11.00 compiler do not understand -b yet
22536 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
22537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
22538 printf %s "checking if $CC understands -b... " >&6; }
22545 LDFLAGS="$LDFLAGS -b"
22547 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
22550 if test -s conftest.err; then
22562 $RM -r conftest*
22566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
22570 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
22572 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
22590 export_dynamic_flag_spec='$wl-E'
22602 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'
22603 # Try to use the -exported_symbol ld option, if it does not
22604 # work, assume that -exports_file does not work either and
22606 # This should be the same for all languages, so no per-tag cache variable.
22607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
22608 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
22614 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
22615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22625 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
22632 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'
22635 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'
22636 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'
22639 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
22650 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22656 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
22657 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
22659 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
22661 hardcode_libdir_flag_spec='-R$libdir'
22667 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22669 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
22678 if test -f /usr/libexec/ld.so; then
22682 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
22683 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22684 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
22685 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
22686 export_dynamic_flag_spec='$wl-E'
22688 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22689 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
22697 hardcode_libdir_flag_spec='-L$libdir'
22706 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
22707 emximp -o $lib $output_objdir/$libname.def'
22714 prefix_cmds="$prefix_cmds -e 1d";
22716 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
22718 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
22719 emximp -o $lib $output_objdir/$libname.def'
22720 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
22726 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
22727 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'
22729 allow_undefined_flag=' -expect_unresolved \*'
22730 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'
22733 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
22737 osf4* | osf5*) # as osf3* with the addition of -msym flag
22739 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
22740 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'
22741 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
22743 allow_undefined_flag=' -expect_unresolved \*'
22744 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'
22745 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~
22746 $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'
22748 # Both c and cxx compiler support -rpath directly
22749 hardcode_libdir_flag_spec='-rpath $libdir'
22756 no_undefined_flag=' -z defs'
22759 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
22760 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
22761 $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'
22763 case `$CC -V 2>&1` in
22766 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
22767 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
22768 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
22772 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
22773 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
22774 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
22778 hardcode_libdir_flag_spec='-R$libdir'
22781 solaris2.[0-5] | solaris2.[0-5].*) ;;
22784 # but understands '-z linker_flag'. GCC discards it without '$wl',
22788 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
22790 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
22801 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22803 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22805 hardcode_libdir_flag_spec='-L$libdir'
22814 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22820 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22821 reload_cmds='$CC -r -o $output$reload_objs'
22825 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22834 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22836 export_dynamic_flag_spec='-Bexport'
22840 if test -d /usr/nec; then
22841 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22850 no_undefined_flag='$wl-z,text'
22856 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22857 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22859 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22860 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22865 # Note: We CANNOT use -z defs as we might desire, because we do not
22866 # link with -lc, and that would cause any symbols used from libc to
22868 # ever link correctly. If we're not using GNU ld we use -z text
22869 # though, which does catch some bad symbols but isn't as heavy-handed
22870 # as -z defs.
22871 no_undefined_flag='$wl-z,text'
22872 allow_undefined_flag='$wl-z,nodefs'
22875 hardcode_libdir_flag_spec='$wl-R,$libdir'
22878 export_dynamic_flag_spec='$wl-Bexport'
22882 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22883 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22885 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22886 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22891 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22892 hardcode_libdir_flag_spec='-L$libdir'
22904 export_dynamic_flag_spec='$wl-Blargedynsym'
22910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
22935 # Assume -lc should be added
22941 # FIXME: we may have to deal with multi-command sequences.
22944 # Test whether the compiler implicitly links with -lc since on some
22945 # systems, -lgcc has to come before -lc. If gcc already passes -lc
22946 # to ld, don't add -lc before -lgcc.
22947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
22948 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
22956 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
22959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22967 compiler_flags=-v
22968 linker_flags=-v
22974 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
22975 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
22977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
23151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
23160 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
23163 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
23167 # otherwise default to the standard path separator (i.e. ":") - it is
23179 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
23181 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
23188 if test -d "$lt_sys_path$lt_multi_os_dir"; then
23190 elif test -n "$lt_multi_os_dir"; then
23191 test -d "$lt_sys_path" && \
23199 for (lt_i = NF; lt_i > 0; lt_i--) {
23207 lt_count--;
23219 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
23241 # when you set need_version to no, make sure it does not cause -set_version
23257 aix[4-9]*)
23276 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
23284 # filename-based versioning of shared library archives on AIX. While
23286 # prevent static linking of such archives. So we do filename-based
23291 # versioned .so libs for executables only if there is the -brtl
23292 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
23293 # To allow for filename-based versioning support, we need to create
23303 # but for link time we create the symlink libNAME.so -> libNAME.so.V
23333 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"'
23343 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)'
23344 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"'
23355 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
23383 # libtool to hard-code these into programs
23398 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
23400 test -d \$dldir || mkdir -p \$dldir~
23403 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
23406 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
23414 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
23420 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
23424 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
23433 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
23450 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
23456 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
23457 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
23458 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23462 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
23464 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
23466 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
23469 # common. (e.g. "Program Files" -> "PROGRA~1")
23475 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
23477 test -d \$dldir || mkdir -p \$dldir~
23479 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
23488 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
23523 if test -x /usr/bin/objformat; then
23531 version_type=freebsd-$objformat
23533 freebsd-elf*)
23539 freebsd-*)
23553 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
23554 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
23621 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
23627 interix[3-9]*)
23659 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
23660 libsuff= shlibsuff= libmagic=32-bit;;
23661 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
23663 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
23664 libsuff=64 shlibsuff=64 libmagic=64-bit;;
23665 *) libsuff= shlibsuff= libmagic=never-match;;
23697 # Don't embed -rpath directories since the linker doesn't support them.
23698 hardcode_libdir_flag_spec='-L$libdir'
23702 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
23708 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
23722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23735 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
23740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23757 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
23758 # even though it is searched at run-time. Try to do the best guess by
23760 if test -f /etc/ld.so.conf; then
23761 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' ' '`
23768 # most powerpc-linux boxes support dynamic linking these days and
23769 # people can always --disable-shared, the test was removed, and we
23778 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
23780 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23815 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
23821 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
23832 # OS/2 can only load a DLL with a base name of 8 characters or less.
23833 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
23834 v=$($ECHO $release$versuffix | tr -d .-);
23835 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
23838 dynamic_linker='OS/2 ld.exe'
23843 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
23845 test -d \$dldir || mkdir -p \$dldir~
23848 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
23851 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
23920 if test -d /usr/nec; then
23951 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
23972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
23992 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
24094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
24097 if test -n "$hardcode_libdir_flag_spec" ||
24098 test -n "$runpath_var" ||
24101 # We can hardcode non-existent directories.
24105 # when we should be linking with a yet-to-be-installed one
24119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
24164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
24165 printf %s "checking for dlopen in -ldl... " >&6; }
24171 LIBS="-ldl $LIBS"
24172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
24201 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
24214 # because TPF is a cross-compiler, and we know how we open DSOs.
24226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
24227 printf %s "checking for shl_load in -ldld... " >&6; }
24233 LIBS="-ldld $LIBS"
24234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
24263 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
24270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
24271 printf %s "checking for dlopen in -ldl... " >&6; }
24277 LIBS="-ldl $LIBS"
24278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
24307 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
24309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
24310 printf %s "checking for dlopen in -lsvld... " >&6; }
24316 LIBS="-lsvld $LIBS"
24317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
24346 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
24348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
24349 printf %s "checking for dld_link in -ldld... " >&6; }
24355 LIBS="-ldld $LIBS"
24356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
24385 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
24415 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
24423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
24476 /* When -fvisibility=hidden is used, assume the code has been annotated
24504 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
24507 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24508 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
24521 rm -fr conftest*
24525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
24530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
24583 /* When -fvisibility=hidden is used, assume the code has been annotated
24611 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
24614 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24615 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
24628 rm -fr conftest*
24632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
24671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
24673 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
24674 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
24675 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
24676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24679 # FIXME - insert some real tests, host_os isn't really good enough
24682 if test -n "$STRIP"; then
24683 striplib="$STRIP -x"
24684 old_striplib="$STRIP -S"
24685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
24713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
24716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
24725 if test -n "$RANLIB"; then
24731 aix[4-9]*)
24741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
24744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
24748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
24757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sntp will be built" >&5
24792 # Check whether --with-sntp was given.
24810 if test -n "$SNTP"; then
24818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sntp" >&5
24833 # NTP has (so far) been relying on leading-edge autogen.
24835 # - use the version we ship with
24836 # - do not install it
24837 # - build a static copy (disable-shared - done earlier)
24850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
24856 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
24857 then ac_cv_path_EGREP="$GREP -E"
24859 if test -z "$EGREP"; then
24861 # Loop through the user's path and test for each of PROGNAME-LIST
24878 case `"$ac_path_EGREP" --version 2>&1` in
24893 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
24899 test $ac_count -gt 10 && break
24901 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
24909 if test -z "$ac_cv_path_EGREP"; then
24918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
24930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
24936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24956 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24971 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
24973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
24980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24997 if test -z "$ac_lib"; then
25000 ac_res=-l$ac_lib
25001 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
25007 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
25033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
25040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25057 if test -z "$ac_lib"; then
25060 ac_res=-l$ac_lib
25061 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
25067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
25302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working stdnoreturn.h" >&5
25308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25314 and circa-2012 bleeding-edge GCC rejects it when given
25315 -Werror=old-style-declaration. */
25339 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdnoreturn_h" >&5
25351 if test -n "$STDNORETURN_H"; then
25361 # ----------------------------------------------------------------------
25363 # On OS/X, "wchar.h" needs "runetype.h" to work properly.
25364 # ----------------------------------------------------------------------
25391 # Check whether --enable-nls was given.
25406 # --------------------------------------------
25408 # --------------------------------------------
25427 test "X${ac_cv_header_inttypes_h-no}" = Xyes || \
25430 # ----------------------------------------------------------------------
25432 # ----------------------------------------------------------------------
25558 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of char *" >&5
25572 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char_p" >&5
25591 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
25605 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
25624 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
25638 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
25657 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
25671 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
25690 # ------------
25692 # ------------
25693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pathfind in -lgen" >&5
25694 printf %s "checking for pathfind in -lgen... " >&6; }
25700 LIBS="-lgen $LIBS"
25701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25722 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_pathfind" >&5
25732 LIBS="-lgen $LIBS"
25736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gettext in -lintl" >&5
25737 printf %s "checking for gettext in -lintl... " >&6; }
25743 LIBS="-lintl $LIBS"
25744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25765 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_gettext" >&5
25775 LIBS="-lintl $LIBS"
25794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
25804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25824 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
25837 *-*-amigaos* | *-*-msdosdjgpp*)
25845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
25850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
25860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25879 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
25894 write(-1, "", 0);
25974 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
25985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
26065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
26077 if test -z "$SED"; then
26079 # Loop through the user's path and test for each of PROGNAME-LIST
26096 case `"$ac_path_SED" --version 2>&1` in
26108 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
26111 if test $ac_count -gt ${ac_path_SED_max-0}; then
26117 test $ac_count -gt 10 && break
26119 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
26127 if test -z "$ac_cv_path_SED"; then
26135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
26138 rm -f conftest.sed
26142 test -x "$POSIX_SHELL" && break
26144 test -x "$POSIX_SHELL" && break
26146 test -x "$POSIX_SHELL" && break
26148 test -x "$POSIX_SHELL" && break
26149 POSIX_SHELL=`/bin/sh -c '
26153 test -x "$POSIX_SHELL" && break
26168 # Check whether --enable-local-libopts was given.
26173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using supplied libopts tearoff" >&5
26175 LIBOPTS_CFLAGS='-I$(top_srcdir)/libopts'
26182 # Check whether --enable-libopts-install was given.
26197 if test -z "${NEED_LIBOPTS_DIR}" ; then
26198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether autoopts-config can be found" >&5
26199 printf %s "checking whether autoopts-config can be found... " >&6; }
26201 # Check whether --with-autoopts-config was given.
26206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether autoopts-config is specified" >&5
26207 printf %s "checking whether autoopts-config is specified... " >&6; }
26212 if autoopts-config --help 2>/dev/null 1>&2
26213 then lo_cv_with_autoopts_config=autoopts-config
26214 elif libopts-config --help 2>/dev/null 1>&2
26215 then lo_cv_with_autoopts_config=libopts-config
26218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lo_cv_with_autoopts_config" >&5
26229 if test -z "${lo_cv_with_autoopts_config}" \
26230 -o X"${lo_cv_with_autoopts_config}" = Xno
26232 if autoopts-config --help 2>/dev/null 1>&2
26233 then lo_cv_with_autoopts_config=autoopts-config
26234 elif libopts-config --help 2>/dev/null 1>&2
26235 then lo_cv_with_autoopts_config=libopts-config
26239 ${lo_cv_with_autoopts_config} --libs` 2> /dev/null
26240 if test $? -ne 0 -o -z "${lo_cv_test_autoopts}"
26245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lo_cv_test_autoopts}" >&5
26251 LIBOPTS_CFLAGS="`${lo_cv_with_autoopts_config} --cflags`"
26254 LIBOPTS_CFLAGS='-I$(top_srcdir)/libopts'
26257 fi # end of if test -z "${NEED_LIBOPTS_DIR}"
26258 if test -n "${LIBOPTS_BUILD_BLOCKED}" ; then
26261 if test -n "${NEED_LIBOPTS_DIR}"; then
26277 if test -z "$NEED_LIBOPTS_TRUE"; then :
26284 # Check whether --with-regex-header was given.
26289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a reg expr header is specified" >&5
26297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libopts_cv_with_regex_header" >&5
26317 # Check whether --with-libregex was given.
26322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether with-libregex was specified" >&5
26323 printf %s "checking whether with-libregex was specified... " >&6; }
26330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libopts_cv_with_libregex_root" >&5
26345 # Check whether --with-libregex-cflags was given.
26350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether with-libregex-cflags was specified" >&5
26351 printf %s "checking whether with-libregex-cflags was specified... " >&6; }
26358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libopts_cv_with_libregex_cflags" >&5
26362 # end of AC_ARG_WITH libregex-cflags
26365 # Check whether --with-libregex-libs was given.
26370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether with-libregex-libs was specified" >&5
26371 printf %s "checking whether with-libregex-libs was specified... " >&6; }
26378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libopts_cv_with_libregex_libs" >&5
26382 # end of AC_ARG_WITH libregex-libs
26388 * ) libopts_cv_with_libregex_cflags=-I${libopts_cv_with_libregex_root}/include ;;
26395 * ) libopts_cv_with_libregex_libs="-L${libopts_cv_with_libregex_root}/lib -lregex" ;;
26413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether libregex functions properly" >&5
26424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26442 fputs( "error: regex -->.<-- did not match\n", stderr );
26453 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${libopts_cv_with_libregex}" >&5
26481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pathfind(3) works" >&5
26493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26508 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${libopts_cv_run_pathfind}" >&5
26528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether /dev/zero is readable device" >&5
26536 dzero=\`ls -lL /dev/zero | egrep ^c......r\`
26537 test -z "${dzero}" && exit 1
26539 if test $? -ne 0 || test -z "$libopts_cv_test_dev_zero"
26545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${libopts_cv_test_dev_zero}" >&5
26558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we have a functional realpath(3C)" >&5
26570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26590 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${libopts_cv_run_realpath}" >&5
26610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strftime() works" >&5
26622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26648 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${libopts_cv_run_strftime}" >&5
26668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fopen accepts \"b\" mode" >&5
26680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26693 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${libopts_cv_run_fopen_binary}" >&5
26717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether fopen accepts \"t\" mode" >&5
26729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26742 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${libopts_cv_run_fopen_text}" >&5
26766 # Check whether --enable-optional-args was given.
26771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether not wanting optional option args" >&5
26779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libopts_cv_enable_optional_args" >&5
26810 # Check whether --enable-local-libevent was given.
26815 ntp_use_local_libevent=${ntp_use_local_libevent-detect}
26838 *) # If we have (a good enough) pkg-config, see if it can find libevent
26841 if $PKG_CONFIG --atleast-version=$ntp_libevent_min_version libevent
26844 ntp_libevent_version="`$PKG_CONFIG --modversion libevent`"
26849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libevent $ntp_libevent_min_version or later is installed" >&5
26851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, version $ntp_libevent_version" >&5
26853 CFLAGS_LIBEVENT=`$PKG_CONFIG --cflags libevent_pthreads`
26854 CPPFLAGS_LIBEVENT=`$PKG_CONFIG --cflags-only-I libevent`
26856 # We don't need -levent, we only need -levent_core.
26857 # While we could grab only the -L stuff, there *might* be
26858 # other flags there we want. Originally we just removed -levent
26859 # but then somebody decided to install -levent-2.0
26860 # LDADD_LIBEVENT=`$PKG_CONFIG --libs libevent | sed 's:-levent::'`
26863 for i in `$PKG_CONFIG --libs libevent` `$PKG_CONFIG --cflags-only-other libevent_pthreads`
26866 -D*) ;;
26867 -levent*) ;;
26877 LDADD_LIBEVENT="$LDADD_LIBEVENT -levent_pthreads"
26879 LDADD_LIBEVENT="$LDADD_LIBEVENT -levent_core"
26884 CFLAGS_LIBEVENT=`$PKG_CONFIG --cflags libevent_pthreads`
26885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libevent $ntp_libevent_min_version or later is installed" >&5
26887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using libevent tearoff" >&5
26902 CPPFLAGS_LIBEVENT="-I\$(top_builddir)/$ntp_libevent_tearoff/include -I\$(top_srcdir)/$ntp_libevent_tearoff/include"
26934 ac_configure_args=" --disable-openssl${ac_configure_args}"
26935 ac_configure_args=" --disable-samples${ac_configure_args}"
26936 ac_configure_args=" --disable-shared${ac_configure_args}"
26937 ac_configure_args=" --disable-libevent-regress${ac_configure_args}"
26938 ac_configure_args=" --disable-libevent-install${ac_configure_args}"
26939 ac_configure_args=" --enable-silent-rules${ac_configure_args}"
26940 ac_configure_args=" --enable-function-sections${ac_configure_args}"
26959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing openlog" >&5
26966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26983 if test -z "$ac_lib"; then
26986 ac_res=-l$ac_lib
26987 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
26993 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_openlog" >&5
27074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for facilitynames in syslog.h" >&5
27080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27104 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_HAVE_SYSLOG_FACILITYNAMES" >&5
27116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: No facilitynames in <syslog.h>" >&5
27131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
27137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27144 char a[__bool_true_false_are_defined == 1 ? 1 : -1];
27157 char b[true == 1 ? 1 : -1];
27166 char d[false == 0 ? 1 : -1];
27170 char i[(bool) 0.5 == true ? 1 : -1];
27171 char j[(bool) 0.0 == false ? 1 : -1];
27172 char k[sizeof (bool) > 0 ? 1 : -1];
27175 char l[sizeof s.t > 0 ? 1 : -1];
27180 char n[sizeof m == h * sizeof m[0] ? 1 : -1];
27181 char o[-1 - (bool) 0 < 0 ? 1 : -1];
27182 /* Catch a bug in an HP-UX C compiler. See
27183 https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
27184 https://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
27208 char q[(_Bool) 0.5 == true ? 1 : -1];
27209 char r[(_Bool) 0.0 == false ? 1 : -1];
27210 char u[sizeof (_Bool) > 0 ? 1 : -1];
27211 char v[sizeof t.t > 0 ? 1 : -1];
27214 char x[sizeof m == h * sizeof m[0] ? 1 : -1];
27215 char y[-1 - (_Bool) 0 < 0 ? 1 : -1];
27253 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
27267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_storage" >&5
27273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27304 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_sockaddr_storage" >&5
27314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sockaddr_storage.__ss_family" >&5
27320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27352 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_have___ss_family" >&5
27370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for in_port_t" >&5
27376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $isc_cv_have_in_port_t" >&5
27413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking type of socklen arg for getsockname()" >&5
27423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27450 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_getsockname_socklen_type" >&5
27468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking struct sockaddr for sa_len" >&5
27474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27485 return ps->sa_len;
27499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $isc_cv_platform_havesalen" >&5
27511 # Check whether --enable-ipv6 was given.
27521 powerpc-ibm-aix4*)
27536 *-*-darwin*)
27543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IPv6 structures" >&5
27549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27574 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $isc_cv_found_ipv6" >&5
27581 # See whether IPv6 support is provided via a Kame add-on.
27584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Kame IPv6 support" >&5
27587 # Check whether --with-kame was given.
27608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27612 if test -f $kame_path/lib/libinet6.a; then
27613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kame_path/lib/libinet6.a" >&5
27615 LIBS="-L$kame_path/lib -linet6 $LIBS"
27621 configure --with-kame=PATH
27629 # Including it on Kame-using platforms is very bad, though, because
27631 # the platform that is otherwise broken without it -- BSD/OS 4.0 through 4.1.
27636 *-bsdi4.[01]*)
27651 *-sco-sysv*uw*|*-*-sysv*UnixWare*|*-*-sysv*OpenUNIX*)
27668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for in6_pktinfo" >&5
27674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27701 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $isc_cv_have_in6_pktinfo" >&5
27715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sockaddr_in6.sin6_scope_id" >&5
27721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27749 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $isc_cv_have_sin6_scope_id" >&5
27766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for in6addr_any" >&5
27775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $isc_cv_in6addr_any_links" >&5
27819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrconf" >&5
27825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27849 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $isc_cv_struct_if_laddrconf" >&5
27862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrreq" >&5
27868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $isc_cv_struct_if_laddrreq" >&5
27905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for multicast IP support" >&5
27914 i386-sequent-sysv4)
27917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27940 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_multicast" >&5
27953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking arg type needed for setsockopt() IP*_MULTICAST_LOOP" >&5
27961 *-*-netbsd*|*-*-*linux*)
27971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_typeof_ip_multicast_loop" >&5
27978 # Check whether --enable-getifaddrs was given.
27990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --enable-getifaddrs=glibc is no longer required" >&5
27991 printf "%s\n" "$as_me: WARNING: --enable-getifaddrs=glibc is no longer required" >&2;}
28015 *-hp-hpux*)
28016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing if_nametoindex" >&5
28023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28040 if test -z "$ac_lib"; then
28043 ac_res=-l$ac_lib
28044 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
28050 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_if_nametoindex" >&5
28121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28155 if test -n "$PATH_RUBY"; then
28156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_RUBY" >&5
28159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want to enable tests with undiagnosed problems" >&5
28191 # Check whether --enable-problem-tests was given.
28200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $sntp_ept" >&5
28203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can run test-kodDatabase" >&5
28204 printf %s "checking if we can run test-kodDatabase... " >&6; }
28207 no:0:*-apple-darwin12.6.0) ;;
28210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $sntp_test_kodDatabase" >&5
28221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can run test-kodFile" >&5
28222 printf %s "checking if we can run test-kodFile... " >&6; }
28225 no:0:*-apple-darwin12.6.0) ;;
28228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $sntp_test_kodFile" >&5
28244 # in -lintl -lgen, outside our "scope".
28262 # scripts and configure runs, see configure's option --config-cache.
28267 # the --recheck option to rerun configure.
28281 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
28286 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
28300 # `set' does not quote correctly, so add quotes: double-quote
28302 sed -n \
28308 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
28322 if test -w "$cache_file"; then
28324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
28326 if test ! -f "$cache_file" || test -h "$cache_file"; then
28331 mv -f confcache "$cache_file"$$ &&
28332 mv -f "$cache_file"$$ "$cache_file" ;; #(
28334 mv -f confcache "$cache_file" ;;
28339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
28343 rm -f confcache
28349 DEFS=-DHAVE_CONFIG_H
28368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
28370 if test -n "$am_sleep_pid"; then
28374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
28376 if test -n "$EXEEXT"; then
28384 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
28388 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28393 if test -z "${WANT_CALC_TICKADJ_MS_TRUE}" && test -z "${WANT_CALC_TICKADJ_MS_FALSE}"; then
28397 if test -z "${INSTALL_NTPSWEEP_TRUE}" && test -z "${INSTALL_NTPSWEEP_FALSE}"; then
28401 if test -z "${INSTALL_UPDATE_LEAP_TRUE}" && test -z "${INSTALL_UPDATE_LEAP_FALSE}"; then
28405 if test -z "${NTP_CROSSCOMPILE_TRUE}" && test -z "${NTP_CROSSCOMPILE_FALSE}"; then
28409 if test -z "${PTHREADS_TRUE}" && test -z "${PTHREADS_FALSE}"; then
28413 if test -z "${LIBNTP_SUBMAKES_TRUE}" && test -z "${LIBNTP_SUBMAKES_FALSE}"; then
28417 if test -z "${BUILD_SNTP_TRUE}" && test -z "${BUILD_SNTP_FALSE}"; then
28421 if test -z "${GL_GENERATE_STDNORETURN_H_TRUE}" && test -z "${GL_GENERATE_STDNORETURN_H_FALSE}"; then
28425 if test -z "${INSTALL_LIBOPTS_TRUE}" && test -z "${INSTALL_LIBOPTS_FALSE}"; then
28429 if test -z "${NEED_LIBOPTS_TRUE}" && test -z "${NEED_LIBOPTS_FALSE}"; then
28433 if test -z "${BUILD_LIBEVENT_TRUE}" && test -z "${BUILD_LIBEVENT_FALSE}"; then
28437 if test -z "${UNITYBUILD_AVAILABLE_TRUE}" && test -z "${UNITYBUILD_AVAILABLE_FALSE}"; then
28441 if test -z "${BUILD_TEST_KODDATABASE_TRUE}" && test -z "${BUILD_TEST_KODDATABASE_FALSE}"; then
28445 if test -z "${BUILD_TEST_KODFILE_TRUE}" && test -z "${BUILD_TEST_KODFILE_FALSE}"; then
28454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
28468 SHELL=\${CONFIG_SHELL-$SHELL}
28472 ## -------------------- ##
28474 ## -------------------- ##
28483 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
28485 alias -g '${1+"$@"}'='"$@"'
28488 case `(set -o) 2>/dev/null` in #(
28490 set -o posix ;; #(
28504 # Quoting is to prevent editors from complaining about space-tab.
28514 # Ensure predictable behavior from utilities with locale-dependent output.
28521 # to be unset--not just set to an empty or harmless value--now, to
28522 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
28538 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
28539 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
28558 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
28569 if test ! -f "$as_myself"; then
28577 # ----------------------------------------
28583 as_status=$1; test $as_status -eq 0 && as_status=1
28585 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
28586 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
28595 # -----------------------
28603 # -----------------
28604 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
28613 # ---------------
28622 # ----------------------
28641 # ------------------
28654 as_val=`expr "$@" || test $? -eq 1`
28666 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
28672 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
28678 as_me=`$as_basename -- "$0" ||
28709 case `echo -n x` in #(((((
28710 -n*)
28718 ECHO_N='-n';;
28721 # For backward compatibility with old third-party macros, we provide
28727 rm -f conf$$ conf$$.exe conf$$.file
28728 if test -d conf$$.dir; then
28729 rm -f conf$$.dir/conf$$.file
28731 rm -f conf$$.dir
28735 if ln -s conf$$.file conf$$ 2>/dev/null; then
28736 as_ln_s='ln -s'
28738 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
28739 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
28740 # In both cases, we have to default to `cp -pR'.
28741 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
28742 as_ln_s='cp -pR'
28746 as_ln_s='cp -pR'
28749 as_ln_s='cp -pR'
28751 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
28756 # -------------
28762 -*) as_dir=./$as_dir;;
28764 test -d "$as_dir" || eval $as_mkdir_p || {
28772 as_dir=`$as_dirname -- "$as_dir" ||
28795 test -d "$as_dir" && break
28797 test -z "$as_dirs" || eval "mkdir $as_dirs"
28798 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
28802 if mkdir -p . 2>/dev/null; then
28803 as_mkdir_p='mkdir -p "$as_dir"'
28805 test -d ./-p && rmdir ./-p
28811 # -----------------------
28815 test -f "$1" && test -x "$1"
28817 as_test_x='test -x'
28828 ## ----------------------------------- ##
28830 ## ----------------------------------- ##
28848 on `(hostname || uname -n) 2>/dev/null | sed 1q`
28878 -h, --help print this help, then exit
28879 -V, --version print version number and configuration settings, then exit
28880 --config print configuration, then exit
28881 -q, --quiet, --silent
28883 -d, --debug don't remove temporary files
28884 --recheck update $as_me by reconfiguring in the same conditions
28885 --file=FILE[:TEMPLATE]
28887 --header=FILE[:TEMPLATE]
28921 test -n "\$AWK" || AWK=awk
28930 --*=?*)
28935 --*=)
28949 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
28951 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
28953 --config | --confi | --conf | --con | --co | --c )
28955 --debug | --debu | --deb | --de | --d | -d )
28957 --file | --fil | --fi | --f )
28965 --header | --heade | --head | --hea )
28972 --he | --h)
28973 # Conflict between --help and --header
28975 Try \`$0 --help' for more information.";;
28976 --help | --hel | -h )
28978 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
28979 | -silent | --silent | --silen | --sile | --sil | --si | --s)
28983 -*) as_fn_error $? "unrecognized option: \`$1'
28984 Try \`$0 --help' for more information." ;;
28997 ac_configure_extra_args="$ac_configure_extra_args --silent"
29003 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29016 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29025 # INIT-COMMANDS
29027 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
29030 # The HP-UX ksh and POSIX shell print the target directory to stdout
29264 # Double-quote double-evaled strings.
29287 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
29299 if test -n "\${ZSH_VERSION+set}"; then
29357 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
29364 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
29365 test -d "$tmp"
29368 tmp=./conf$$-$RANDOM
29376 if test -n "$CONFIG_FILES"; then
29403 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
29409 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
29418 rm -f conf$$subs.sh
29423 sed -n '
29466 rm -f conf$$subs.awk
29529 fi # test -n "$CONFIG_FILES"
29534 if test -n "$CONFIG_HEADERS"; then
29540 # here-document in config.status, that substitutes the proper values into
29547 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
29548 if test -z "$ac_tt"; then
29562 sed -n '
29617 prefix = substr(line, 1, index(line, defundef) - 1)
29637 fi # test -n "$CONFIG_HEADERS"
29650 :[FH]-) ac_tag=-:-;;
29668 -) ac_f="$ac_tmp/stdin";;
29670 # (if the path is not absolute). The absolute path cannot be DOS-style,
29672 test -f "$ac_f" ||
29675 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
29689 if test x"$ac_file" != x-; then
29691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
29703 *:-:* | *:-) cat >"$ac_tmp/stdin" \
29709 ac_dir=`$as_dirname -- "$ac_file" ||
29799 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
29802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
29803 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
29825 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29840 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
29843 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
29844 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
29845 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
29846 "$ac_tmp/out"`; test -z "$ac_out"; } &&
29847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29852 rm -f "$ac_tmp/stdin"
29854 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
29855 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
29863 if test x"$ac_file" != x-; then
29866 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
29870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
29873 rm -f "$ac_file"
29879 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
29880 || as_fn_error $? "could not create -" "$LINENO" 5
29893 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
29915 s/.*/./; q'`/stamp-h$_am_stamp_count
29918 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
29926 # Older Autoconf quotes --file arguments for eval, but not when files
29927 # are listed without --file. Let's play safe and only enable the eval
29945 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
29947 # dependency-tracking related rules and includes.
29950 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
29952 am_dirpart=`$as_dirname -- "$am_mf" ||
29975 am_filepart=`$as_basename -- "$am_mf" ||
29994 && sed -e '/# am--include-marker/d' "$am_filepart" \
29995 | $MAKE -f - am--depfiles" >&5
29997 && sed -e '/# am--include-marker/d' "$am_filepart" \
29998 | $MAKE -f - am--depfiles) >&5 2>&5
30003 if test $am_rc -ne 0; then
30004 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
30008 re-running the configure script with MAKE=\"gmake\" (or whatever is
30009 necessary). You can also try re-running configure with the
30010 '--disable-dependency-tracking' option to at least be able to build
30018 rm -f conftest-deps.mk
30025 if test -n "${ZSH_VERSION+set}"; then
30036 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
30039 # Provide generalized library-building support services.
30076 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
30077 Xsed="\$SED -e 1s/^X//"
30126 # A BSD- or MS-compatible name lister.
30189 # Commands used to install an old-style archive.
30239 # Manifest tool.
30242 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
30245 # Tool to change global to local symbols on Mac OS X.
30248 # Tool to manipulate fat objects and archives on Mac OS X.
30251 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
30254 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
30285 # Is shlibpath searched before the hard-coded library search path?
30292 # The last name is the one that the linker finds with -lNAME
30317 # Compile-time system search path for libraries.
30320 # Detected run-time system search path for libraries.
30347 # Commands used to build an old-style archive.
30368 # Does compiler simultaneously support -c and -o options?
30371 # Whether or not to add -lc for building shared libraries.
30386 # Create an old-style archive from a shared archive.
30389 # Create a temporary old-style archive to link instead of a shared archive.
30414 # Whether we need a single "-rpath" flag with a separated argument.
30427 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30480 # -----------------------------------
30505 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
30506 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
30515 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
30522 \-*) ;;
30526 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
30554 # if finds mixed CR/LF and LF-only lines. Since sed operates in
30558 || (rm -f "$cfgfile"; exit 1)
30560 mv -f "$cfgfile" "$ofile" ||
30561 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
30590 ac_config_status_args="$ac_config_status_args --quiet"
30604 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
30612 if test -n "$ac_prev"; then
30617 -cache-file | --cache-file | --cache-fil | --cache-fi \
30618 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
30620 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
30621 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
30622 | --c=*)
30624 --config-cache | -C)
30626 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
30628 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
30630 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
30632 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
30634 --disable-option-checking)
30644 # Always prepend --prefix to ensure using the same prefix
30646 ac_arg="--prefix=$prefix"
30652 # Pass --silent
30654 ac_sub_configure_args="--silent $ac_sub_configure_args"
30657 # Always prepend --disable-option-checking to silence warnings, since
30658 # different subdirs can have different --enable and --with options.
30659 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
30666 test -d "$srcdir/$ac_dir" || continue
30669 printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
30710 # Metaconfig's "Configure" on case-insensitive file systems.
30711 if test -f "$ac_srcdir/configure.gnu"; then
30713 elif test -f "$ac_srcdir/configure"; then
30716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
30722 if test -n "$ac_sub_configure"; then
30730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
30731 printf "%s\n" "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
30734 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
30741 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
30742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5