Lines Matching +full:int +full:- +full:clock +full:- +full:stable +full:- +full:broken

2 # Guess values for system-dependent variables and create Makefiles.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
14 ## -------------------- ##
16 ## -------------------- ##
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
32 set -o posix ;; #(
46 # Quoting is to prevent editors from complaining about space-tab.
56 # Ensure predictable behavior from utilities with locale-dependent output.
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
111 if test ! -f "$as_myself"; then
118 # into an infinite loop, continuously re-executing ourselves.
124 # Preserve -v and -x to the replacement shell.
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
153 case \`(set -o) 2>/dev/null\` in #(
155 set -o posix ;; #(
181 test -x / || exit 1"
187 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
193 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
225 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
239 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
253 # Preserve -v and -x to the replacement shell.
257 case $- in # ((((
258 *v*x* | *x*v* ) as_opts=-vx ;;
259 *v* ) as_opts=-v ;;
260 *x* ) as_opts=-x ;;
266 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
278 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
288 SHELL=${CONFIG_SHELL-/bin/sh}
294 ## --------------------- ##
296 ## --------------------- ##
298 # ---------------
308 # -----------------------
316 # -----------------
317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # ---------
334 # -------------
340 -*) as_dir=./$as_dir;;
342 test -d "$as_dir" || eval $as_mkdir_p || {
350 as_dir=`$as_dirname -- "$as_dir" ||
373 test -d "$as_dir" && break
375 test -z "$as_dirs" || eval "mkdir $as_dirs"
376 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
382 # -----------------------
386 test -f "$1" && test -x "$1"
389 # ----------------------
408 # ------------------
421 as_val=`expr "$@" || test $? -eq 1`
426 # ---------
435 # ----------------------------------------
441 as_status=$1; test $as_status -eq 0 && as_status=1
443 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
457 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
463 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_me=`$as_basename -- "$0" ||
500 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
501 sed -n '
506 s/[$]LINENO.*/&-/
514 s/-\n.*//
519 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
536 case `echo -n x` in #(((((
537 -n*)
545 ECHO_N='-n';;
548 # For backward compatibility with old third-party macros, we provide
555 rm -f conf$$ conf$$.exe conf$$.file
556 if test -d conf$$.dir; then
557 rm -f conf$$.dir/conf$$.file
559 rm -f conf$$.dir
563 if ln -s conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s='ln -s'
566 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
567 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
568 # In both cases, we have to default to `cp -pR'.
569 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
570 as_ln_s='cp -pR'
574 as_ln_s='cp -pR'
577 as_ln_s='cp -pR'
579 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
582 if mkdir -p . 2>/dev/null; then
583 as_mkdir_p='mkdir -p "$as_dir"'
585 test -d ./-p && rmdir ./-p
589 as_test_x='test -x'
598 SHELL=${CONFIG_SHELL-/bin/sh}
601 test -n "$DJDIR" || exec 7<&0 </dev/null
607 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
1165 if test -n "$ac_prev"; then
1178 --)
1181 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1183 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1186 -build | --build | --buil | --bui | --bu)
1188 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1191 -cache-file | --cache-file | --cache-fil | --cache-fi \
1192 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1194 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1195 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1198 --config-cache | -C)
1201 -datadir | --datadir | --datadi | --datad)
1203 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1206 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1207 | --dataroo | --dataro | --datar)
1209 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1210 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1213 -disable-* | --disable-*)
1214 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1216 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1219 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1224 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1229 -docdir | --docdir | --docdi | --doc | --do)
1231 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1234 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1236 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1239 -enable-* | --enable-*)
1240 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1242 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1245 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1250 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1255 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1256 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1257 | --exec | --exe | --ex)
1259 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1260 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1261 | --exec=* | --exe=* | --ex=*)
1264 -gas | --gas | --ga | --g)
1265 # Obsolete; use --with-gas.
1268 -help | --help | --hel | --he | -h)
1270 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1272 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1275 -host | --host | --hos | --ho)
1277 -host=* | --host=* | --hos=* | --ho=*)
1280 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1282 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1283 | --ht=*)
1286 -includedir | --includedir | --includedi | --included | --include \
1287 | --includ | --inclu | --incl | --inc)
1289 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1290 | --includ=* | --inclu=* | --incl=* | --inc=*)
1293 -infodir | --infodir | --infodi | --infod | --info | --inf)
1295 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1298 -libdir | --libdir | --libdi | --libd)
1300 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1303 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1304 | --libexe | --libex | --libe)
1306 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1307 | --libexe=* | --libex=* | --libe=*)
1310 -localedir | --localedir | --localedi | --localed | --locale)
1312 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1315 -localstatedir | --localstatedir | --localstatedi | --localstated \
1316 | --localstate | --localstat | --localsta | --localst | --locals)
1318 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1319 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1322 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1324 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1327 -nfp | --nfp | --nf)
1328 # Obsolete; use --without-fp.
1331 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1332 | --no-cr | --no-c | -n)
1335 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1336 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1339 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1340 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1341 | --oldin | --oldi | --old | --ol | --o)
1343 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1344 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1345 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1348 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1350 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1353 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1354 | --program-pre | --program-pr | --program-p)
1356 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1357 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1360 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1361 | --program-suf | --program-su | --program-s)
1363 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1364 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1367 -program-transform-name | --program-transform-name \
1368 | --program-transform-nam | --program-transform-na \
1369 | --program-transform-n | --program-transform- \
1370 | --program-transform | --program-transfor \
1371 | --program-transfo | --program-transf \
1372 | --program-trans | --program-tran \
1373 | --progr-tra | --program-tr | --program-t)
1375 -program-transform-name=* | --program-transform-name=* \
1376 | --program-transform-nam=* | --program-transform-na=* \
1377 | --program-transform-n=* | --program-transform-=* \
1378 | --program-transform=* | --program-transfor=* \
1379 | --program-transfo=* | --program-transf=* \
1380 | --program-trans=* | --program-tran=* \
1381 | --progr-tra=* | --program-tr=* | --program-t=*)
1384 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1386 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1389 -psdir | --psdir | --psdi | --psd | --ps)
1391 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1394 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1395 | -silent | --silent | --silen | --sile | --sil)
1398 -runstatedir | --runstatedir | --runstatedi | --runstated \
1399 | --runstate | --runstat | --runsta | --runst | --runs \
1400 | --run | --ru | --r)
1402 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1403 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1404 | --run=* | --ru=* | --r=*)
1407 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1409 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1410 | --sbi=* | --sb=*)
1413 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1414 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1415 | --sharedst | --shareds | --shared | --share | --shar \
1416 | --sha | --sh)
1418 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1419 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1420 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1421 | --sha=* | --sh=*)
1424 -site | --site | --sit)
1426 -site=* | --site=* | --sit=*)
1429 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1431 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1434 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1435 | --syscon | --sysco | --sysc | --sys | --sy)
1437 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1438 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1441 -target | --target | --targe | --targ | --tar | --ta | --t)
1443 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1446 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1449 -version | --version | --versio | --versi | --vers | -V)
1452 -with-* | --with-*)
1453 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1455 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1458 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1463 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1468 -without-* | --without-*)
1469 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1471 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1474 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1479 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1484 --x)
1485 # Obsolete; use --with-x.
1488 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1489 | --x-incl | --x-inc | --x-in | --x-i)
1491 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1492 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1495 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1496 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1498 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1499 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1502 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1503 Try \`$0 --help' for more information"
1510 '' | [0-9]* | *[!_$as_cr_alnum]* )
1518 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1519 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1527 if test -n "$ac_prev"; then
1528 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1532 if test -n "$ac_unrecognized_opts"; then
1558 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1561 # There might be people who depend on the old broken behavior: `$host'
1562 # used to hold the argument of --host etc.
1578 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1583 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1584 ac_ls_di=`ls -di .` &&
1585 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1592 if test -z "$srcdir"; then
1595 ac_confdir=`$as_dirname -- "$as_myself" ||
1619 if test ! -r "$srcdir/$ac_unique_file"; then
1625 if test ! -r "$srcdir/$ac_unique_file"; then
1631 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1639 # mess up M-x gdb in Emacs.
1651 # Report the --help message.
1667 -h, --help display this help and exit
1668 --help=short display options specific to this package
1669 --help=recursive display the short help of all the included packages
1670 -V, --version display version information and exit
1671 -q, --quiet, --silent do not print \`checking ...' messages
1672 --cache-file=FILE cache test results in FILE [disabled]
1673 -C, --config-cache alias for \`--cache-file=config.cache'
1674 -n, --no-create do not create output files
1675 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1678 --prefix=PREFIX install architecture-independent files in PREFIX
1680 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1685 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1686 for instance \`--prefix=\$HOME'.
1691 --bindir=DIR user executables [EPREFIX/bin]
1692 --sbindir=DIR system admin executables [EPREFIX/sbin]
1693 --libexecdir=DIR program executables [EPREFIX/libexec]
1694 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1695 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1696 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1697 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1698 --libdir=DIR object code libraries [EPREFIX/lib]
1699 --includedir=DIR C header files [PREFIX/include]
1700 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1701 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1702 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1703 --infodir=DIR info documentation [DATAROOTDIR/info]
1704 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1705 --mandir=DIR man documentation [DATAROOTDIR/man]
1706 --docdir=DIR documentation root [DATAROOTDIR/doc/ntp]
1707 --htmldir=DIR html documentation [DOCDIR]
1708 --dvidir=DIR dvi documentation [DOCDIR]
1709 --pdfdir=DIR pdf documentation [DOCDIR]
1710 --psdir=DIR ps documentation [DOCDIR]
1716 --program-prefix=PREFIX prepend PREFIX to installed program names
1717 --program-suffix=SUFFIX append SUFFIX to installed program names
1718 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1721 --build=BUILD configure for building on BUILD [guessed]
1722 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1726 if test -n "$ac_init_help"; then
1733 --disable-option-checking ignore unrecognized --enable/--with options
1734 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1735 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1736 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1737 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1738 --enable-silent-rules less verbose build output (undo: "make V=1")
1739 --disable-silent-rules verbose build output (undo: "make V=0")
1740 --enable-build-framework-help
1742 --enable-dependency-tracking
1744 --disable-dependency-tracking
1745 speeds up one-time build
1746 --with-hardenfile=XXX os-specific or "/dev/null"
1747 --with-locfile=XXX os-specific or "legacy"
1748 --enable-shared[=PKGS] build shared libraries [default=no]
1749 --enable-static[=PKGS] build static libraries [default=yes]
1750 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1752 --enable-fast-install[=PKGS]
1754 --with-aix-soname=aix|svr4|both
1757 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1758 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1760 --disable-libtool-lock avoid locking (might break parallel builds)
1761 --disable-nls disable nls support in libopts
1762 --enable-local-libopts Use the supplied libopts tearoff code
1763 --enable-libopts-install
1765 --with-autoopts-config specify the config-info script
1766 --enable-local-libevent Force using the supplied libevent tearoff code
1767 --with-lineeditlibs edit,editline (readline may be specified if desired)
1768 defaults: + yes, - no, s system-specific
1769 --enable-debugging + include ntpd debugging code
1770 --enable-thread-support s use threads (+ if available)
1771 --with-threads with threads [auto]
1772 --with-yielding-select with yielding select [auto]
1773 --enable-c99-snprintf s use replacement printf family
1774 --enable-clockctl s Use /dev/clockctl for non-root clock control
1775 --enable-linuxcaps + Use Linux capabilities for non-root clock control
1776 --enable-solarisprivs + Use Solaris privileges for non-root clock control
1777 --enable-trustedbsd-mac s Use TrustedBSD MAC policy for non-root clock
1779 --enable-signalled-io s Use signalled IO if we can
1780 --with-crypto + =openssl,libcrypto
1781 --with-openssl-libdir + =/something/reasonable
1783 --with-openssl-incdir + =search likely dirs
1785 --enable-verbose-ssl - show crypto lib detection details
1786 --enable-openssl-random + Use SSL lib's secure random numbers
1787 --with-net-snmp-config + =net-snmp-config
1788 --enable-libseccomp EXPERIMENTAL: enable support for libseccomp
1790 --with-stack-limit ? =50 (200 for openbsd) 4k pages
1791 --with-memlock ? =32 (-1 on linux) megabytes
1792 --enable-debug-timing - include processing time debugging code (costs
1794 --enable-dst-minutes =60 minutes per DST adjustment
1795 --enable-ignore-dns-errors
1796 - retry DNS queries on any error
1797 --enable-BANCOMM - Datum/Bancomm bc635/VME interface
1798 --enable-GPSVME - TrueTime GPS receiver/VME interface
1799 --enable-all-clocks + include all suitable non-PARSE clocks:
1800 --enable-ACTS s ACTS modem service
1801 --enable-ARBITER + Arbiter 1088A/B GPS receiver
1802 --enable-ARCRON-MSF + Arcron MSF receiver
1803 --enable-AS2201 + Austron 2200A/2201A GPS receiver
1804 --enable-ATOM s ATOM PPS interface
1805 --enable-CHRONOLOG + Chrono-log K-series WWVB receiver
1806 --enable-CHU + CHU modem/decoder
1807 --enable-AUDIO-CHU s CHU audio/decoder
1808 --enable-DATUM s Datum Programmable Time System
1809 --enable-DUMBCLOCK + Dumb generic hh:mm:ss local clock
1810 --enable-FG + Forum Graphic GPS
1811 --enable-HEATH s Heath GC-1000 WWV/WWVH receiver
1812 --enable-HOPFSERIAL + hopf serial clock device
1813 --enable-HOPFPCI + hopf 6039 PCI board
1814 --enable-HPGPS + HP 58503A GPS receiver
1815 --enable-IRIG s IRIG audio decoder
1816 --enable-JJY + JJY receiver
1817 --enable-JUPITER s Rockwell Jupiter GPS receiver
1818 --enable-LEITCH + Leitch CSD 5300 Master Clock System Driver
1819 --enable-LOCAL-CLOCK + local clock reference
1820 --enable-MX4200 s Magnavox MX4200 GPS receiver
1821 --enable-NEOCLOCK4X + NeoClock4X DCF77 / TDF receiver
1822 --enable-NMEA + NMEA GPS receiver
1823 --enable-GPSD + GPSD JSON receiver
1824 --enable-ONCORE s Motorola VP/UT Oncore GPS receiver
1825 --enable-PALISADE s Palisade clock
1826 --enable-PCF + Conrad parallel port radio clock
1827 --enable-PST + PST/Traconex 1020 WWV/WWVH receiver
1828 --enable-RIPENCC - RIPENCC specific Trimble driver
1829 --enable-SHM s SHM clock attached thru shared memory
1830 --enable-SPECTRACOM + Spectracom 8170/Netclock/2 WWVB receiver
1831 --enable-TPRO s KSI/Odetics TPRO/S GPS receiver/IRIG interface
1832 --enable-TRUETIME s Kinemetrics/TrueTime receivers
1833 --enable-TT560 - TrueTime 560 IRIG-B decoder
1834 --enable-ULINK + Ultralink WWVB receiver
1835 --enable-TSYNCPCI s Spectracom TSYNC timing board
1836 --enable-WWV s WWV Audio receiver
1837 --enable-ZYFER + Zyfer GPStarplus receiver
1838 --enable-parse-clocks - include all suitable PARSE clocks:
1839 --enable-COMPUTIME s Diem Computime Radio Clock
1840 --enable-DCF7000 s ELV/DCF7000 clock
1841 --enable-HOPF6021 s HOPF 6021 clock
1842 --enable-MEINBERG s Meinberg clocks
1843 --enable-RAWDCF s DCF77 raw time code
1844 --enable-RCC8000 s RCC 8000 clock
1845 --enable-SCHMID s Schmid DCF77 clock
1846 --enable-TRIMTAIP s Trimble GPS receiver/TAIP protocol
1847 --enable-TRIMTSIP s Trimble GPS receiver/TSIP protocol
1848 --enable-WHARTON s WHARTON 400A Series clock
1849 --enable-VARITEXT s VARITEXT clock
1850 --enable-SEL240X s SEL240X clock
1851 --enable-autokey + support NTP Autokey protocol
1852 --enable-kmem s read /dev/kmem for tick and/or tickadj
1853 --enable-accurate-adjtime
1855 --enable-tick=VALUE s force a value for 'tick'
1856 --enable-tickadj=VALUE s force a value for 'tickadj'
1857 --enable-simulator - build/install the NTPD simulator?
1858 --without-sntp - disable building sntp and sntp/tests
1859 --with-ntpsnmpd s Build ntpsnmpd MIB agent?
1860 --enable-slew-always s always slew the time
1861 --enable-step-slew s step and slew the time
1862 --enable-ntpdate-step s if ntpdate should step the time
1863 --enable-hourly-todr-sync
1865 --enable-kernel-fll-bug s if we should avoid a kernel FLL bug
1866 --enable-bug1243-fix + use unmodified autokey session keys
1867 --enable-bug3020-fix + Provide the explicit 127.0.0.0/8 martian filter
1868 --enable-bug3527-fix + provide correct mode7 fudgetime2 behavior
1869 --enable-bug3767-fix + Disable debug assertion on OOB KoD RATE value
1870 --enable-irig-sawtooth s if we should enable the IRIG sawtooth filter
1871 --enable-nist - if we should enable the NIST lockclock scheme
1872 --enable-ntp-signd - Provide support for Samba's signing daemon,
1874 --enable-magicpps + try to auto-instantiate PPS devices on Linux
1875 --enable-ipv6 s use IPv6?
1877 --with-kame - =/usr/local/v6
1878 --enable-getifaddrs + Enable the use of getifaddrs() [[yes|no]].
1879 --enable-saveconfig + saveconfig mechanism
1880 --enable-leap-smear - experimental leap smear code
1881 --enable-dynamic-interleave
1882 - dynamic interleave support
1883 --enable-problem-tests + enable tests with undiagnosed problems
1888 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1890 LIBS libraries to pass to the linker, e.g. -l<library>
1891 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1895 Defaults to the first program found out of: `bison -y', `byacc',
1899 default value of `-d' given by some make applications.
1901 User-defined run-time library search path.
1913 # If there are subdirs, report their specific --help.
1915 test -d "$ac_dir" ||
1916 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1954 # Metaconfig's "Configure" on case-insensitive file systems.
1955 if test -f "$ac_srcdir/configure.gnu"; then
1957 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1958 elif test -f "$ac_srcdir/configure"; then
1960 $SHELL "$ac_srcdir/configure" --help=recursive
1968 test -n "$ac_init_help" && exit $ac_status
1981 ## ------------------------ ##
1983 ## ------------------------ ##
1986 # --------------------------
1990 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1991 rm -f conftest.$ac_objext conftest.beam
1997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2001 if test -s conftest.err; then
2002 grep -v '^ *+' conftest.err >conftest.er1
2004 mv -f conftest.er1 conftest.err
2006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2008 test -z "$ac_c_werror_flag" ||
2009 test ! -s conftest.err
2010 } && test -s conftest.$ac_objext
2025 # -------------------------------------------------------
2030 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2048 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2058 # -----------------------
2062 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2063 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2073 if test -s conftest.err; then
2074 grep -v '^ *+' conftest.err >conftest.er1
2076 mv -f conftest.er1 conftest.err
2078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2080 test -z "$ac_c_werror_flag" ||
2081 test ! -s conftest.err
2082 } && test -s conftest$ac_exeext && {
2084 test -x conftest$ac_exeext
2098 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2105 # ----------------------
2110 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2141 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2148 # ----------------------
2152 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2158 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2162 if test -s conftest.err; then
2163 grep -v '^ *+' conftest.err >conftest.er1
2165 mv -f conftest.er1 conftest.err
2167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2169 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2170 test ! -s conftest.err
2186 # ----------------------------------
2190 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2210 Use char because int might match the return type of a GCC
2223 int
2237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2248 # -------------------------------------------
2253 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2264 int
2275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2278 int
2293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2295 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2305 # --------------------------------------------
2306 # Tries to find the compile-time value of EXPR in a program that includes
2311 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2317 int
2320 static int test_array [1 - 2 * !(($2) >= 0)];
2332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2335 int
2338 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2351 if test $ac_lo -le $ac_mid; then
2357 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2363 int
2366 static int test_array [1 - 2 * !(($2) < 0)];
2376 ac_hi=-1 ac_mid=-1
2378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2381 int
2384 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2396 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2397 if test $ac_mid -le $ac_hi; then
2403 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2413 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2417 int
2420 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2444 static long int longval (void) { return $2; }
2445 static unsigned long int ulongval (void) { return $2; }
2448 int
2457 long int i = longval ();
2464 unsigned long int i = ulongval ();
2483 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2485 rm -f conftest.val
2493 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
2494 # ------------------------------------------------------------------
2496 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
2499 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2507 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2513 int
2534 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2546 # ----------------------------------------------------
2551 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2561 int
2575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2578 int
2594 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2596 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2637 ## --------- ##
2639 ## --------- ##
2641 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2642 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2643 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2644 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2645 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2647 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2648 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2651 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2678 ## ----------- ##
2680 ## ----------- ##
2686 # Strip out --no-create and --no-recursion so they do not pile up.
2687 # Strip out --silent because we don't want to record it for future runs.
2688 # Also quote any args containing shell meta-characters.
2689 # Make two passes to allow for proper duplicate-argument suppression.
2699 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2700 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2701 | -silent | --silent | --silen | --sile | --sil)
2714 *=* | --config-cache | -C | -disable-* | --disable-* \
2715 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2716 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2717 | -with-* | --with-* | -without-* | --without-* | --x)
2722 -* ) ac_must_keep_next=true ;;
2745 printf "%s\n" "## ---------------- ##
2747 ## ---------------- ##"
2751 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2756 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2769 sed -n \
2774 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2781 printf "%s\n" "## ----------------- ##
2783 ## ----------------- ##"
2795 if test -n "$ac_subst_files"; then
2796 printf "%s\n" "## ------------------- ##
2798 ## ------------------- ##"
2811 if test -s confdefs.h; then
2812 printf "%s\n" "## ----------- ##
2814 ## ----------- ##"
2823 rm -f core *.core core.conftest.* &&
2824 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2833 rm -f -r conftest* confdefs.h
2854 if test -n "$CONFIG_SITE"; then
2870 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2875 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2882 if test -r "$cache_file"; then
2885 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2912 struct buf { int x; };
2913 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2916 int i;
2920 static char *f (char * (*g) (char **, int), char **p, ...)
2925 s = g (p, va_arg (v,int));
2930 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2933 as an "x". The following induces an error, until -std is added to get
2936 that is true only with -std. */
2937 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2939 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2942 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2944 int test (int i, double x);
2945 struct s1 {int (*f) (int a);};
2946 struct s2 {int (*f) (double a);};
2947 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2948 int, int);'
2963 extern int puts (const char *);
2964 extern int printf (const char *, ...);
2965 extern int dprintf (int, const char *, ...);
2977 int x = 1234;
2978 int y = 5678;
2990 #error "your preprocessor is broken"
2994 #error "your preprocessor is broken"
2996 static long long int bignum = -9223372036854775807LL;
2997 static unsigned long long int ubignum = BIG64;
3001 int datasize;
3006 int number;
3013 static inline int
3016 // See if C++-style comments work.
3019 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3034 int number = 0;
3044 case '\''d'\'': // int
3045 number = va_arg (args_copy, int);
3079 ia->datasize = 10;
3080 for (int i = 0; i < ia->datasize; ++i)
3081 ia->data[i] = i * 1.234;
3092 int dynamic_array[ni.number];
3094 dynamic_array[ni.number - 1] = 543;
3098 || dynamic_array[ni.number - 1] != 543);
3112 char _Alignas (0) _Alignas (int) aligned_as_int;
3117 int_alignment = _Alignof (int),
3118 int_array_alignment = _Alignof (int[100]),
3121 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3124 int _Noreturn does_not_return (void) { for (;;) continue; }
3129 int x;
3130 _Static_assert (sizeof (int) <= sizeof (long int),
3132 long int y;
3135 // Check UTF-8 literals.
3141 typedef long int *long_ptr;
3144 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3148 struct { int i; int j; };
3149 struct { int k; long int l; } w;
3151 int m;
3170 int
3171 main (int argc, char **argv)
3173 int ok = 0;
3185 int
3186 main (int argc, char **argv)
3188 int ok = 0;
3198 int
3199 main (int argc, char **argv)
3201 int ok = 0;
3225 ac_aux_files="ltmain.sh ar-lib compile config.guess config.sub missing install-sh"
3228 ac_aux_dir_candidates="${srcdir}/sntp/libevent/build-aux"
3231 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3237 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3255 # As a special case, if "install-sh" is required, that requirement
3256 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3258 if test x"$ac_aux" = x"install-sh"
3260 if test -f "${as_dir}install-sh"; then
3261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3262 ac_install_sh="${as_dir}install-sh -c"
3263 elif test -f "${as_dir}install.sh"; then
3264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3265 ac_install_sh="${as_dir}install.sh -c"
3266 elif test -f "${as_dir}shtool"; then
3267 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3268 ac_install_sh="${as_dir}shtool install -c"
3272 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3278 if test -f "${as_dir}${ac_aux}"; then
3279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3311 if test -f "${ac_aux_dir}config.guess"; then
3314 if test -f "${ac_aux_dir}config.sub"; then
3317 if test -f "$ac_aux_dir/configure"; then
3331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3376 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3379 ## -------------------- ##
3381 ## -------------------- ##
3385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3416 # safe choice is to bump all on any cache-invalidating change.
3418 # In order to avoid the risk of version stamp collision between -stable
3419 # and -dev branches, do not simply increment the version, instead use
3420 # the date YYYYMMDD optionally with -HHMM if there is more than one
3447 # empty as it is noisy. Differentiate a newly-created
3472 c_version="${ntp_cv_main_cache_version:-(no version found)}"
3485 sed -n -e 's/=.*$//' \
3486 -e '/_cv_/p'
3496 sed -n -e 's/=.*$//' \
3497 -e '/ntp_cv_.*_cache_version/d' \
3498 -e '/_cv_/p'
3507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $cache_file saved by another version, ignored." >&5
3509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: configure script cache version: $ntp_configure_cache_version" >&5
3511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $cache_file version: $c_version" >&5
3533 # so one script is as good as another. But avoid the broken or
3540 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3547 printf %s "checking for a BSD-compatible install... " >&6; }
3548 if test -z "$INSTALL"; then
3581 # program-specific install script used by HP pwplus--don't use.
3584 rm -rf conftest.one conftest.two conftest.dir
3588 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
3589 test -s conftest.one && test -s conftest.two &&
3590 test -s conftest.dir/conftest.one &&
3591 test -s conftest.dir/conftest.two
3593 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
3606 rm -rf conftest.one conftest.two conftest.dir
3619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3622 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3624 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3626 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3628 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3646 # arguments. Must try -L first in case configure is actually a
3654 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3656 # -L didn't work.
3657 set X `ls -t "$srcdir/configure" conftest.file`
3662 # If neither matched, then we have a broken ls. This can happen
3664 # broken ls alias from the environment. This has actually
3666 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3669 if test "$2" = conftest.file || test $am_try -eq 2; then
3683 Check your system clock" "$LINENO" 5
3685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3695 rm -f conftest.file
3716 if eval "$MISSING --is-lightweight"; then
3720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3727 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3729 install_sh="\${SHELL} $am_aux_dir/install-sh"
3734 # run "make install-strip". However 'strip' might not be the right
3735 # tool to use in cross-compilation environments, therefore Automake
3738 if test -n "$ac_tool_prefix"; then
3741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3747 if test -n "$STRIP"; then
3762 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3772 if test -n "$STRIP"; then
3773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 if test -z "$ac_cv_prog_STRIP"; then
3786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3792 if test -n "$ac_ct_STRIP"; then
3807 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3817 if test -n "$ac_ct_STRIP"; then
3818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3841 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
3845 printf %s "checking for a race-free mkdir -p... " >&6; }
3846 if test -z "$MKDIR_P"; then
3863 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
3877 test -d ./--version && rmdir ./--version
3879 MKDIR_P="$ac_cv_path_mkdir -p"
3885 MKDIR_P="$ac_install_sh -d"
3888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3901 if test -n "$AWK"; then
3916 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3926 if test -n "$AWK"; then
3927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3935 test -n "$AWK" && break
3938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3939 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3940 set x ${MAKE-make}
3941 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3952 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3958 rm -f conftest.make
3961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 SET_MAKE="MAKE=${MAKE-make}"
3970 rm -rf .tst 2>/dev/null
3972 if test -d .tst; then
3979 # Check whether --enable-silent-rules was given.
3990 am_make=${MAKE-make}
3991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4003 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4021 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4022 # is not polluted with repeated "-I."
4023 am__isrc=' -I$(srcdir)'
4025 if test -f $srcdir/config.status; then
4031 if test -z "$CYGPATH_W"; then
4032 if (cygpath --version) >/dev/null 2>/dev/null; then
4033 CYGPATH_W='cygpath -w'
4052 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4055 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4058 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4061 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4064 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4068 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4069 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4075 # in the wild :-( We should find a proper way to deprecate it ...
4076 AMTAR='$${TAR-tar}'
4082 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4089 if test -z "$CTAGS"; then
4093 if test -z "$ETAGS"; then
4097 if test -z "$CSCOPE"; then
4103 # POSIX will say in a future version that running "rm -f" with no argument
4111 if rm -f && rm -fr && rm -rf; then : OK; else
4116 on the command line, even when the '-f' option is present. This is contrary
4120 Please tell bug-automake@gnu.org about your system, including the value
4138 to "yes", and re-run configure.
4146 # Check whether --enable-silent-rules was given.
4157 am_make=${MAKE-make}
4158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4170 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4212 *-*-*) ;;
4216 ac_save_IFS=$IFS; IFS='-'
4226 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4246 *-*-*) ;;
4250 ac_save_IFS=$IFS; IFS='-'
4260 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we should enable build framework help" >&5
4271 # Check whether --enable-build-framework-help was given.
4285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
4307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4308 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4322 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4323 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4343 rm -f confinc.* confmf.*
4344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4347 # Check whether --enable-dependency-tracking was given.
4369 *-*-freebsd1?.*)
4382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4385 if test -n "$ac_tool_prefix"; then
4390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4396 if test -n "$CC"; then
4411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4421 if test -n "$CC"; then
4422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4430 test -n "$CC" && break
4433 if test -z "$CC"; then
4439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4445 if test -n "$ac_ct_CC"; then
4460 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4470 if test -n "$ac_ct_CC"; then
4471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4479 test -n "$ac_ct_CC" && break
4487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4496 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4505 for ac_option in --version -v -V -qversion -version; do
4511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4515 if test -s conftest.err; then
4521 rm -f conftest.er1 conftest.err
4522 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4529 int
4539 # Try to create an executable without -o first, disregard a.out.
4540 # It will help us diagnose broken compilers, and finding out an intuition
4542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4544 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4557 rm -f $ac_rmfiles
4564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4568 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4571 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4574 # so that the user can short-circuit this test for compilers unknown to
4578 test -f "$ac_file" || continue
4592 # safe: cross compilers may not add the suffix if given an `-o'
4606 if test -z "$ac_file"
4608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4613 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4627 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4648 test -f "$ac_file" || continue
4657 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4662 rm -f conftest conftest$ac_cv_exeext
4663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4666 rm -f conftest.$ac_ext
4669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4672 int
4684 # the compiler is broken, or we cross compile.
4685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4715 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4718 If you meant to cross compile, use \`--host'.
4723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4726 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4737 int
4745 rm -f conftest.o conftest.obj
4751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4759 test -f "$ac_file" || continue;
4770 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4775 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 int
4807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4823 printf %s "checking whether $CC accepts -g... " >&6; }
4831 CFLAGS="-g"
4832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4835 int
4848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4851 int
4864 CFLAGS="-g"
4865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4868 int
4880 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4884 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4893 CFLAGS="-g -O2"
4895 CFLAGS="-g"
4899 CFLAGS="-O2"
4907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4919 for ac_arg in '' -std=gnu11
4926 rm -f core conftest.err conftest.$ac_objext conftest.beam
4929 rm -f conftest.$ac_ext
4935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4965 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4972 rm -f core conftest.err conftest.$ac_objext conftest.beam
4975 rm -f conftest.$ac_ext
4981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5011 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5018 rm -f core conftest.err conftest.$ac_objext conftest.beam
5021 rm -f conftest.$ac_ext
5027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5057 printf %s "checking whether $CC understands -c and -o together... " >&6; }
5062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5065 int
5075 # compilers refuse to overwrite an existing .o file with -o,
5079 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5080 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5084 && test -f conftest2.$ac_objext; then
5091 rm -f core conftest*
5094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5100 # A longer-term fix would be to have automake use am__CC in this case,
5106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5119 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5122 # instance it was reported that on HP-UX the gcc test will end up
5123 # making a dummy file named 'D' -- because '-MD' means "put the output
5125 rm -rf conftest.dir
5133 # both Tru64's cc and ICC support -MD to output dependencies as a
5141 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5145 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5165 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5167 # handle '-M -o', and we need to detect this. Also, some Intel
5169 am__obj=sub/conftest.${OBJEXT-o}
5170 am__minus_obj="-o $am__obj"
5177 # After this tag, mechanisms are not by side-effect, so they'll
5186 # This compiler won't grok '-c -o', but also, the minuso test has
5189 am__obj=conftest.${OBJEXT-o}
5197 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5202 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5204 # or remarks (even with -Werror). So we grep stderr for any message
5206 # When given -MP, icc 7.0 and 7.1 complain thusly:
5207 # icc: Command line warning: ignoring option '-M'; no argument required
5209 # icc: Command line remark: option '-MP' not supported
5219 rm -rf conftest.dir
5225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5290 int
5304 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
5318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5323 int
5335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5341 int
5353 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5355 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
5432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ANSI C89/ISO C90 is the minimum to compile NTP
5439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC can handle #warning" >&5
5445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5448 int
5463 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_cpp_warning" >&5
5475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports __attribute__((...))" >&5
5481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5484 int
5500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_cc_attribute" >&5
5516 CFLAGS="$SAVED_CFLAGS -Wstrict-overflow"
5517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC can handle -Wstrict-overflow" >&5
5518 printf %s "checking if $CC can handle -Wstrict-overflow... " >&6; }
5523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5526 int
5541 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_gcc_Wstrict_overflow" >&5
5550 CFLAGS="$SAVED_CFLAGS -Winit-self"
5551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC can handle -Winit-self" >&5
5552 printf %s "checking if $CC can handle -Winit-self... " >&6; }
5558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5561 int
5576 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_gcc_Winit_self" >&5
5587 # This causes a bunch of distracting warnings due to -Wformat.
5589 CFLAGS="$SAVED_CFLAGS -Wno-format -Wno-format-security"
5590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC can handle -Wno-format -Wno-format-security" >&5
5591 printf %s "checking if $CC can handle -Wno-format -Wno-format-security... " >&6; }
5597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5600 int
5615 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_gcc_Wno_format" >&5
5625 CC_NOFORMAT="-Wno-format -Wno-format-security"
5626 CFLAGS="$SAVED_CFLAGS -Wformat -Wno-format-truncation -Werror"
5627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC can handle -Wformat -Wno-format-truncation" >&5
5628 printf %s "checking if $CC can handle -Wformat -Wno-format-truncation... " >&6; }
5633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5636 int
5651 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_gcc_Wno_format_truncation" >&5
5665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if linker supports omitting unused code and data" >&5
5672 # NetBSD will link but likely not run with --gc-sections
5675 # --gc-sections causes attempt to load as linux elf, with
5683 CFLAGS="$CFLAGS -Wl,--gc-sections"
5684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5690 int
5697 int read_success_once;
5723 if test "X$cross_compiling" = "Xyes" || grep gc-sections conftest.err ; then
5734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_gc_sections_runs" >&5
5745 LDADD_LIBNTP="-Wl,--gc-sections"
5746 CFLAGS_NTP="$CFLAGS_NTP -ffunction-sections -fdata-sections"
5752 CFLAGS_NTP="$CFLAGS_NTP -Wall"
5753 CFLAGS_NTP="$CFLAGS_NTP -Wcast-align"
5754 CFLAGS_NTP="$CFLAGS_NTP -Wcast-qual"
5755 # CFLAGS_NTP="$CFLAGS_NTP -Wconversion"
5756 # CFLAGS_NTP="$CFLAGS_NTP -Werror"
5757 # CFLAGS_NTP="$CFLAGS_NTP -Wextra"
5758 # CFLAGS_NTP="$CFLAGS_NTP -Wfloat-equal"
5759 CFLAGS_NTP="$CFLAGS_NTP -Wmissing-prototypes"
5760 CFLAGS_NTP="$CFLAGS_NTP -Wpointer-arith"
5761 CFLAGS_NTP="$CFLAGS_NTP -Wshadow"
5762 # CFLAGS_NTP="$CFLAGS_NTP -Wtraditional"
5763 # CFLAGS_NTP="$CFLAGS_NTP -Wwrite-strings"
5766 CFLAGS_NTP="$CFLAGS_NTP -Winit-self"
5770 CFLAGS_NTP="$CFLAGS_NTP -Wstrict-overflow"
5774 CFLAGS_NTP="$CFLAGS_NTP -Wno-format-truncation"
5776 # -W[no-]strict-prototypes might be added by NTP_OPENSSL
5780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking additional compiler flags" >&5
5789 aix[1-3]*)
5791 aix4.[0-2]*)
5793 ntp_os_cflags="-D_XOPEN_EXTENDED_SOURCE"
5797 ntp_os_cflags="-DHAVE_BAD_HEADERS -D_XOPEN_EXTENDED_SOURCE"
5798 ntp_os_cflags="${ntp_os_cflags} -D_USE_IRS -D_MSGQSUPPORT"
5807 ntp_os_cflags="-DHAVE_BAD_HEADERS -D_XOPEN_SOURCE=600"
5808 ntp_os_cflags="${ntp_os_cflags} -D_USE_IRS"
5811 ntp_os_cflags="-DSYS_AMIGA"
5814 ntp_os_cflags="-D_P1003_1B_VISIBLE"
5816 hpux10.*) # at least for hppa2.0-hp-hpux10.20
5821 # use Ansi compiler on HPUX, and some -Wp magic
5822 ntp_os_cflags="-Ae -Wp,-H18816"
5825 ntp_os_cflags="${ntp_os_cflags} -D_HPUX_SOURCE -D__STDC_VERSION__=199901L"
5833 ntp_os_cflags="-Ae"
5835 ntp_os_cflags="${ntp_os_cflags} -D_HPUX_SOURCE -D__STDC_VERSION__=199901L"
5840 # do not use 64-bit compiler
5841 ntp_os_cflags="-n32 -mips3 -Wl,-woff,84"
5845 ntp_os_cflags="-posix"
5847 solaris1*|solaris2.[0-5]|solaris2.5.*)
5849 sunos[34]*|sunos5.[0-5]|sunos5.5.*)
5852 # turn on 64-bit file offset interface
5853 ntp_os_cflags="-D_LARGEFILE64_SOURCE"
5865 ntp_os_cflags="-DSYS_VXWORKS"
5878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_os_cflags_msg" >&5
5882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking additional linker flags" >&5
5895 ntp_os_ldflags="-Wl,+allowdups"
5910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_os_ldflags_msg" >&5
5915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5928 typedef int dummy;
5934 # Check for potential -arch flags. It is not universal unless
5935 # there are at least two -arch flags with different values.
5939 if test -n "$ac_prev"; then
5942 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
5951 elif test "x$ac_word" = "x-arch"; then
5956 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5964 int
5980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5985 int
6002 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6012 int
6026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6030 int
6047 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6049 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6058 unsigned short int ascii_mm[] =
6060 unsigned short int ascii_ii[] =
6062 int use_ascii (int i) {
6065 unsigned short int ebcdic_ii[] =
6067 unsigned short int ebcdic_mm[] =
6069 int use_ebcdic (int i) {
6072 extern int foo;
6074 int
6096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6101 int
6108 long int l;
6109 char c[sizeof (long int)];
6112 return u.c[sizeof (long int) - 1] == 1;
6124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
6154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6157 int
6161 volatile int x;
6162 int * volatile y = (int *) 0;
6174 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
6186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6192 if test -n "$CPP" && test -d "$CPP"; then
6195 if test -z "$CPP"; then
6201 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
6207 # with a fresh cross-compiler works.
6208 # On the NeXT, cc -E runs the code through the compiler's parser,
6210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6219 # Broken: fails on valid input.
6222 rm -f conftest.err conftest.i conftest.$ac_ext
6226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6232 # Broken: success on invalid input.
6239 rm -f conftest.err conftest.i conftest.$ac_ext
6243 rm -f conftest.i conftest.err conftest.$ac_ext
6257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6263 # with a fresh cross-compiler works.
6264 # On the NeXT, cc -E runs the code through the compiler's parser,
6266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6275 # Broken: fails on valid input.
6278 rm -f conftest.err conftest.i conftest.$ac_ext
6282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6288 # Broken: success on invalid input.
6295 rm -f conftest.err conftest.i conftest.$ac_ext
6299 rm -f conftest.i conftest.err conftest.$ac_ext
6304 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6319 for ac_prog in 'bison -y' byacc
6323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6329 if test -n "$YACC"; then
6344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6354 if test -n "$YACC"; then
6355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
6358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6363 test -n "$YACC" && break
6365 test -n "$YACC" || YACC="yacc"
6369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports C99 structure initialization" >&5
6375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6383 struct foo_s {int i1; int i2;};
6384 int main() { struct foo_s foo[] = { { .i1 = 1, .i2 = 1 }, { .i1 = 2, .i2 = 2 }, { .i1 = 0, .i2 = 0 } }; }
6389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6398 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compile/link hardening flags" >&5
6414 # Check whether --with-hardenfile was given.
6429 scripts/genHardFlags -d "$SENTINEL_DIR" \
6432 scripts/genHardFlags -d "$SENTINEL_DIR" -f "$with_hardenfile" \
6440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: in file $GENHARDFLAGFILE" >&5
6445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed." >&5
6458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking to see if we need ylwrap VPATH hack" >&5
6461 case "$srcdir::${force_ntp_vpath_hack-no}" in
6468 case "`${MAKE-make} -v -f /dev/null 2>/dev/null | grep 'GNU Make'`" in
6473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_vpath_hack" >&5
6486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for install dir and man conventions" >&5
6490 # Check whether --with-locfile was given.
6505 scripts/genLocInfo -d "$SENTINEL_DIR" \
6508 scripts/genLocInfo -d "$SENTINEL_DIR" -f "$with_locfile" \
6516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: in file $GENLOCINFOFILE" >&5
6521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed." >&5
6577 if test -z "$NTPSWEEP_NI" ; then
6625 if test -z "$UPDATE_LEAP_NI" ; then
6636 if test -n "$ac_tool_prefix"; then
6637 for ac_prog in ar lib "link -lib"
6641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6647 if test -n "$AR"; then
6662 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6672 if test -n "$AR"; then
6673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6681 test -n "$AR" && break
6684 if test -z "$AR"; then
6686 for ac_prog in ar lib "link -lib"
6690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6696 if test -n "$ac_ct_AR"; then
6711 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6721 if test -n "$ac_ct_AR"; then
6722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6730 test -n "$ac_ct_AR" && break
6738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
6756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6763 int some_variable = 0;
6768 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6773 if test "$ac_status" -eq 0; then
6776 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
6777 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6782 if test "$ac_status" -eq 0; then
6788 rm -f conftest.lib libconftest.a
6791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
6806 # Microsoft lib, so override with the ar-lib wrapper script.
6809 # A longer-term fix would be to have automake use am__AR in this case,
6810 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
6812 AR="$am_aux_dir/ar-lib $AR"
6821 # It's a small library - we might as well use a static version of it.
6824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6849 # double-quoted strings.
6869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6872 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6873 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6874 ECHO='print -r --'
6889 # Invoke $ECHO with all args, space-separated.
6896 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6898 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6899 printf "%s\n" "print -r" >&6; } ;;
6900 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6929 if test -z "$SED"; then
6931 # Loop through the user's path and test for each of PROGNAME-LIST
6948 case `"$ac_path_SED" --version 2>&1` in
6960 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6963 if test $ac_count -gt ${ac_path_SED_max-0}; then
6969 test $ac_count -gt 10 && break
6971 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6979 if test -z "$ac_cv_path_SED"; then
6987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6990 rm -f conftest.sed
6992 test -z "$SED" && SED=sed
6993 Xsed="$SED -e 1s/^X//"
7005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7006 printf %s "checking for grep that handles long lines and -e... " >&6; }
7011 if test -z "$GREP"; then
7013 # Loop through the user's path and test for each of PROGNAME-LIST
7030 case `"$ac_path_GREP" --version 2>&1` in
7042 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7045 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7051 test $ac_count -gt 10 && break
7053 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7061 if test -z "$ac_cv_path_GREP"; then
7069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7080 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7081 then ac_cv_path_EGREP="$GREP -E"
7083 if test -z "$EGREP"; then
7085 # Loop through the user's path and test for each of PROGNAME-LIST
7102 case `"$ac_path_EGREP" --version 2>&1` in
7117 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7123 test $ac_count -gt 10 && break
7125 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7133 if test -z "$ac_cv_path_EGREP"; then
7142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7153 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7154 then ac_cv_path_FGREP="$GREP -F"
7156 if test -z "$FGREP"; then
7158 # Loop through the user's path and test for each of PROGNAME-LIST
7175 case `"$ac_path_FGREP" --version 2>&1` in
7190 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7196 test $ac_count -gt 10 && break
7198 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7206 if test -z "$ac_cv_path_FGREP"; then
7215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7220 test -z "$GREP" && GREP=grep
7240 # Check whether --with-gnu-ld was given.
7250 # Check if gcc -print-prog-name=ld gives a path.
7251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7254 *-*-mingw*)
7256 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7258 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7269 test -z "$LD" && LD=$ac_prog
7281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7285 printf %s "checking for non-GNU ld... " >&6; }
7291 if test -z "$LD"; then
7295 test -z "$ac_dir" && ac_dir=.
7296 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7298 # Check to see if the program is GNU ld. I'd rather use --version,
7299 # but apparently some variants of GNU ld only accept -v.
7300 # Break only if it was the GNU/non-GNU ld that we prefer.
7301 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7318 if test -n "$LD"; then
7319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7325 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7332 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7333 case `$LD -v 2>&1 </dev/null` in
7342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7355 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7360 if test -n "$NM"; then
7365 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7372 test -z "$ac_dir" && ac_dir=.
7374 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
7375 # Check to see if the nm accepts a BSD-compat flag.
7376 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
7384 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
7386 lt_cv_path_NM="$tmp_nm -B"
7390 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7392 lt_cv_path_NM="$tmp_nm -p"
7409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7415 if test -n "$DUMPBIN"; then :
7418 if test -n "$ac_tool_prefix"; then
7419 for ac_prog in dumpbin "link -dump"
7423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7429 if test -n "$DUMPBIN"; then
7444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7454 if test -n "$DUMPBIN"; then
7455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7463 test -n "$DUMPBIN" && break
7466 if test -z "$DUMPBIN"; then
7468 for ac_prog in dumpbin "link -dump"
7472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7478 if test -n "$ac_ct_DUMPBIN"; then
7493 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7503 if test -n "$ac_ct_DUMPBIN"; then
7504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 test -n "$ac_ct_DUMPBIN" && break
7520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7528 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
7530 DUMPBIN="$DUMPBIN -symbols -headers"
7542 test -z "$NM" && NM=nm
7549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7556 echo "int some_variable = 0;" > conftest.$ac_ext
7568 rm -f conftest*
7570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7574 printf %s "checking whether ln -s works... " >&6; }
7576 if test "$LN_S" = "ln -s"; then
7577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7606 # Libtool will interpret -1 as no limit whatsoever
7607 lt_cv_sys_max_cmd_len=-1;
7611 # On Win9x/ME, this test blows up -- it succeeds, but takes
7613 # Worse, since 9x/ME are not pre-emptively multitasking,
7634 if test -x /sbin/sysctl; then
7635 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7636 elif test -x /usr/sbin/sysctl; then
7637 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7663 if test -x /sbin/sysconfig; then
7664 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7665 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7674 if test -n "$kargmax"; then
7682 if test -n "$lt_cv_sys_max_cmd_len" && \
7692 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7693 # If test is not a shell built-in, we'll probably end up computing a
7716 if test -n "$lt_cv_sys_max_cmd_len"; then
7717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
7730 : ${CP="cp -f"}
7731 : ${MV="mv -f"}
7732 : ${RM="rm -f"}
7765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7772 *-*-mingw* )
7774 *-*-mingw* ) # actually msys
7777 *-*-cygwin* )
7785 *-*-cygwin* )
7787 *-*-mingw* ) # actually msys
7790 *-*-cygwin* )
7806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7822 *-*-mingw* )
7824 *-*-mingw* ) # actually msys
7834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7847 lt_cv_ld_reload_flag='-r'
7849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7856 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7865 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
7867 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7880 if test -n "$ac_tool_prefix"; then
7883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7889 if test -n "$OBJDUMP"; then
7904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7914 if test -n "$OBJDUMP"; then
7915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7924 if test -z "$ac_cv_prog_OBJDUMP"; then
7928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7934 if test -n "$ac_ct_OBJDUMP"; then
7949 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7959 if test -n "$ac_ct_OBJDUMP"; then
7960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7982 test -z "$OBJDUMP" && OBJDUMP=objdump
7992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8003 # 'none' -- dependencies not supported.
8004 # 'unknown' -- same as none, but documents that we really don't know.
8005 # 'pass_all' -- all dependencies passed with no checks.
8006 # 'test_compile' -- check by making test program.
8007 # 'file_magic [[regex]]' -- check by looking for files in library path
8013 aix[4-9]*)
8022 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8023 lt_cv_file_magic_cmd='/usr/bin/file -L'
8036 # unless we find 'file', for example because we are cross-compiling.
8042 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8043 lt_cv_file_magic_cmd='$OBJDUMP -f'
8049 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8050 lt_cv_file_magic_cmd='$OBJDUMP -f'
8058 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8063 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8081 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8085 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]'
8089 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8095 interix[3-9]*)
8096 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8102 *-32|*"-32 ") libmagic=32-bit;;
8103 *-n32|*"-n32 ") libmagic=N32;;
8104 *-64|*"-64 ") libmagic=64-bit;;
8105 *) libmagic=never-match;;
8111 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8116 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8117 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8124 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8134 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
8135 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8137 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8160 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]'
8168 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8172 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8204 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8212 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8235 if test -n "$ac_tool_prefix"; then
8238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8244 if test -n "$DLLTOOL"; then
8259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8269 if test -n "$DLLTOOL"; then
8270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8279 if test -z "$ac_cv_prog_DLLTOOL"; then
8283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8289 if test -n "$ac_ct_DLLTOOL"; then
8304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8314 if test -n "$ac_ct_DLLTOOL"; then
8315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8337 test -z "$DLLTOOL" && DLLTOOL=dlltool
8348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8360 case `$DLLTOOL --help 2>&1` in
8361 *--identify-strict*)
8376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8379 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8387 if test -n "$ac_tool_prefix"; then
8392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8398 if test -n "$AR"; then
8413 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8423 if test -n "$AR"; then
8424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8432 test -n "$AR" && break
8435 if test -z "$AR"; then
8441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8447 if test -n "$ac_ct_AR"; then
8462 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8472 if test -n "$ac_ct_AR"; then
8473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8481 test -n "$ac_ct_AR" && break
8489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8520 int
8532 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8535 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8537 if test 0 -eq "$ac_status"; then
8539 rm -f conftest.$ac_objext libconftest.a
8540 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8543 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8545 if test 0 -ne "$ac_status"; then
8549 rm -f conftest.* libconftest.a
8552 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8570 if test -n "$ac_tool_prefix"; then
8573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8579 if test -n "$STRIP"; then
8594 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8604 if test -n "$STRIP"; then
8605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8614 if test -z "$ac_cv_prog_STRIP"; then
8618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8624 if test -n "$ac_ct_STRIP"; then
8639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8649 if test -n "$ac_ct_STRIP"; then
8650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8672 test -z "$STRIP" && STRIP=:
8679 if test -n "$ac_tool_prefix"; then
8682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8688 if test -n "$RANLIB"; then
8703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8713 if test -n "$RANLIB"; then
8714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8723 if test -z "$ac_cv_prog_RANLIB"; then
8727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8733 if test -n "$ac_ct_RANLIB"; then
8748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8758 if test -n "$ac_ct_RANLIB"; then
8759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8781 test -z "$RANLIB" && RANLIB=:
8788 # Determine commands to create old-style static archives.
8793 if test -n "$RANLIB"; then
8796 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8851 LTCC=${LTCC-"$CC"}
8854 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8875 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8877 # Define system-specific variables.
8914 case `$NM -V 2>&1` in
8921 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
8923 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
8924 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
8926 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
8927 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
8939 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
8941 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
8942 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
8945 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
8947 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
8948 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
8952 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
8954 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
8955 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
8956 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
8974 # Fake it for dumpbin and say T for any non-static function,
8994 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9001 rm -f conftest*
9012 int main(){nm_test_var='a';nm_test_func();return(0);}
9015 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9018 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9022 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9025 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9026 test $ac_status = 0; } && test -s "$nlist"; then
9029 mv -f "$nlist"T "$nlist"
9031 rm -f "$nlist"T
9041 relocations are performed -- see ld's documentation on pseudo-relocs. */
9056 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9069 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9091 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9094 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9095 test $ac_status = 0; } && test -s conftest$ac_exeext; then
9113 rm -rf conftest* conftst*
9125 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9128 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9139 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9182 # Check whether --with-sysroot was given.
9195 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9199 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
9210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9211 printf "%s\n" "${lt_sysroot:-no}" >&6; }
9217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
9226 if test -z "$lt_DD"; then
9228 # Loop through the user's path and test for each of PROGNAME-LIST
9244 cmp -s conftest.i conftest.out \
9252 if test -z "$ac_cv_path_lt_DD"; then
9259 rm -f conftest.i conftest2.i conftest.out
9261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
9265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
9275 cmp -s conftest.i conftest.out \
9278 rm -f conftest.i conftest2.i conftest.out
9279 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
9281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
9290 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9297 \-*) ;;
9301 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9304 # Check whether --enable-libtool-lock was given.
9315 ia64-*-hpux*)
9318 echo 'int i;' > conftest.$ac_ext
9319 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9325 *ELF-32*)
9328 *ELF-64*)
9333 rm -rf conftest*
9335 *-*-irix6*)
9339 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9346 *32-bit*)
9347 LD="${LD-ld} -melf32bsmip"
9350 LD="${LD-ld} -melf32bmipn32"
9352 *64-bit*)
9353 LD="${LD-ld} -melf64bmip"
9358 *32-bit*)
9359 LD="${LD-ld} -32"
9362 LD="${LD-ld} -n32"
9364 *64-bit*)
9365 LD="${LD-ld} -64"
9370 rm -rf conftest*
9373 mips64*-*linux*)
9377 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9380 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9384 *32-bit*)
9387 *64-bit*)
9404 LD="${LD-ld} -m $emul"
9406 rm -rf conftest*
9409 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
9410 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9414 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
9417 echo 'int i;' > conftest.$ac_ext
9418 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9421 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9424 *32-bit*)
9426 x86_64-*kfreebsd*-gnu)
9427 LD="${LD-ld} -m elf_i386_fbsd"
9429 x86_64-*linux*)
9431 *x86-64*)
9432 LD="${LD-ld} -m elf32_x86_64"
9435 LD="${LD-ld} -m elf_i386"
9439 powerpc64le-*linux*)
9440 LD="${LD-ld} -m elf32lppclinux"
9442 powerpc64-*linux*)
9443 LD="${LD-ld} -m elf32ppclinux"
9445 s390x-*linux*)
9446 LD="${LD-ld} -m elf_s390"
9448 sparc64-*linux*)
9449 LD="${LD-ld} -m elf32_sparc"
9453 *64-bit*)
9455 x86_64-*kfreebsd*-gnu)
9456 LD="${LD-ld} -m elf_x86_64_fbsd"
9458 x86_64-*linux*)
9459 LD="${LD-ld} -m elf_x86_64"
9461 powerpcle-*linux*)
9462 LD="${LD-ld} -m elf64lppc"
9464 powerpc-*linux*)
9465 LD="${LD-ld} -m elf64ppc"
9467 s390*-*linux*|s390*-*tpf*)
9468 LD="${LD-ld} -m elf64_s390"
9470 sparc*-*linux*)
9471 LD="${LD-ld} -m elf64_sparc"
9477 rm -rf conftest*
9480 *-*-sco3.2v5*)
9481 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9483 CFLAGS="$CFLAGS -belf"
9484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9485 printf %s "checking whether the C compiler needs -belf... " >&6; }
9492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9499 int
9513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9525 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9529 *-*solaris*)
9532 echo 'int i;' > conftest.$ac_ext
9533 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9536 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9539 *64-bit*)
9543 i?86-*-solaris*|x86_64-*-solaris*)
9544 LD="${LD-ld} -m elf_x86_64"
9546 sparc*-*-solaris*)
9547 LD="${LD-ld} -m elf64_sparc"
9551 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9552 LD=${LD-ld}_sol2
9556 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9557 LD="${LD-ld} -64"
9564 rm -rf conftest*
9570 if test -n "$ac_tool_prefix"; then
9573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9579 if test -n "$MANIFEST_TOOL"; then
9594 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9604 if test -n "$MANIFEST_TOOL"; then
9605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9614 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9624 if test -n "$ac_ct_MANIFEST_TOOL"; then
9639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9649 if test -n "$ac_ct_MANIFEST_TOOL"; then
9650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9672 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9680 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9681 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9686 rm -f conftest*
9688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9701 if test -n "$ac_tool_prefix"; then
9704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9710 if test -n "$DSYMUTIL"; then
9725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9735 if test -n "$DSYMUTIL"; then
9736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9745 if test -z "$ac_cv_prog_DSYMUTIL"; then
9749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9755 if test -n "$ac_ct_DSYMUTIL"; then
9770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9780 if test -n "$ac_ct_DSYMUTIL"; then
9781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9803 if test -n "$ac_tool_prefix"; then
9806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9812 if test -n "$NMEDIT"; then
9827 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9837 if test -n "$NMEDIT"; then
9838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9847 if test -z "$ac_cv_prog_NMEDIT"; then
9851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9857 if test -n "$ac_ct_NMEDIT"; then
9872 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9882 if test -n "$ac_ct_NMEDIT"; then
9883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9905 if test -n "$ac_tool_prefix"; then
9908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9914 if test -n "$LIPO"; then
9929 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9939 if test -n "$LIPO"; then
9940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9949 if test -z "$ac_cv_prog_LIPO"; then
9953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9959 if test -n "$ac_ct_LIPO"; then
9974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9984 if test -n "$ac_ct_LIPO"; then
9985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10007 if test -n "$ac_tool_prefix"; then
10010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10016 if test -n "$OTOOL"; then
10031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10041 if test -n "$OTOOL"; then
10042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10051 if test -z "$ac_cv_prog_OTOOL"; then
10055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10061 if test -n "$ac_ct_OTOOL"; then
10076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10086 if test -n "$ac_ct_OTOOL"; then
10087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10109 if test -n "$ac_tool_prefix"; then
10112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10118 if test -n "$OTOOL64"; then
10133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10143 if test -n "$OTOOL64"; then
10144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10153 if test -z "$ac_cv_prog_OTOOL64"; then
10157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10163 if test -n "$ac_ct_OTOOL64"; then
10178 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10188 if test -n "$ac_ct_OTOOL64"; then
10189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10238 printf %s "checking for -single_module linker flag... " >&6; }
10244 if test -z "$LT_MULTI_MODULE"; then
10245 # By default we will add the -single_module flag. You can override
10247 # non-empty at configure time, or by adding -multi_module to the
10249 rm -rf libconftest.dylib*
10250 echo "int foo(void){return 1;}" > conftest.c
10251 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10252 -dynamiclib -Wl,-single_module conftest.c" >&5
10253 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10254 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10256 # If there is a non-empty error log, and "single_module"
10258 if test -s conftest.err && $GREP single_module conftest.err; then
10262 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
10267 rm -rf libconftest.dylib*
10268 rm -f conftest.*
10271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10275 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
10283 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10287 int
10301 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10310 printf %s "checking for -force_load linker flag... " >&6; }
10317 int forced_loaded() { return 2;}
10319 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10320 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10326 int main() { return 0;}
10328 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10329 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10331 if test -s conftest.err && $GREP force_load conftest.err; then
10333 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
10338 rm -f conftest.err libconftest.a conftest conftest.c
10339 rm -rf conftest.dSYM
10342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10346 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
10348 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10353 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10354 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10355 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10357 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10359 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10367 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
10369 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
10380 # -----------------------------------
10405 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
10406 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
10427 # Check whether --enable-shared was given.
10430 enableval=$enable_shared; p=${PACKAGE-default}
10467 # Check whether --enable-static was given.
10470 enableval=$enable_static; p=${PACKAGE-default}
10500 # Check whether --with-pic was given.
10503 withval=$with_pic; lt_p=${PACKAGE-default}
10530 # Check whether --enable-fast-install was given.
10533 enableval=$enable_fast_install; p=${PACKAGE-default}
10563 power*-*-aix[5-9]*,yes)
10564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10567 # Check whether --with-aix-soname was given.
10574 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
10589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10595 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10597 if test 64 = "${OBJECT_MODE-32}"; then
10653 test -z "$LN_S" && LN_S="ln -s"
10668 if test -n "${ZSH_VERSION+set}"; then
10672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10678 rm -f .libs 2>/dev/null
10680 if test -d .libs; then
10683 # MS-DOS does not allow filenames that begin with a dot.
10688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10727 test -z "$CC" && CC=cc
10728 test -z "$LTCC" && LTCC=$CC
10729 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10730 test -z "$LD" && LD=ld
10731 test -z "$ac_objext" && ac_objext=o
10738 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10758 test -z "$ac_dir" && ac_dir=.
10759 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10761 if test -n "$file_magic_test_file"; then
10779 *** bug-libtool@gnu.org
10795 if test -n "$MAGIC_CMD"; then
10796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10807 if test -z "$lt_cv_path_MAGIC_CMD"; then
10808 if test -n "$ac_tool_prefix"; then
10809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10825 test -z "$ac_dir" && ac_dir=.
10826 if test -f "$ac_dir/file"; then
10828 if test -n "$file_magic_test_file"; then
10846 *** bug-libtool@gnu.org
10862 if test -n "$MAGIC_CMD"; then
10863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10898 lt_simple_compile_test_code="int some_variable = 0;"
10901 lt_simple_link_test_code='int main(){return(0);}'
10910 LTCC=${LTCC-"$CC"}
10913 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10933 $RM -r conftest*
10940 if test -n "$compiler"; then
10947 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10949 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10953 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10961 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
10968 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10969 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10970 -e 's:$: $lt_compiler_flag:'`
10976 if (exit $ac_status) && test -s "$ac_outfile"; then
10981 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10992 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11010 lt_prog_compiler_wl='-Wl,'
11011 lt_prog_compiler_static='-static'
11018 lt_prog_compiler_static='-Bstatic'
11020 lt_prog_compiler_pic='-fPIC'
11027 lt_prog_compiler_pic='-fPIC'
11031 # adding the '-m68020' flag to GCC prevents building anything better,
11032 # like '-m68040'.
11033 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11045 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11046 # (--disable-auto-import) libraries
11047 lt_prog_compiler_pic='-DDLL_EXPORT'
11050 lt_prog_compiler_static='$wl-static'
11058 lt_prog_compiler_pic='-fno-common'
11063 # The "-static" flag exists, but is broken.
11068 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11069 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11076 lt_prog_compiler_pic='-fPIC'
11081 interix[3-9]*)
11082 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11094 # QNX uses GNU C++, but need to define -shared option too, otherwise
11096 lt_prog_compiler_pic='-fPIC -shared'
11100 if test -d /usr/nec; then
11101 lt_prog_compiler_pic=-Kconform_pic
11106 lt_prog_compiler_pic='-fPIC'
11112 lt_prog_compiler_wl='-Xlinker '
11113 if test -n "$lt_prog_compiler_pic"; then
11114 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11122 lt_prog_compiler_wl='-Wl,'
11125 lt_prog_compiler_static='-Bstatic'
11127 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11134 lt_prog_compiler_pic='-fno-common'
11138 lt_prog_compiler_wl='-Wl,-Wl,,'
11139 lt_prog_compiler_pic='-PIC'
11140 lt_prog_compiler_static='-Bstatic'
11148 lt_prog_compiler_pic='-DDLL_EXPORT'
11151 lt_prog_compiler_static='$wl-static'
11157 lt_prog_compiler_wl='-Wl,'
11158 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11159 # not for PA HP-UX.
11169 lt_prog_compiler_static='$wl-a ${wl}archive'
11173 lt_prog_compiler_wl='-Wl,'
11174 # PIC (with -KPIC) is the default.
11175 lt_prog_compiler_static='-non_shared'
11178 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11180 # old Intel for x86_64, which still supported -KPIC.
11182 lt_prog_compiler_wl='-Wl,'
11183 lt_prog_compiler_pic='-KPIC'
11184 lt_prog_compiler_static='-static'
11187 # ICC 10 doesn't accept -KPIC any more.
11189 lt_prog_compiler_wl='-Wl,'
11190 lt_prog_compiler_pic='-fPIC'
11191 lt_prog_compiler_static='-static'
11195 lt_prog_compiler_wl='-Wl,'
11196 lt_prog_compiler_pic='--shared'
11197 lt_prog_compiler_static='--static'
11201 lt_prog_compiler_wl='-Wl,-Wl,,'
11202 lt_prog_compiler_pic='-PIC'
11203 lt_prog_compiler_static='-Bstatic'
11207 lt_prog_compiler_wl='-Wl,'
11208 lt_prog_compiler_pic='-fPIC'
11209 lt_prog_compiler_static='-static'
11214 lt_prog_compiler_wl='-Wl,'
11215 lt_prog_compiler_pic='-fpic'
11216 lt_prog_compiler_static='-Bstatic'
11219 lt_prog_compiler_wl='-Wl,'
11221 lt_prog_compiler_static='-non_shared'
11225 lt_prog_compiler_wl='-Wl,'
11226 lt_prog_compiler_pic='-qpic'
11227 lt_prog_compiler_static='-qstaticlink'
11230 case `$CC -V 2>&1 | sed 5q` in
11231 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
11233 lt_prog_compiler_pic='-KPIC'
11234 lt_prog_compiler_static='-Bstatic'
11238 lt_prog_compiler_pic='-KPIC'
11239 lt_prog_compiler_static='-Bstatic'
11240 lt_prog_compiler_wl='-Qoption ld '
11244 lt_prog_compiler_pic='-KPIC'
11245 lt_prog_compiler_static='-Bstatic'
11246 lt_prog_compiler_wl='-Wl,'
11249 lt_prog_compiler_wl='-Wl,'
11250 lt_prog_compiler_pic='-fPIC'
11251 lt_prog_compiler_static='-static'
11254 lt_prog_compiler_wl='-Wl,'
11255 lt_prog_compiler_pic='-fpic'
11256 lt_prog_compiler_static='-Bstatic'
11264 lt_prog_compiler_pic='-KPIC'
11265 lt_prog_compiler_static='-Bstatic'
11269 # QNX uses GNU C++, but need to define -shared option too, otherwise
11271 lt_prog_compiler_pic='-fPIC -shared'
11275 lt_prog_compiler_wl='-Wl,'
11277 lt_prog_compiler_static='-non_shared'
11281 lt_prog_compiler_static='-non_shared'
11285 lt_prog_compiler_pic='-KPIC'
11286 lt_prog_compiler_static='-Bstatic'
11289 lt_prog_compiler_wl='-Qoption ld ';;
11291 lt_prog_compiler_wl='-Wl,';;
11296 lt_prog_compiler_wl='-Qoption ld '
11297 lt_prog_compiler_pic='-PIC'
11298 lt_prog_compiler_static='-Bstatic'
11302 lt_prog_compiler_wl='-Wl,'
11303 lt_prog_compiler_pic='-KPIC'
11304 lt_prog_compiler_static='-Bstatic'
11308 if test -d /usr/nec; then
11309 lt_prog_compiler_pic='-Kconform_pic'
11310 lt_prog_compiler_static='-Bstatic'
11315 lt_prog_compiler_wl='-Wl,'
11316 lt_prog_compiler_pic='-KPIC'
11317 lt_prog_compiler_static='-Bstatic'
11321 lt_prog_compiler_wl='-Wl,'
11326 lt_prog_compiler_pic='-pic'
11327 lt_prog_compiler_static='-Bstatic'
11337 # For platforms that do not support PIC, -DPIC is meaningless:
11342 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11361 if test -n "$lt_prog_compiler_pic"; then
11362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11371 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
11378 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11379 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11380 -e 's:$: $lt_compiler_flag:'`
11386 if (exit $ac_status) && test -s "$ac_outfile"; then
11391 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11437 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11440 if test -s conftest.err; then
11452 $RM -r conftest*
11456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11472 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11478 $RM -r conftest 2>/dev/null
11484 lt_compiler_flag="-o out/conftest2.$ac_objext"
11490 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11491 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11492 -e 's:$: $lt_compiler_flag:'`
11498 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11504 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11512 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11515 $RM -r conftest
11519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11528 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11534 $RM -r conftest 2>/dev/null
11540 lt_compiler_flag="-o out/conftest2.$ac_objext"
11546 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11547 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11548 -e 's:$: $lt_compiler_flag:'`
11554 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11560 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11568 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11571 $RM -r conftest
11575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11596 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11635 # include_expsyms should be a list of space-separated symbols to be *always*
11681 case `$LD -v 2>&1` in
11683 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11684 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11704 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11705 export_dynamic_flag_spec='$wl--export-dynamic'
11706 # ancient GNU ld didn't support --whole-archive et. al.
11707 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11708 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11713 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
11715 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11724 aix[3-9]*)
11725 # On AIX/PPC, the GNU linker is very broken
11734 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11745 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11749 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)'
11750 hardcode_libdir_flag_spec='-L$libdir'
11757 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11760 # support --undefined. This deserves some investigation. FIXME
11761 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11770 hardcode_libdir_flag_spec='-L$libdir'
11771 export_dynamic_flag_spec='$wl--export-all-symbols'
11775 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'
11776 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11778 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11779 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11780 # If the export-symbols file already is a .def file, use it as
11782 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11788 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11795 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11800 hardcode_libdir_flag_spec='-L$libdir'
11809 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11810 emximp -o $lib $output_objdir/$libname.def'
11817 prefix_cmds="$prefix_cmds -e 1d";
11819 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11821 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11822 emximp -o $lib $output_objdir/$libname.def'
11823 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11827 interix[3-9]*)
11830 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11831 export_dynamic_flag_spec='$wl-E'
11832 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11836 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11838 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11839 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'
11842 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11844 if test linux-dietlibc = "$host_os"; then
11846 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11849 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11853 tmp_sharedflag='-shared'
11856 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'
11861 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'
11862 tmp_addflag=' $pic_flag -Mnomain' ;;
11864 tmp_addflag=' -i_dynamic' ;;
11866 tmp_addflag=' -i_dynamic -nofor_main' ;;
11868 tmp_addflag=' -nofor_main' ;;
11871 tmp_sharedflag='--shared' ;;
11873 tmp_sharedflag='-Wl,-shared' ;;
11875 tmp_sharedflag='-qmkshrobj'
11878 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'
11882 case `$CC -V 2>&1 | sed 5q` in
11884 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'
11886 tmp_sharedflag='-G' ;;
11888 tmp_sharedflag='-G' ;;
11890 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11894 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11896 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11901 export_dynamic_flag_spec='-rdynamic'
11905 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11906 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11907 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11910 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11912 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11922 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11923 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11926 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11927 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11932 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11944 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11945 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11946 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11953 case `$LD -v 2>&1` in
11954 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11972 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11973 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11974 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11975 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11984 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11991 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11992 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11993 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12012 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'
12014 # are no directories specified by -L.
12016 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
12018 # broken collect2.
12023 aix[4-9]*)
12028 exp_sym_flag='-Bexport'
12031 # If we're using GNU nm, then we don't want the "-C" option.
12032 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
12033 # Without the "-l" option, or with the "-B" option, AIX nm treats
12037 # it in the Import File for the 'aix-soname' feature, so we have
12038 # to replace the "-B" option with "-P" for AIX nm.
12039 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12040 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'
12042 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'
12047 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12050 # depending on the kind of the shared library created -
12061 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12063 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
12069 # With aix-soname=svr4, we create the lib.so.V shared archives only,
12073 LDFLAGS="$LDFLAGS -Wl,-brtl"
12078 exp_sym_flag='-bexport'
12079 no_entry_flag='-bnoentry'
12084 # or program results in "error TOC overflow" add -mminimal-toc to
12086 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12093 file_list_spec='$wl-f,'
12106 # below for broken collect2 doesn't work under 4.3+
12107 collect2name=`$CC -print-prog-name=collect2`
12108 if test -f "$collect2name" &&
12120 hardcode_libdir_flag_spec='-L$libdir'
12125 shared_flag='-shared'
12127 shared_flag="$shared_flag "'$wl-G'
12131 # /with/ Import File - we do not want to mix them.
12132 shared_flag_aix='-shared'
12133 shared_flag_svr4='-shared $wl-G'
12137 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12138 # chokes on -Wl,-G. The following line is correct:
12139 shared_flag='-G'
12142 shared_flag='$wl-G'
12144 shared_flag='$wl-bM:SRE'
12146 shared_flag_aix='$wl-bM:SRE'
12147 shared_flag_svr4='$wl-G'
12151 export_dynamic_flag_spec='$wl-bexpall'
12152 # It seems that -bexpall does not export symbols beginning with
12156 # Warning - without using the other runtime loading flags (-brtl),
12157 # -berok will link without error, but may produce a broken library.
12158 allow_undefined_flag='-berok'
12168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12171 int
12189 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12190 # Check for a 64-bit object if we didn't find anything.
12191 if test -z "$lt_cv_aix_libpath_"; then
12192 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12195 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12197 if test -z "$lt_cv_aix_libpath_"; then
12206 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12207 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
12210 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
12211 allow_undefined_flag="-z nodefs"
12212 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"
12223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12226 int
12244 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12245 # Check for a 64-bit object if we didn't find anything.
12246 if test -z "$lt_cv_aix_libpath_"; then
12247 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12252 if test -z "$lt_cv_aix_libpath_"; then
12261 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12262 # Warning - without using the other run time loading flags,
12263 # -berok will link without error, but may produce a broken library.
12264 no_undefined_flag=' $wl-bernotok'
12265 allow_undefined_flag=' $wl-berok'
12267 # We only use this code for GNU lds that support --whole-archive.
12268 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
12274 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
12275 # -brtl affects multiple linker settings, -berok does not and is overridden later
12276 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
12279 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'
12282 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'
12284 # used by -dlpreopen to get the symbols
12287 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
12296 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12300 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)'
12301 hardcode_libdir_flag_spec='-L$libdir'
12308 export_dynamic_flag_spec=-rdynamic
12328 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
12329 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12333 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
12335 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12341 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12353 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
12354 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12367 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12371 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12385 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\"`'
12398 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
12399 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
12400 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"
12401 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"
12410 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12411 hardcode_libdir_flag_spec='-L$libdir'
12420 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12421 hardcode_libdir_flag_spec='-R$libdir'
12428 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12434 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12436 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12437 hardcode_libdir_flag_spec='-R$libdir'
12444 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'
12446 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'
12455 export_dynamic_flag_spec='$wl-E'
12460 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12462 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12469 export_dynamic_flag_spec='$wl-E'
12480 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12483 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12486 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12492 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12495 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12499 # Older versions of the 11.00 compiler do not understand -b yet
12500 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12502 printf %s "checking if $CC understands -b... " >&6; }
12509 LDFLAGS="$LDFLAGS -b"
12511 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12514 if test -s conftest.err; then
12526 $RM -r conftest*
12530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12534 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12536 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12554 export_dynamic_flag_spec='$wl-E'
12566 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'
12567 # Try to use the -exported_symbol ld option, if it does not
12568 # work, assume that -exports_file does not work either and
12570 # This should be the same for all languages, so no per-tag cache variable.
12571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12572 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12578 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12581 int foo (void) { return 0; }
12589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12596 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'
12599 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'
12600 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'
12603 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12614 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12620 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12621 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12623 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12625 hardcode_libdir_flag_spec='-R$libdir'
12631 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12633 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12642 if test -f /usr/libexec/ld.so; then
12646 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12647 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12648 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12649 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12650 export_dynamic_flag_spec='$wl-E'
12652 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12653 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12661 hardcode_libdir_flag_spec='-L$libdir'
12670 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12671 emximp -o $lib $output_objdir/$libname.def'
12678 prefix_cmds="$prefix_cmds -e 1d";
12680 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12682 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12683 emximp -o $lib $output_objdir/$libname.def'
12684 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12690 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12691 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'
12693 allow_undefined_flag=' -expect_unresolved \*'
12694 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'
12697 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12701 osf4* | osf5*) # as osf3* with the addition of -msym flag
12703 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12704 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'
12705 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12707 allow_undefined_flag=' -expect_unresolved \*'
12708 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'
12709 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~
12710 $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'
12712 # Both c and cxx compiler support -rpath directly
12713 hardcode_libdir_flag_spec='-rpath $libdir'
12720 no_undefined_flag=' -z defs'
12723 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12724 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12725 $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'
12727 case `$CC -V 2>&1` in
12730 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12731 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12732 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12736 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12737 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12738 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12742 hardcode_libdir_flag_spec='-R$libdir'
12745 solaris2.[0-5] | solaris2.[0-5].*) ;;
12748 # but understands '-z linker_flag'. GCC discards it without '$wl',
12752 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12754 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12765 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12767 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12769 hardcode_libdir_flag_spec='-L$libdir'
12778 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12784 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12785 reload_cmds='$CC -r -o $output$reload_objs'
12789 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12798 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12800 export_dynamic_flag_spec='-Bexport'
12804 if test -d /usr/nec; then
12805 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12814 no_undefined_flag='$wl-z,text'
12820 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12821 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12823 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12824 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12829 # Note: We CANNOT use -z defs as we might desire, because we do not
12830 # link with -lc, and that would cause any symbols used from libc to
12832 # ever link correctly. If we're not using GNU ld we use -z text
12833 # though, which does catch some bad symbols but isn't as heavy-handed
12834 # as -z defs.
12835 no_undefined_flag='$wl-z,text'
12836 allow_undefined_flag='$wl-z,nodefs'
12839 hardcode_libdir_flag_spec='$wl-R,$libdir'
12842 export_dynamic_flag_spec='$wl-Bexport'
12846 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12847 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12849 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12850 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12855 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12856 hardcode_libdir_flag_spec='-L$libdir'
12868 export_dynamic_flag_spec='$wl-Blargedynsym'
12874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12899 # Assume -lc should be added
12905 # FIXME: we may have to deal with multi-command sequences.
12908 # Test whether the compiler implicitly links with -lc since on some
12909 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12910 # to ld, don't add -lc before -lgcc.
12911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12912 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
12920 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12923 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12931 compiler_flags=-v
12932 linker_flags=-v
12938 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12939 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12941 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13124 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
13127 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13131 # otherwise default to the standard path separator (i.e. ":") - it is
13143 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13145 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
13152 if test -d "$lt_sys_path$lt_multi_os_dir"; then
13154 elif test -n "$lt_multi_os_dir"; then
13155 test -d "$lt_sys_path" && \
13163 for (lt_i = NF; lt_i > 0; lt_i--) {
13171 lt_count--;
13183 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
13205 # when you set need_version to no, make sure it does not cause -set_version
13221 aix[4-9]*)
13240 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
13248 # filename-based versioning of shared library archives on AIX. While
13250 # prevent static linking of such archives. So we do filename-based
13255 # versioned .so libs for executables only if there is the -brtl
13256 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
13257 # To allow for filename-based versioning support, we need to create
13267 # but for link time we create the symlink libNAME.so -> libNAME.so.V
13297 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"'
13307 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)'
13308 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"'
13319 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13347 # libtool to hard-code these into programs
13362 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13364 test -d \$dldir || mkdir -p \$dldir~
13367 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13370 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13378 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13384 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13388 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13397 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13414 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13420 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13421 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13422 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13426 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13428 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13430 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13433 # common. (e.g. "Program Files" -> "PROGRA~1")
13439 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13441 test -d \$dldir || mkdir -p \$dldir~
13443 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13452 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
13487 if test -x /usr/bin/objformat; then
13495 version_type=freebsd-$objformat
13497 freebsd-elf*)
13503 freebsd-*)
13517 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13518 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13585 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13591 interix[3-9]*)
13623 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13624 libsuff= shlibsuff= libmagic=32-bit;;
13625 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13627 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13628 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13629 *) libsuff= shlibsuff= libmagic=never-match;;
13661 # Don't embed -rpath directories since the linker doesn't support them.
13662 hardcode_libdir_flag_spec='-L$libdir'
13666 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13672 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13689 int
13699 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
13704 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13721 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13722 # even though it is searched at run-time. Try to do the best guess by
13724 if test -f /etc/ld.so.conf; then
13725 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' ' '`
13731 # GNU dynamic linker. Since this was broken with cross compilers,
13732 # most powerpc-linux boxes support dynamic linking these days and
13733 # people can always --disable-shared, the test was removed, and we
13742 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13744 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13779 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13785 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13797 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
13798 v=$($ECHO $release$versuffix | tr -d .-);
13799 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13807 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13809 test -d \$dldir || mkdir -p \$dldir~
13812 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13815 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13884 if test -d /usr/nec; then
13915 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13956 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14061 if test -n "$hardcode_libdir_flag_spec" ||
14062 test -n "$runpath_var" ||
14065 # We can hardcode non-existent directories.
14069 # when we should be linking with a yet-to-be-installed one
14083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14129 printf %s "checking for dlopen in -ldl... " >&6; }
14135 LIBS="-ldl $LIBS"
14136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14140 Use char because int might match the return type of a GCC
14143 int
14157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14165 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14178 # because TPF is a cross-compiler, and we know how we open DSOs.
14190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14191 printf %s "checking for shl_load in -ldld... " >&6; }
14197 LIBS="-ldld $LIBS"
14198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14202 Use char because int might match the return type of a GCC
14205 int
14219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14227 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
14234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14235 printf %s "checking for dlopen in -ldl... " >&6; }
14241 LIBS="-ldl $LIBS"
14242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14246 Use char because int might match the return type of a GCC
14249 int
14263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14271 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14274 printf %s "checking for dlopen in -lsvld... " >&6; }
14280 LIBS="-lsvld $LIBS"
14281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14285 Use char because int might match the return type of a GCC
14288 int
14302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14310 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
14312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14313 printf %s "checking for dld_link in -ldld... " >&6; }
14319 LIBS="-ldld $LIBS"
14320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14324 Use char because int might match the return type of a GCC
14327 int
14341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14349 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
14379 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14440 /* When -fvisibility=hidden is used, assume the code has been annotated
14443 int fnord () __attribute__((visibility("default")));
14446 int fnord () { return 42; }
14447 int main ()
14450 int status = $lt_dlunknown;
14468 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14472 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14485 rm -fr conftest*
14489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14547 /* When -fvisibility=hidden is used, assume the code has been annotated
14550 int fnord () __attribute__((visibility("default")));
14553 int fnord () { return 42; }
14554 int main ()
14557 int status = $lt_dlunknown;
14575 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14578 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14579 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14592 rm -fr conftest*
14596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14637 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14638 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14639 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14643 # FIXME - insert some real tests, host_os isn't really good enough
14646 if test -n "$STRIP"; then
14647 striplib="$STRIP -x"
14648 old_striplib="$STRIP -S"
14649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14689 if test -n "$RANLIB"; then
14695 aix[4-9]*)
14705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14751 # NTP has (so far) been relying on leading-edge autogen, which
14754 # - use the version of libopts we ship with
14755 # - do not install it
14756 # - build a static copy (disable-shared - done earlier)
14769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
14775 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
14776 then ac_cv_path_EGREP="$GREP -E"
14778 if test -z "$EGREP"; then
14780 # Loop through the user's path and test for each of PROGNAME-LIST
14797 case `"$ac_path_EGREP" --version 2>&1` in
14812 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
14818 test $ac_count -gt 10 && break
14820 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14828 if test -z "$ac_cv_path_EGREP"; then
14837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
14863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14870 int
14881 ac_pid_type='int'
14885 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
14907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14912 int
14927 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14942 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
14944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
14951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14955 Use char because int might match the return type of a GCC
14958 int
14968 if test -z "$ac_lib"; then
14971 ac_res=-l$ac_lib
14972 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14978 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15015 Use char because int might match the return type of a GCC
15018 int
15028 if test -z "$ac_lib"; then
15031 ac_res=-l$ac_lib
15032 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working stdnoreturn.h" >&5
15279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15285 and circa-2012 bleeding-edge GCC rejects it when given
15286 -Werror=old-style-declaration. */
15289 int testit (int argc, char **argv)
15296 int
15310 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdnoreturn_h" >&5
15322 if test -n "$STDNORETURN_H"; then
15332 # ----------------------------------------------------------------------
15335 # ----------------------------------------------------------------------
15362 # Check whether --enable-nls was given.
15377 # --------------------------------------------
15379 # --------------------------------------------
15398 test "X${ac_cv_header_inttypes_h-no}" = Xyes || \
15401 # ----------------------------------------------------------------------
15403 # ----------------------------------------------------------------------
15528 # The cast to long int works around a bug in the HP C Compiler
15529 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15530 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of char *" >&5
15538 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char *))" "ac_cv_sizeof_char_p" "$ac_includes_default"
15543 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char_p" >&5
15561 # The cast to long int works around a bug in the HP C Compiler
15562 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15563 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15566 printf %s "checking size of int... " >&6; }
15571 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"
15576 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15578 as_fn_error 77 "cannot compute sizeof (int)
15586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15594 # The cast to long int works around a bug in the HP C Compiler
15595 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15596 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15604 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"
15609 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15627 # The cast to long int works around a bug in the HP C Compiler
15628 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15629 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15637 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"
15642 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15661 # ------------
15663 # ------------
15664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pathfind in -lgen" >&5
15665 printf %s "checking for pathfind in -lgen... " >&6; }
15671 LIBS="-lgen $LIBS"
15672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15676 Use char because int might match the return type of a GCC
15679 int
15693 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_pathfind" >&5
15703 LIBS="-lgen $LIBS"
15707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gettext in -lintl" >&5
15708 printf %s "checking for gettext in -lintl... " >&6; }
15714 LIBS="-lintl $LIBS"
15715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15719 Use char because int might match the return type of a GCC
15722 int
15736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_gettext" >&5
15746 LIBS="-lintl $LIBS"
15765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
15775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15778 int
15795 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
15808 *-*-amigaos* | *-*-msdosdjgpp*)
15816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
15821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
15831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15842 do_nothing (int sig)
15850 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
15854 sparc_address_test (int arg)
15865 write(-1, "", 0);
15871 int
15915 int status;
15945 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
15956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
16036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
16048 if test -z "$SED"; then
16050 # Loop through the user's path and test for each of PROGNAME-LIST
16067 case `"$ac_path_SED" --version 2>&1` in
16079 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
16082 if test $ac_count -gt ${ac_path_SED_max-0}; then
16088 test $ac_count -gt 10 && break
16090 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16098 if test -z "$ac_cv_path_SED"; then
16106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
16109 rm -f conftest.sed
16113 test -x "$POSIX_SHELL" && break
16115 test -x "$POSIX_SHELL" && break
16117 test -x "$POSIX_SHELL" && break
16119 test -x "$POSIX_SHELL" && break
16120 POSIX_SHELL=`/bin/sh -c '
16124 test -x "$POSIX_SHELL" && break
16139 # Check whether --enable-local-libopts was given.
16144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using supplied libopts tearoff" >&5
16146 LIBOPTS_CFLAGS='-I$(top_srcdir)/sntp/libopts'
16153 # Check whether --enable-libopts-install was given.
16168 if test -z "${NEED_LIBOPTS_DIR}" ; then
16169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether autoopts-config can be found" >&5
16170 printf %s "checking whether autoopts-config can be found... " >&6; }
16172 # Check whether --with-autoopts-config was given.
16177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether autoopts-config is specified" >&5
16178 printf %s "checking whether autoopts-config is specified... " >&6; }
16183 if autoopts-config --help 2>/dev/null 1>&2
16184 then lo_cv_with_autoopts_config=autoopts-config
16185 elif libopts-config --help 2>/dev/null 1>&2
16186 then lo_cv_with_autoopts_config=libopts-config
16189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lo_cv_with_autoopts_config" >&5
16200 if test -z "${lo_cv_with_autoopts_config}" \
16201 -o X"${lo_cv_with_autoopts_config}" = Xno
16203 if autoopts-config --help 2>/dev/null 1>&2
16204 then lo_cv_with_autoopts_config=autoopts-config
16205 elif libopts-config --help 2>/dev/null 1>&2
16206 then lo_cv_with_autoopts_config=libopts-config
16210 ${lo_cv_with_autoopts_config} --libs` 2> /dev/null
16211 if test $? -ne 0 -o -z "${lo_cv_test_autoopts}"
16216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lo_cv_test_autoopts}" >&5
16222 LIBOPTS_CFLAGS="`${lo_cv_with_autoopts_config} --cflags`"
16225 LIBOPTS_CFLAGS='-I$(top_srcdir)/sntp/libopts'
16228 fi # end of if test -z "${NEED_LIBOPTS_DIR}"
16229 if test -n "${LIBOPTS_BUILD_BLOCKED}" ; then
16232 if test -n "${NEED_LIBOPTS_DIR}"; then
16253 if test -n "$ac_tool_prefix"; then
16254 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16255 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16290 if test -n "$PKG_CONFIG"; then
16291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16300 if test -z "$ac_cv_path_PKG_CONFIG"; then
16302 # Extract the first word of "pkg-config", so it can be a program name with args.
16303 set dummy pkg-config; ac_word=$2
16304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16327 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16338 if test -n "$ac_pt_PKG_CONFIG"; then
16339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if pkg-config is at least version $ntp_pkgconfig_min_version" >&5
16367 printf %s "checking if pkg-config is at least version $ntp_pkgconfig_min_version... " >&6; }
16368 if $PKG_CONFIG --atleast-pkgconfig-version $ntp_pkgconfig_min_version; then
16369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16382 # Check whether --enable-local-libevent was given.
16387 ntp_use_local_libevent=${ntp_use_local_libevent-detect}
16405 *) # If we have (a good enough) pkg-config, see if it can find libevent
16408 if $PKG_CONFIG --atleast-version=$ntp_libevent_min_version libevent
16411 ntp_libevent_version="`$PKG_CONFIG --modversion libevent`"
16416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libevent $ntp_libevent_min_version or later is installed" >&5
16418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, version $ntp_libevent_version" >&5
16420 CFLAGS_LIBEVENT=`$PKG_CONFIG --cflags libevent_pthreads`
16421 CPPFLAGS_LIBEVENT=`$PKG_CONFIG --cflags-only-I libevent`
16423 # We don't need -levent, we only need -levent_core.
16424 # While we could grab only the -L stuff, there *might* be
16425 # other flags there we want. Originally we just removed -levent
16426 # but then somebody decided to install -levent-2.0
16427 # LDADD_LIBEVENT=`$PKG_CONFIG --libs libevent | sed 's:-levent::'`
16430 for i in `$PKG_CONFIG --libs libevent` `$PKG_CONFIG --cflags-only-other libevent_pthreads`
16433 -D*) ;;
16434 -levent*) ;;
16444 LDADD_LIBEVENT="$LDADD_LIBEVENT -levent_pthreads"
16446 LDADD_LIBEVENT="$LDADD_LIBEVENT -levent_core"
16451 CFLAGS_LIBEVENT=`$PKG_CONFIG --cflags libevent_pthreads`
16452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libevent $ntp_libevent_min_version or later is installed" >&5
16454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using libevent tearoff" >&5
16469 CPPFLAGS_LIBEVENT="-I\$(top_builddir)/$ntp_libevent_tearoff/include -I\$(top_srcdir)/$ntp_libevent_tearoff/include"
16493 # Expose a cross-compilation indicator to makefiles
16510 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
16514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
16522 for ac_arg in '' -fno-builtin; do
16525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16528 int
16543 # declaration. Include always-available headers on the
16545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16551 extern void ac_decl (int, char *);
16553 int
16573 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16575 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
16584 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16605 # Check whether --enable-c99-snprintf was given.
16627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
16628 printf %s "checking for unsigned long long int... " >&6; }
16637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16641 implementations with broken preprocessors. Perhaps this can
16645 long long int ll = 9223372036854775807ll;
16646 long long int nll = -9223372036854775807LL;
16647 unsigned long long int ull = 18446744073709551615ULL;
16649 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
16650 ? 1 : -1)];
16651 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
16652 ? 1 : -1)];
16653 int i = 63;
16654 int
16658 long long int llmax = 9223372036854775807ll;
16659 unsigned long long int ullmax = 18446744073709551615ull;
16675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
16698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether vsnprintf is C99 compliant" >&5
16708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16714 static int testprintf(char *buf, size_t size, const char *format, ...)
16716 int result;
16723 int
16741 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hw_cv_func_vsnprintf_c99" >&5
16754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C99-snprintf replacement vsnprintf will be used" >&5
16755 printf %s "checking if C99-snprintf replacement vsnprintf will be used... " >&6; }
16756 if test "${hw_force_rpl_vsnprintf=no}" = yes -o "$hw_cv_func_vsnprintf_c99" = no
16762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hw_use_rpl_vsnprintf" >&5
16820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
16829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16834 int
16837 static int test_array [1 - 2 * !(/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
16852 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double" >&5
16865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
16866 printf %s "checking for long long int... " >&6; }
16881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16886 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
16887 # define LLONG_MAX (HALF - 1 + HALF)
16889 int
16892 long long int n = 1;
16893 int i;
16896 long long int m = n << i;
16913 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
16929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
16930 printf %s "checking for unsigned long long int... " >&6; }
16939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16943 implementations with broken preprocessors. Perhaps this can
16947 long long int ll = 9223372036854775807ll;
16948 long long int nll = -9223372036854775807LL;
16949 unsigned long long int ull = 18446744073709551615ULL;
16951 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
16952 ? 1 : -1)];
16953 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
16954 ? 1 : -1)];
16955 int i = 63;
16956 int
16960 long long int llmax = 9223372036854775807ll;
16961 unsigned long long int ullmax = 18446744073709551615ull;
16977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
16995 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
17009 && ac_type='long long int' \
17010 || ac_type='long int'
17027 && ac_type='unsigned long long int' \
17028 || ac_type='unsigned long int'
17043 for ac_type in 'unsigned int' 'unsigned long int' \
17044 'unsigned long long int'; do
17045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17048 int
17051 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
17066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17067 test -z "$ac_type" && break
17091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17092 printf %s "checking for an ANSI C-conforming const... " >&6; }
17097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17100 int
17106 typedef int charset[2];
17112 struct point {int x, y;};
17116 an arm of an if-expression whose if-part is not a constant
17119 pcpcc = &g + (g ? g-g : 0);
17132 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17133 int x[] = {25, 17};
17134 const int *foo = &x[0];
17137 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17138 typedef const int *iptr;
17143 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17144 struct s { int j; const int *ap[3]; } bx;
17145 struct s *b = &bx; b->j = 5;
17147 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17148 const int foo = 10;
17164 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether snprintf is C99 compliant" >&5
17209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17212 int
17230 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hw_cv_func_snprintf_c99" >&5
17243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C99-snprintf replacement snprintf will be used" >&5
17244 printf %s "checking if C99-snprintf replacement snprintf will be used... " >&6; }
17245 if test "${hw_force_rpl_snprintf=no}" = yes -o "$hw_cv_func_snprintf_c99" = no
17251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hw_use_rpl_snprintf" >&5
17267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17268 printf %s "checking for an ANSI C-conforming const... " >&6; }
17273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17276 int
17282 typedef int charset[2];
17288 struct point {int x, y;};
17292 an arm of an if-expression whose if-part is not a constant
17295 pcpcc = &g + (g ? g-g : 0);
17308 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17309 int x[] = {25, 17};
17310 const int *foo = &x[0];
17313 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17314 typedef const int *iptr;
17319 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17320 struct s { int j; const int *ap[3]; } bx;
17321 struct s *b = &bx; b->j = 5;
17323 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17324 const int foo = 10;
17340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17370 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: " >&5
17391 # Check whether --with-gnu-ld was given.
17401 # Check if gcc -print-prog-name=ld gives a path.
17402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
17405 *-*-mingw*)
17407 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17409 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17420 test -z "$LD" && LD=$ac_prog
17432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17436 printf %s "checking for non-GNU ld... " >&6; }
17442 if test -z "$LD"; then
17446 test -z "$ac_dir" && ac_dir=.
17447 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17449 # Check to see if the program is GNU ld. I'd rather use --version,
17450 # but apparently some variants of GNU ld only accept -v.
17451 # Break only if it was the GNU/non-GNU ld that we prefer.
17452 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17469 if test -n "$LD"; then
17470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17476 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
17477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17483 # I'd rather use --version here, but apparently some GNU lds only accept -v.
17484 case `$LD -v 2>&1 </dev/null` in
17493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
17504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory path separator" >&5
17525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_dir_sep" >&5
17534 # Check whether --with-lineeditlibs was given.
17543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking line editing libraries" >&5
17545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $use_lineeditlibs" >&5
17552 for lineedit_lib in `echo $use_lineeditlibs | sed -e 's/,/ /'`; do
17556 TRY_LIB="-l$lineedit_lib"
17559 TRY_LIB="-l$lineedit_lib -l$term_lib"
17563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline() with $TRY_LIB" >&5
17565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17569 Use char because int might match the return type of a GCC
17572 int
17584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for el_gets() with $TRY_LIB" >&5
17604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17608 Use char because int might match the return type of a GCC
17611 int
17623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking number of arguments to el_init()" >&5
17707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17713 int
17731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_el_init_args" >&5
17741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
17747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17751 Use char because int might match the return type of a GCC
17754 int
17766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_lib_lineedit_history" >&5
17788 *-*-darwin*)
17792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing cos" >&5
17799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17803 Use char because int might match the return type of a GCC
17806 int
17816 if test -z "$ac_lib"; then
17819 ac_res=-l$ac_lib
17820 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_cos" >&5
17848 LIBM="-lm"
17861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
17871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17874 int
17891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
17904 *-*-amigaos* | *-*-msdosdjgpp*)
17912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
17917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
17927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17938 do_nothing (int sig)
17946 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
17950 sparc_address_test (int arg)
17961 write(-1, "", 0);
17967 int
18011 int status;
18041 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
18052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
18073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
18079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18082 int
18085 char *p = (char *) alloca (2 * sizeof (int));
18097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
18108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
18117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18135 int
18150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
18172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
18182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18185 int
18186 find_stack_direction (int *addr, int depth)
18188 int dir, dummy = 0;
18191 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
18192 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
18196 int
18197 main (int argc, char **argv)
18206 ac_cv_c_stack_direction=-1
18208 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
18230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
18239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18242 int
18259 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
18275 *-*-irix6.1*) # 64 bit only
18278 *-*-irix6*) # 6.2 (and later?)
18281 *-*-solaris2.5.1)
18284 *-*-unicosmp*)
18292 *) case "`${MAKE-make} -v -f /dev/null 2>/dev/null | grep 'GNU Make'`" in
18300 *-*-aix4*)
18302 # Was *-*-aix[[4-9]]*
18314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 Use char because int might match the return type of a GCC
18328 int
18338 if test -z "$ac_lib"; then
18341 ac_res=-l$ac_lib
18342 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing snprintb" >&5
18442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18446 Use char because int might match the return type of a GCC
18449 int
18459 if test -z "$ac_lib"; then
18462 ac_res=-l$ac_lib
18463 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_snprintb" >&5
18541 *-hp-hpux*)
18542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if net/if.h requires mpinfou predeclaration" >&5
18552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18564 int
18582 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_predecl_mpinfou" >&5
18605 *-linux*)
18648 # sys/sysctl.h depends on sys/param.h on OpenBSD - Bug 1576
18776 # HMS: Do we need to check for -lsocket before or after these tests?
18777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5
18784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18788 Use char because int might match the return type of a GCC
18791 int
18801 if test -z "$ac_lib"; then
18804 ac_res=-l$ac_lib
18805 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18811 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_pton" >&5
18841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5
18848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18852 Use char because int might match the return type of a GCC
18855 int
18865 if test -z "$ac_lib"; then
18868 ac_res=-l$ac_lib
18869 LIBS="-l$ac_lib -lnsl $ac_func_search_save_LIBS"
18875 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5
18906 # [Bug 1628] On Solaris, we need -lxnet -lsocket. Generalize this to
18913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
18920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18924 Use char because int might match the return type of a GCC
18927 int
18937 if test -z "$ac_lib"; then
18940 ac_res=-l$ac_lib
18941 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setsockopt" >&5
18978 -lsocket)
18980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getsockopt" >&5
18987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18991 Use char because int might match the return type of a GCC
18994 int
19004 if test -z "$ac_lib"; then
19007 ac_res=-l$ac_lib
19008 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getsockopt" >&5
19044 # XXX Possible trouble here - reading the comments above and looking at the
19045 # code below I wonder if we'll add -lxnet when we don't need it.
19046 # Also, do we need to add -lxnet to LDADD_LIBNTP, or perhaps see if it's
19049 -lxnet)
19050 LIBS="-lxnet -lsocket $saved_LIBS"
19052 *) LIBS="-lsocket $saved_LIBS"
19059 # Bug 2427 - look for recvmsg here.
19068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
19076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19079 typedef int foo_t;
19089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
19124 # The cast to long int works around a bug in the HP C Compiler
19125 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19126 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
19134 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t" "$ac_includes_default"
19139 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
19157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether char is unsigned" >&5
19163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19166 int
19169 static int test_array [1 - 2 * !(((char) -1) < 0)];
19183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_char_unsigned" >&5
19191 # The cast to long int works around a bug in the HP C Compiler
19192 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19193 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of signed char" >&5
19201 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (signed char))" "ac_cv_sizeof_signed_char" "$ac_includes_default"
19206 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_signed_char" >&5
19241 # The cast to long int works around a bug in the HP C Compiler
19242 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19243 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
19251 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"
19256 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
19274 # The cast to long int works around a bug in the HP C Compiler
19275 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19276 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
19279 printf %s "checking size of int... " >&6; }
19284 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"
19289 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19291 as_fn_error 77 "cannot compute sizeof (int)
19299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
19307 # The cast to long int works around a bug in the HP C Compiler
19308 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19309 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
19317 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"
19322 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
19345 # The cast to long int works around a bug in the HP C Compiler
19346 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19347 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
19355 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"
19360 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
19409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
19415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19427 rm -rf conftest*
19430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
19434 printf "%s\n" "#define uid_t int" >>confdefs.h
19437 printf "%s\n" "#define gid_t int" >>confdefs.h
19446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we're including debugging code" >&5
19448 # Check whether --enable-debugging was given.
19463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
19483 # Check whether --enable-thread-support was given.
19502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19506 # OpenLDAP --with-threads
19508 # Check whether --with-threads was given.
19519 as_fn_error $? "bad value $withval for --with-threads" "$LINENO" 5
19526 # end --with-threads
19530 auto*-*-solaris2.[0-6])
19538 *-*-aix*) if test -z "$CC" ; then
19547 if test -z "${CC}" ; then
19552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19558 if test -n "$CC"; then
19573 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19583 if test -n "$CC"; then
19584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
19587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19592 test -n "$CC" && break
19598 as_fn_error $? "--with-threads requires cc_r (or other suitable compiler) on AIX" "$LINENO" 5
19600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling threads, no cc_r on AIX" >&5
19615 # OpenLDAP --with-yielding_select
19617 # Check whether --with-yielding_select was given.
19628 as_fn_error $? "bad value $withval for --with-yielding_select" "$LINENO" 5
19635 # end --with-yielding_select
19686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking POSIX thread version" >&5
19693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19698 int
19702 int i = PTHREAD_CREATE_JOINABLE;
19711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19723 rm -rf conftest*
19727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769 rm -rf conftest*
19772 rm -rf conftest*
19775 rm -rf conftest*
19778 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_version" >&5
19797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LinuxThreads pthread.h" >&5
19803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19814 rm -rf conftest*
19818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_header_linux_threads" >&5
19827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU Pth pthread.h" >&5
19833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19848 rm -rf conftest*
19852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_header_gnu_pth_pthread_h" >&5
19867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in default libraries" >&5
19876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19894 int
19903 int status;
19904 int detach = PTHREAD_CREATE_DETACHED;
19954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19977 int main(argc, argv)
19978 int argc;
19987 int status;
19988 int detach = PTHREAD_CREATE_DETACHED;
20037 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_create" >&5
20050 # Pthread try link: -kthread (ol_cv_pthread_kthread)
20052 # try -kthread
20053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -kthread" >&5
20054 printf %s "checking for pthread link with -kthread... " >&6; }
20062 LIBS="-kthread $LIBS"
20066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20084 int
20093 int status;
20094 int detach = PTHREAD_CREATE_DETACHED;
20144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20167 int main(argc, argv)
20168 int argc;
20177 int status;
20178 int detach = PTHREAD_CREATE_DETACHED;
20227 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_kthread" >&5
20240 ol_link_pthreads="-kthread"
20245 # Pthread try link: -pthread (ol_cv_pthread_pthread)
20247 # try -pthread
20248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -pthread" >&5
20249 printf %s "checking for pthread link with -pthread... " >&6; }
20257 LIBS="-pthread $LIBS"
20261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20279 int
20288 int status;
20289 int detach = PTHREAD_CREATE_DETACHED;
20339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20362 int main(argc, argv)
20363 int argc;
20372 int status;
20373 int detach = PTHREAD_CREATE_DETACHED;
20422 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_pthread" >&5
20435 ol_link_pthreads="-pthread"
20440 # Pthread try link: -pthreads (ol_cv_pthread_pthreads)
20442 # try -pthreads
20443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -pthreads" >&5
20444 printf %s "checking for pthread link with -pthreads... " >&6; }
20452 LIBS="-pthreads $LIBS"
20456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20474 int
20483 int status;
20484 int detach = PTHREAD_CREATE_DETACHED;
20534 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20557 int main(argc, argv)
20558 int argc;
20567 int status;
20568 int detach = PTHREAD_CREATE_DETACHED;
20617 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_pthreads" >&5
20630 ol_link_pthreads="-pthreads"
20635 # Pthread try link: -mthreads (ol_cv_pthread_mthreads)
20637 # try -mthreads
20638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -mthreads" >&5
20639 printf %s "checking for pthread link with -mthreads... " >&6; }
20647 LIBS="-mthreads $LIBS"
20651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20669 int
20678 int status;
20679 int detach = PTHREAD_CREATE_DETACHED;
20729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20752 int main(argc, argv)
20753 int argc;
20762 int status;
20763 int detach = PTHREAD_CREATE_DETACHED;
20812 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_mthreads" >&5
20825 ol_link_pthreads="-mthreads"
20830 # Pthread try link: -thread (ol_cv_pthread_thread)
20832 # try -thread
20833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -thread" >&5
20834 printf %s "checking for pthread link with -thread... " >&6; }
20842 LIBS="-thread $LIBS"
20846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20864 int
20873 int status;
20874 int detach = PTHREAD_CREATE_DETACHED;
20924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20947 int main(argc, argv)
20948 int argc;
20957 int status;
20958 int detach = PTHREAD_CREATE_DETACHED;
21007 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_thread" >&5
21020 ol_link_pthreads="-thread"
21026 # Pthread try link: -lpthread -lmach -lexc -lc_r (ol_cv_pthread_lpthread_lmach_lexc_lc_r)
21028 # try -lpthread -lmach -lexc -lc_r
21029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -lpthread -lmach -lexc -lc_r" >&5
21030 printf %s "checking for pthread link with -lpthread -lmach -lexc -lc_r... " >&6; }
21038 LIBS="-lpthread -lmach -lexc -lc_r $LIBS"
21042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21060 int
21069 int status;
21070 int detach = PTHREAD_CREATE_DETACHED;
21120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21143 int main(argc, argv)
21144 int argc;
21153 int status;
21154 int detach = PTHREAD_CREATE_DETACHED;
21203 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_lpthread_lmach_lexc_lc_r" >&5
21216 ol_link_pthreads="-lpthread -lmach -lexc -lc_r"
21221 # Pthread try link: -lpthread -lmach -lexc (ol_cv_pthread_lpthread_lmach_lexc)
21223 # try -lpthread -lmach -lexc
21224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -lpthread -lmach -lexc" >&5
21225 printf %s "checking for pthread link with -lpthread -lmach -lexc... " >&6; }
21233 LIBS="-lpthread -lmach -lexc $LIBS"
21237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21255 int
21264 int status;
21265 int detach = PTHREAD_CREATE_DETACHED;
21315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21338 int main(argc, argv)
21339 int argc;
21348 int status;
21349 int detach = PTHREAD_CREATE_DETACHED;
21398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_lpthread_lmach_lexc" >&5
21411 ol_link_pthreads="-lpthread -lmach -lexc"
21417 # Pthread try link: -lpthread -Wl,-woff,85 (ol_cv_pthread_lib_lpthread_woff)
21419 # try -lpthread -Wl,-woff,85
21420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -lpthread -Wl,-woff,85" >&5
21421 printf %s "checking for pthread link with -lpthread -Wl,-woff,85... " >&6; }
21429 LIBS="-lpthread -Wl,-woff,85 $LIBS"
21433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21451 int
21460 int status;
21461 int detach = PTHREAD_CREATE_DETACHED;
21511 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21534 int main(argc, argv)
21535 int argc;
21544 int status;
21545 int detach = PTHREAD_CREATE_DETACHED;
21594 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_lib_lpthread_woff" >&5
21607 ol_link_pthreads="-lpthread -Wl,-woff,85"
21613 # Pthread try link: -lpthread (ol_cv_pthread_lpthread)
21615 # try -lpthread
21616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -lpthread" >&5
21617 printf %s "checking for pthread link with -lpthread... " >&6; }
21625 LIBS="-lpthread $LIBS"
21629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21647 int
21656 int status;
21657 int detach = PTHREAD_CREATE_DETACHED;
21707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21730 int main(argc, argv)
21731 int argc;
21740 int status;
21741 int detach = PTHREAD_CREATE_DETACHED;
21790 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_lpthread" >&5
21803 ol_link_pthreads="-lpthread"
21808 # Pthread try link: -lc_r (ol_cv_pthread_lc_r)
21810 # try -lc_r
21811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -lc_r" >&5
21812 printf %s "checking for pthread link with -lc_r... " >&6; }
21820 LIBS="-lc_r $LIBS"
21824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21842 int
21851 int status;
21852 int detach = PTHREAD_CREATE_DETACHED;
21902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21925 int main(argc, argv)
21926 int argc;
21935 int status;
21936 int detach = PTHREAD_CREATE_DETACHED;
21985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_lc_r" >&5
21998 ol_link_pthreads="-lc_r"
22004 # Pthread try link: -threads (ol_cv_pthread_threads)
22006 # try -threads
22007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -threads" >&5
22008 printf %s "checking for pthread link with -threads... " >&6; }
22016 LIBS="-threads $LIBS"
22020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22038 int
22047 int status;
22048 int detach = PTHREAD_CREATE_DETACHED;
22098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22121 int main(argc, argv)
22122 int argc;
22131 int status;
22132 int detach = PTHREAD_CREATE_DETACHED;
22181 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_threads" >&5
22194 ol_link_pthreads="-threads"
22200 # Pthread try link: -lpthreads -lmach -lexc -lc_r (ol_cv_pthread_lpthreads_lmach_lexc_lc_r)
22202 # try -lpthreads -lmach -lexc -lc_r
22203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -lpthreads -lmach -lexc -lc_r" >&5
22204 printf %s "checking for pthread link with -lpthreads -lmach -lexc -lc_r... " >&6; }
22212 LIBS="-lpthreads -lmach -lexc -lc_r $LIBS"
22216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22234 int
22243 int status;
22244 int detach = PTHREAD_CREATE_DETACHED;
22294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22317 int main(argc, argv)
22318 int argc;
22327 int status;
22328 int detach = PTHREAD_CREATE_DETACHED;
22377 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_lpthreads_lmach_lexc_lc_r" >&5
22390 ol_link_pthreads="-lpthreads -lmach -lexc -lc_r"
22395 # Pthread try link: -lpthreads -lmach -lexc (ol_cv_pthread_lpthreads_lmach_lexc)
22397 # try -lpthreads -lmach -lexc
22398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -lpthreads -lmach -lexc" >&5
22399 printf %s "checking for pthread link with -lpthreads -lmach -lexc... " >&6; }
22407 LIBS="-lpthreads -lmach -lexc $LIBS"
22411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22429 int
22438 int status;
22439 int detach = PTHREAD_CREATE_DETACHED;
22489 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22512 int main(argc, argv)
22513 int argc;
22522 int status;
22523 int detach = PTHREAD_CREATE_DETACHED;
22572 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_lpthreads_lmach_lexc" >&5
22585 ol_link_pthreads="-lpthreads -lmach -lexc"
22590 # Pthread try link: -lpthreads -lexc (ol_cv_pthread_lpthreads_lexc)
22592 # try -lpthreads -lexc
22593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -lpthreads -lexc" >&5
22594 printf %s "checking for pthread link with -lpthreads -lexc... " >&6; }
22602 LIBS="-lpthreads -lexc $LIBS"
22606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22624 int
22633 int status;
22634 int detach = PTHREAD_CREATE_DETACHED;
22684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22707 int main(argc, argv)
22708 int argc;
22717 int status;
22718 int detach = PTHREAD_CREATE_DETACHED;
22767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_lpthreads_lexc" >&5
22780 ol_link_pthreads="-lpthreads -lexc"
22786 # Pthread try link: -lpthreads (ol_cv_pthread_lib_lpthreads)
22788 # try -lpthreads
22789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread link with -lpthreads" >&5
22790 printf %s "checking for pthread link with -lpthreads... " >&6; }
22798 LIBS="-lpthreads $LIBS"
22802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22820 int
22829 int status;
22830 int detach = PTHREAD_CREATE_DETACHED;
22880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22903 int main(argc, argv)
22904 int argc;
22913 int status;
22914 int detach = PTHREAD_CREATE_DETACHED;
22963 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_lib_lpthreads" >&5
22976 ol_link_pthreads="-lpthreads"
22982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ol_link_threads: <$ol_link_threads> ol_link_pthreads <$ol_link_pthreads>" >&5
23015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5
23016 printf %s "checking for sched_yield in -lrt... " >&6; }
23022 LIBS="-lrt $LIBS"
23023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23027 Use char because int might match the return type of a GCC
23030 int
23044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5
23052 LTHREAD_LIBS="$LTHREAD_LIBS -lrt"
23065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: could not locate sched_yield() or pthread_yield()" >&5
23077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_destroy with <pthread.h>" >&5
23084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23090 int
23104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_func_pthread_rwlock_destroy" >&5
23116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_detach with <pthread.h>" >&5
23123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23131 int
23145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_func_pthread_detach" >&5
23194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LinuxThreads implementation" >&5
23202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_sys_linux_threads" >&5
23208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LinuxThreads consistency" >&5
23226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_linux_threads" >&5
23234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if pthread_create() works" >&5
23245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23265 int main(argc, argv)
23266 int argc;
23275 int status;
23276 int detach = PTHREAD_CREATE_DETACHED;
23325 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_create_works" >&5
23346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if select yields when using pthreads" >&5
23357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23368 static int fildes[2];
23373 int i;
23395 int main(argc, argv)
23396 int argc;
23440 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_pthread_select_yields" >&5
23449 as_fn_error $? "crossing compiling: use --with-yielding-select=yes|no|manual" "$LINENO" 5
23496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cthread_fork with -all_load" >&5
23497 printf %s "checking for cthread_fork with -all_load... " >&6; }
23504 LIBS="-all_load $LIBS"
23505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23508 int
23524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_cthread_all_load" >&5
23533 LTHREAD_LIBS="$LTHREAD_LIBS -all_load"
23544 LIBS="$LIBS -lthreads"
23554 LTHREAD_LIBS="-lthreads"
23586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pth_version in -lpth" >&5
23587 printf %s "checking for pth_version in -lpth... " >&6; }
23593 LIBS="-lpth $LIBS"
23594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23598 Use char because int might match the return type of a GCC
23601 int
23615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pth_pth_version" >&5
23633 LTHREAD_LIBS="$LTHREAD_LIBS -lpth"
23662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for thr_create in -lthread" >&5
23663 printf %s "checking for thr_create in -lthread... " >&6; }
23669 LIBS="-lthread $LIBS"
23670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23674 Use char because int might match the return type of a GCC
23677 int
23691 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thread_thr_create" >&5
23709 LTHREAD_LIBS="$LTHREAD_LIBS -lthread"
23740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lwp_create in -llwp" >&5
23741 printf %s "checking for lwp_create in -llwp... " >&6; }
23747 LIBS="-llwp $LIBS"
23748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23752 Use char because int might match the return type of a GCC
23755 int
23769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lwp_lwp_create" >&5
23787 LTHREAD_LIBS="$LTHREAD_LIBS -llwp"
23807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: thread defines and link options must be set manually" >&5
23837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LinuxThreads pthread.h" >&5
23843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23854 rm -rf conftest*
23858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_header_linux_threads" >&5
23919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for thread specific errno" >&5
23926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23929 int
23943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_errno_thread_specific" >&5
23950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for thread specific h_errno" >&5
23957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23960 int
23974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ol_cv_h_errno_thread_specific" >&5
23995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no suitable thread support, disabling threads" >&5
24015 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
24028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24069 # The cast to long int works around a bug in the HP C Compiler
24070 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24071 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of pthread_t" >&5
24079 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (pthread_t))" "ac_cv_sizeof_pthread_t" "
24089 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pthread_t" >&5
24119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigwait in -lc" >&5
24120 printf %s "checking for sigwait in -lc... " >&6; }
24126 LIBS="-lc $LIBS"
24127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24131 Use char because int might match the return type of a GCC
24134 int
24148 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_sigwait" >&5
24158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigwait in -lpthread" >&5
24159 printf %s "checking for sigwait in -lpthread... " >&6; }
24165 LIBS="-lpthread $LIBS"
24166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24170 Use char because int might match the return type of a GCC
24173 int
24187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_sigwait" >&5
24197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _Psigwait in -lpthread" >&5
24198 printf %s "checking for _Psigwait in -lpthread... " >&6; }
24204 LIBS="-lpthread $LIBS"
24205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24209 Use char because int might match the return type of a GCC
24212 int
24226 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread__Psigwait" >&5
24250 *-freebsd*:no)
24251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigwait in -lc_r" >&5
24252 printf %s "checking for sigwait in -lc_r... " >&6; }
24258 LIBS="-lc_r $LIBS"
24259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24263 Use char because int might match the return type of a GCC
24266 int
24280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_sigwait" >&5
24323 *-freebsd5.[012]|*-freebsd5.[012].*)
24325 *-freebsd5.[3456789]|*-freebsd5.[3456789].*|*-freebsd6.*)
24330 *-bsdi3.*|*-bsdi4.0*)
24335 *-linux*)
24340 *-solaris*)
24357 *-sco-sysv*uw*|*-*-sysv*UnixWare*|*-*-sysv*OpenUNIX*)
24365 *-aix5.[123].*)
24368 *-solaris2.[89])
24371 *-solaris2.1[0-9])
24372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if extra braces are needed for PTHREAD_ONCE_INIT" >&5
24378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24383 int
24402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_braces_around_pthread_once_init" >&5
24445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if vsnprintf expands \"%m\" to strerror(errno)" >&5
24456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24464 int call_vsnprintf(
24471 int call_vsnprintf(
24479 int rc;
24488 int
24494 int slen;
24513 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_vsnprintf_percent_m" >&5
24537 # Check whether --enable-clockctl was given.
24547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we should use /dev/clockctl" >&5
24549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_use_dev_clockctl" >&5
24567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we have linux capabilities (libcap)" >&5
24573 mips-sgi-irix*)
24585 # Check whether --enable-linuxcaps was given.
24593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_have_linuxcaps" >&5
24601 LIBS="$LIBS -lcap"
24616 *-solaris*)
24630 # Check whether --enable-solarisprivs was given.
24638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we have solaris privileges" >&5
24651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_have_solarisprivs" >&5
24662 # Check whether --enable-trustedbsd_mac was given.
24670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we should use TrustedBSD MAC privileges" >&5
24683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_use_trustedbsd_mac" >&5
24694 *-*-darwin*)
24695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing res_9_init" >&5
24702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24706 Use char because int might match the return type of a GCC
24709 int
24719 if test -z "$ac_lib"; then
24722 ac_res=-l$ac_lib
24723 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_9_init" >&5
24755 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing res_init" >&5
24762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24766 Use char because int might match the return type of a GCC
24769 int
24779 if test -z "$ac_lib"; then
24782 ac_res=-l$ac_lib
24783 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_init" >&5
24929 # We also need -lsocket, but we have tested for that already.
24996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timespec" >&5
25002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25016 int
25034 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_timespec" >&5
25046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct ntptimeval" >&5
25052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25058 int
25076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_ntptimeval" >&5
25102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing MD5Init" >&5
25109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25113 Use char because int might match the return type of a GCC
25116 int
25126 if test -z "$ac_lib"; then
25129 ac_res=-l$ac_lib
25130 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
25136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_MD5Init" >&5
25200 # Check whether --enable-signalled-io was given.
25210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SIGIO" >&5
25216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25233 rm -f conftest.err conftest.i conftest.$ac_ext
25236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_hdr_def_sigio" >&5
25239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want to use SIGIO" >&5
25246 alpha*-dec-osf4*|alpha*-dec-osf5*)
25249 *-convex-*)
25252 *-dec-*)
25255 *-pc-cygwin*)
25258 *-sni-sysv*)
25261 *-stratus-vos)
25264 *-univel-sysv*)
25267 *-*-irix6*)
25270 *-*-freebsd*)
25273 *-*-*linux*)
25276 *-*-unicosmp*)
25279 *-*-kfreebsd*)
25282 m68k-*-mint*)
25301 *) ans="Allowed for $host but --disable-signalled-io was given"
25305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
25308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SIGPOLL" >&5
25314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25331 rm -f conftest.err conftest.i conftest.$ac_ext
25334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_hdr_def_sigpoll" >&5
25337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can use SIGPOLL for UDP I/O" >&5
25343 mips-sgi-irix*)
25346 vax-dec-bsd)
25349 *-pc-cygwin*)
25352 *-sni-sysv*)
25355 *-stratus-vos)
25358 *-*-aix[4-9]*)
25362 *-*-hpux*)
25365 *-*-*linux*)
25368 *-*-osf*)
25371 *-*-qnx*)
25374 *-*-sunos*)
25377 *-*-solaris*)
25380 *-*-ultrix*)
25383 *-*-unicosmp*)
25386 *-*-kfreebsd*)
25400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
25403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can use SIGPOLL for TTY I/O" >&5
25409 mips-sgi-irix*)
25412 vax-dec-bsd)
25415 *-pc-cygwin*)
25418 *-sni-sysv*)
25421 *-stratus-vos)
25424 *-*-aix[4-9]*)
25428 *-*-hpux*)
25431 *-*-*linux*)
25434 *-*-osf*)
25437 *-*-sunos*)
25440 *-*-ultrix*)
25443 *-*-qnx*)
25446 *-*-unicosmp*)
25449 *-*-kfreebsd*)
25463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
25466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking number of arguments to gettimeofday()" >&5
25472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25477 int
25496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_func_Xettimeofday_nargs" >&5
25519 *-*-mpeix*) ac_cv_func_settimeofday=yes
25526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we'll use clock_settime or settimeofday or stime" >&5
25549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
25555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** $ntp_warning ***" >&5
25572 # Check whether --with-crypto was given.
25585 # Check whether --with-openssl-libdir was given.
25592 # Check whether --with-openssl-incdir was given.
25598 # Check whether --enable-verbose-ssl was given.
25625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25659 if test -n "$PATH_OPENSSL"; then
25660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_OPENSSL" >&5
25663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25669 str="$with_crypto:${PKG_CONFIG:+notempty}:${with_openssl_libdir-notgiven}:${with_openssl_incdir-notgiven}"
25671 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $str" >&5
25678 # Make sure neither/both --with_openssl-{inc,lib}dir are given
25679 case "${with_openssl_libdir-notgiven}:${with_openssl_incdir-notgiven}" in
25682 as_fn_error $? "only one of --with-openssl-{inc,lib}dir=... given - provide both or neither" "$LINENO" 5
25694 # if --with-openssl-{inc,lib}dir are not given:
25695 # we should use pkg-config to find openssl
25696 # if we don't have pkg-config, if openssl is in the base OS, use that.
25698 case "$with_crypto:${PKG_CONFIG:+notempty}:${with_openssl_libdir-notgiven}:${with_openssl_incdir-notgiven}" in
25707 # harlan@ntp-testbuild.tal1> openssl version
25709 # harlan@ntp-testbuild.tal1> grep 1.1.1t /ntpbuild/include/openssl/*
25711 # harlan@ntp-testbuild.tal1>
25713 # harlan@ntp-testbuild.tal1> strings -a /ntpbuild/lib/libcrypto.* | fgrep 1.1.1t
25717 # harlan@ntp-testbuild.tal1> ls /ntpbuild/lib/libcrypto.*
25720 # harlan@ntp-testbuild.tal1>
25730 for pkg in `echo $with_crypto | $SED -e 's/,/ /'`; do
25733 if $PKG_CONFIG --exists $pkg ; then
25734 # Found it - yay
25736 # --modver
25737 # --variable={libdir,includedir} (varname)
25745 oinc=`openssl --variable=includedir`
25746 olib=`openssl --variable=libdir`
25753 # strings -a /ntpbuild/lib/libcrypto.a | grep 1.1.1t
25755 # harlan@ntp-testbuild.tal1>
25758 # harlan@ntp-testbuild.tal1> echo '"OpenSSL 1.1.1t 7 Feb 2023"' | cut -f 2 -d\"
25760 # harlan@ntp-testbuild.tal1> grep OPENSSL_VERSION_TEXT /ntpbuild/include/openssl/opensslv.h
25762 # harlan@ntp-testbuild.tal1>
25767 pkgpath="`echo $PATH_OPENSSL | sed -e 's:/bin/openssl$::'`/lib/pkgconfig"
25768 test -d "$pkgpath" || pkgpath=
25794 for pkg in `echo $with_crypto | $SED -e 's/,/ /'`; do
25795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config for $pkg" >&5
25796 printf %s "checking pkg-config for $pkg... " >&6; }
25797 if $PKG_CONFIG --exists $pkg ; then
25798 ntp_ssl_cppflags="`$PKG_CONFIG --cflags-only-I $pkg`"
25804 ntp_ssl_incdir="`echo $ntp_ssl_cppflags | $SED -e 's/-I//'`"
25806 ntp_ssl_cflags="`$PKG_CONFIG --cflags-only-other $pkg`"
25807 ntp_ssl_libs_L="`$PKG_CONFIG --libs-only-L $pkg`"
25813 ntp_ssl_libdir="`echo $ntp_ssl_libs_L | $SED -e 's/-L//'`"
25815 ntp_ssl_libs_l="`$PKG_CONFIG --libs-only-l $pkg`"
25817 ntp_ssl_ldflags="`$PKG_CONFIG --libs-only-other $pkg`"
25820 ntp_openssl_version="`$PKG_CONFIG --modversion $pkg`"
25825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, version $ntp_openssl_version" >&5
25830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25842 ntp_ssl_libs_L="-L$with_openssl_libdir"
25843 ntp_ssl_libs_l="-lcrypto"
25850 ntp_ssl_cppflags="-I$with_openssl_incdir"
25855 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL Phase I checks:" >&5
25861 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: CPPFLAGS_NTP: ($CPPFLAGS_NTP)" >&5
25867 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: CFLAGS_NTP: ($CFLAGS_NTP)" >&5
25873 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: LDADD_NTP: ($LDADD_NTP)" >&5
25879 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: LDFLAGS_NTP: ($LDFLAGS_NTP)" >&5
25885 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_openssl_from_pkg_config: $ntp_openssl_from_pkg_config" >&5
25891 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_incdir: ($ntp_ssl_incdir)" >&5
25897 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_libdir: ($ntp_ssl_libdir)" >&5
25903 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_cflags: ($ntp_ssl_cflags)" >&5
25909 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_cppflags: ($ntp_ssl_cppflags)" >&5
25915 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_libs_L: ($ntp_ssl_libs_L)" >&5
25921 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_libs_l: ($ntp_ssl_libs_l)" >&5
25927 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_libs: ($ntp_ssl_libs)" >&5
25933 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_ldflags: ($ntp_ssl_ldflags)" >&5
25944 ntp_ssl_libs_l="${ntp_ssl_libs_l:--lcrypto}"
25950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Searching for libcrypto without -L" >&5
25951 printf "%s\n" "$as_me: Searching for libcrypto without -L" >&6;}
25952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_new in -lcrypto" >&5
25953 printf %s "checking for EVP_MD_CTX_new in -lcrypto... " >&6; }
25959 LIBS="-lcrypto $LIBS"
25960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25964 Use char because int might match the return type of a GCC
25967 int
25981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_new" >&5
26014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Searching for libcrypto in $i" >&5
26016 LIBS="-L$i $NTPSSL_SAVED_LIBS"
26017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EVP_MD_CTX_new in -lcrypto" >&5
26018 printf %s "checking for EVP_MD_CTX_new in -lcrypto... " >&6; }
26024 LIBS="-lcrypto $LIBS"
26025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26029 Use char because int might match the return type of a GCC
26032 int
26046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_MD_CTX_new" >&5
26062 ntp_ssl_libs_L="-L$i"
26067 as_fn_error $? "You may want to use --without-crypto, or add
26069 --with-openssl-libdir=/some/path option to configure.
26074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: libcrypto found in $ntp_ssl_libdir" >&5
26080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Searching for openssl/evp.h without -I" >&5
26081 printf "%s\n" "$as_me: Searching for openssl/evp.h without -I" >&6;}
26096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Searching for openssl include directory" >&5
26118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Searching for openssl/evp.h in $i" >&5
26120 CPPFLAGS="$NTPSSL_SAVED_CPPFLAGS -I$i"
26135 as_fn_error $? "You may want to use --without-crypto, or add
26137 -with-openssl-incdir=/some/path option to configure.
26142 ntp_ssl_cppflags="-I$ntp_ssl_incdir"
26143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Found evp.h in $ntp_ssl_incdir/openssl" >&5
26157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if crypto works without runpath" >&5
26167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26172 int
26191 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_ssl_without_runpath" >&5
26201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if crypto needs -Wl,-rpath,$ntp_ssl_libdir" >&5
26202 printf %s "checking if crypto needs -Wl,-rpath,$ntp_ssl_libdir... " >&6; }
26208 LDFLAGS="$ntp_ssl_ldflags -Wl,-rpath,$ntp_ssl_libdir $NTPSSL_SAVED_LDFLAGS"
26211 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26221 int
26241 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_ssl_needs_dashWl_rpath" >&5
26252 ntp_ssl_ldflags="$ntp_ssl_ldflags -Wl,-rpath,$ntp_ssl_libdir"
26255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if crypto needs -R$ntp_ssl_libdir" >&5
26256 printf %s "checking if crypto needs -R$ntp_ssl_libdir... " >&6; }
26262 LDFLAGS="$NTPSSL_SAVED_LDFLAGS $ntp_ssl_ldflags -R$ntp_ssl_libdir"
26265 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26275 int
26295 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_ssl_needs_dashR" >&5
26306 ntp_ssl_ldflags="$ntp_ssl_ldflags -R$ntp_ssl_libdir"
26310 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26314 --with-openssl-libdir=/some/path option to configure.
26322 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL Phase II checks:" >&5
26328 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_incdir: ($ntp_ssl_incdir)" >&5
26334 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_libdir: ($ntp_ssl_libdir)" >&5
26340 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_cflags: ($ntp_ssl_cflags)" >&5
26346 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_cppflags: ($ntp_ssl_cppflags)" >&5
26352 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_libs_L: ($ntp_ssl_libs_L)" >&5
26358 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_libs_l: ($ntp_ssl_libs_l)" >&5
26364 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_libs: ($ntp_ssl_libs)" >&5
26370 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_ssl_ldflags: ($ntp_ssl_ldflags)" >&5
26382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if linking with $ntp_ssl_libs_l alone works" >&5
26388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26393 int
26411 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_bare_lcrypto" >&5
26419 LIBS="-$ntp_ssl_libs -lz $NTPSSL_SAVED_LIBS"
26420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if linking with $ntp_ssl_libs_l -lz works" >&5
26421 printf %s "checking if linking with $ntp_ssl_libs_l -lz works... " >&6; }
26426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26431 int
26449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_lcrypto_lz" >&5
26457 ntp_ssl_libs_l="$ntp_ssl_libs_l -lz"
26463 CFLAGS="$NTP_SAVED_CFLAGS $ntp_ssl_cflags -Werror"
26467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking If $CC supports -Werror" >&5
26468 printf %s "checking If $CC supports -Werror... " >&6; }
26473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26476 int
26491 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
26494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_gcc_supports_Werror" >&5
26501 CFLAGS="$CFLAGS -Wstrict-prototypes"
26502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if OpenSSL triggers warnings" >&5
26508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26519 int
26537 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
26540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_ssl_triggers_warnings" >&5
26552 ntp_ssl_cflags="$ntp_ssl_cflags -Wno-strict-prototypes"
26555 ntp_ssl_cflags="$ntp_ssl_cflags -Wstrict-prototypes"
26559 ntp_ssl_cflags="$ntp_ssl_cflags -Wstrict-prototypes"
26561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we will link to ssl library" >&5
26563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_openssl" >&5
26609 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL final checks:" >&5
26615 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ntp_openssl: $ntp_openssl" >&5
26621 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: CPPFLAGS_NTP: ($CPPFLAGS_NTP)" >&5
26627 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: CFLAGS_NTP: ($CFLAGS_NTP)" >&5
26633 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: LDADD_NTP: ($LDADD_NTP)" >&5
26639 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: LDFLAGS_NTP: ($LDFLAGS_NTP)" >&5
26672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want to use SSL library's secure random numbers" >&5
26674 # Check whether --enable-openssl-random was given.
26683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_use_openssl_random" >&5
26705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using SSL library's secure random number generator" >&5
26713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: SSL library's secure random number generator unavailable." >&5
26718 --enable-openssl-random was given.. Remove --enable-openssl-random
26722 WARNING: Use of ntp-keygen without a secure RNG may generate
26723 ------- keys that are predictable.
26727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: WARNING: Use of ntp-keygen without a secure RNG may generate
26728 ------- keys that are predictable.
26730 printf "%s\n" "$as_me: WARNING: WARNING: Use of ntp-keygen without a secure RNG may generate
26731 ------- keys that are predictable.
26750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26756 if test -n "$AWK"; then
26771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
26781 if test -n "$AWK"; then
26782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
26785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26790 test -n "$AWK" && break
26794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
26795 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
26796 set x ${MAKE-make}
26797 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
26808 case `${MAKE-make} -f conftest.make 2>/dev/null` in
26814 rm -f conftest.make
26817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26823 SET_MAKE="MAKE=${MAKE-make}"
26827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
26828 printf %s "checking whether ln -s works... " >&6; }
26830 if test "$LN_S" = "ln -s"; then
26831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
26842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26865 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
26876 if test -n "$PATH_PERL"; then
26877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_PERL" >&5
26880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26911 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
26922 if test -n "$PATH_TEST"; then
26923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_TEST" >&5
26926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26932 test -z "$CONFIG_SHELL" && CONFIG_SHELL=/bin/sh
26935 # Check whether --with-net-snmp-config was given.
26948 ans=net-snmp-config
26953 as_fn_error $? "--with-net-snmp-config takes either a name or an absolute path" "$LINENO" 5
26967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26990 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27001 if test -n "$PATH_NET_SNMP_CONFIG"; then
27002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_NET_SNMP_CONFIG" >&5
27005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for net-snmp-config path" >&5
27014 printf %s "checking for net-snmp-config path... " >&6; }
27015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_NET_SNMP_CONFIG" >&5
27019 /*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for net-snmp version" >&5
27020 printf %s "checking for net-snmp version... " >&6; }
27025 ntp_cv_net_snmp_version=`$PATH_NET_SNMP_CONFIG --version`
27028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_net_snmp_version" >&5
27034 *-*-vxworks*)
27039 # HMS: a check for -lnsl used to be here - now being done in NTP_LIBNTP
27040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing openlog" >&5
27047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27051 Use char because int might match the return type of a GCC
27054 int
27064 if test -z "$ac_lib"; then
27067 ac_res=-l$ac_lib
27068 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27074 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_openlog" >&5
27101 # LIBSECCOMP is off by default -- needs testing with all the features
27103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want to use libseccomp sandboxing (EXPERIMENTAL)" >&5
27105 # Check whether --enable-libseccomp was given.
27114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
27118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing seccomp_init" >&5
27125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27129 Use char because int might match the return type of a GCC
27132 int
27142 if test -z "$ac_lib"; then
27145 ac_res=-l$ac_lib
27146 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_seccomp_init" >&5
27182 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27196 int main(void)
27198 int ret;
27234 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for facilitynames in syslog.h" >&5
27249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27256 int
27273 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_HAVE_SYSLOG_FACILITYNAMES" >&5
27285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: No facilitynames in <syslog.h>" >&5
27292 *-*-*linux*) ;;
27293 *-*-osf4*) ;;
27294 *-*-osf5*) ;;
27296 # HMS: Make sure we check for -lrt for clock_* before this...
27298 '') { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sched_setscheduler" >&5
27310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27314 Use char because int might match the return type of a GCC
27317 int
27327 if test -z "$ac_lib"; then
27330 ac_res=-l$ac_lib
27331 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_setscheduler" >&5
27381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing DNSServiceRegister" >&5
27388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27392 Use char because int might match the return type of a GCC
27395 int
27405 if test -z "$ac_lib"; then
27408 ac_res=-l$ac_lib
27409 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27415 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DNSServiceRegister" >&5
27525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
27531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27538 char a[__bool_true_false_are_defined == 1 ? 1 : -1];
27551 char b[true == 1 ? 1 : -1];
27560 char d[false == 0 ? 1 : -1];
27564 char i[(bool) 0.5 == true ? 1 : -1];
27565 char j[(bool) 0.0 == false ? 1 : -1];
27566 char k[sizeof (bool) > 0 ? 1 : -1];
27569 char l[sizeof s.t > 0 ? 1 : -1];
27574 char n[sizeof m == h * sizeof m[0] ? 1 : -1];
27575 char o[-1 - (bool) 0 < 0 ? 1 : -1];
27576 /* Catch a bug in an HP-UX C compiler. See
27577 https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
27578 https://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
27602 char q[(_Bool) 0.5 == true ? 1 : -1];
27603 char r[(_Bool) 0.0 == false ? 1 : -1];
27604 char u[sizeof (_Bool) > 0 ? 1 : -1];
27605 char v[sizeof t.t > 0 ? 1 : -1];
27608 char x[sizeof m == h * sizeof m[0] ? 1 : -1];
27609 char y[-1 - (_Bool) 0 < 0 ? 1 : -1];
27614 int
27647 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
27704 *-*-aix*)
27752 *-*-sunos*|*-*-solaris*)
27816 *-*-sunos4*)
27908 *-*-netbsd*)
27990 *-convex-*)
28005 *-*-bsdi*)
28037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for atomic_thread_fence()" >&5
28043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28048 int
28066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
28069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_func_atomic_thread_fence" >&5
28075 *-*-solaris2.6)
28076 # Broken...
28096 *-*-*linux*)
28168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing nlist" >&5
28175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28179 Use char because int might match the return type of a GCC
28182 int
28192 if test -z "$ac_lib"; then
28195 ac_res=-l$ac_lib
28196 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
28202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nlist" >&5
28227 # XXX ac_cv_search_nlist will be 'none required', 'no', or '-l...'
28228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing kvm_open" >&5
28235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28239 Use char because int might match the return type of a GCC
28242 int
28252 if test -z "$ac_lib"; then
28255 ac_res=-l$ac_lib
28256 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
28262 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_kvm_open" >&5
28286 # XXX ac_cv_search_kvm_open will be 'none required', 'no', or '-l...'
28305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for n_un in struct nlist" >&5
28311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28316 int
28335 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
28338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_nlist_n_un" >&5
28415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28426 int
28429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: AF_UNSPEC is zero, as expected." >&5
28440 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
28442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
28448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28453 int
28463 ac_cv_type_signal=int
28467 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
28469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
28481 printf "%s\n" "#define off_t long int" >>confdefs.h
28485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
28491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28496 int
28500 int *p = &tm.tm_sec;
28512 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
28514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
28522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a fallback value for HZ" >&5
28531 alpha*-dec-osf4*|alpha*-dec-osf5*)
28534 mips-dec-ultrix4*)
28541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_default_hz" >&5
28547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we need to override the system's value for HZ" >&5
28556 alpha*-dec-osf4*|alpha*-dec-osf5*)
28559 mips-dec-ultrix4*)
28562 *-*-freebsd*)
28565 *-*-sunos4*)
28568 *-*-kfreebsd*)
28575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_override_hz" >&5
28586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct rt_msghdr" >&5
28592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28600 int
28618 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
28621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_rt_msghdr" >&5
28624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct rtattr" >&5
28630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28637 int
28655 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
28658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_rtattr" >&5
28674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking struct sigaction for sa_sigaction" >&5
28680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28685 int
28704 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
28707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_sigaction_has_sa_sigaction" >&5
28716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct ppsclockev" >&5
28722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28738 int
28743 return pce->serial;
28757 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
28760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_ppsclockev" >&5
28771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct snd_size" >&5
28777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28787 int
28792 return ss->rec_size;
28806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
28809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_snd_size" >&5
28819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking struct clockinfo for hz" >&5
28825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28830 int
28835 return pc->hz;
28849 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
28852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_clockinfo_has_hz" >&5
28861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking struct clockinfo for tickadj" >&5
28867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28872 int
28877 return pc->tickadj;
28891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
28894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_clockinfo_has_hz" >&5
28977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isfinite with <math.h>" >&5
28981 LIBS="$LIBS -lm"
28982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28987 int
29006 rm -f core conftest.err conftest.$ac_objext conftest.beam \
29009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
29097 *-*-sco3.2v5.0.*)
29117 *-*-aix[4-9]*)
29121 *-*-irix[45]*)
29125 # *-*-*linux*)
29128 *-*-qnx*)
29131 *-*-sco3.2v5.0.*)
29134 alpha*-dec-osf4*|alpha*-dec-osf5*)
29136 # Not easy to test for - cheat.
29203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a POSIX-2008 compliant realpath()" >&5
29204 printf %s "checking for a POSIX-2008 compliant realpath()... " >&6; }
29209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29224 int main() { return (NULL == realpath(".", NULL)); }
29233 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
29249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29255 *-*-aix[4-9]*)
29259 *-*-solaris2.5*)
29340 *-*-aix[4-9]*)
29344 *-*-netbsd1*)
29347 *-*-netbsdelf1*)
29350 *-*-openbsd*)
29366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_MEMLOCK" >&5
29372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29385 int
29403 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
29406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_rlimit_memlock" >&5
29409 *-*-*linux*)
29410 ntp_dflt_rlimit_memlock="-1" ;;
29419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_STACK" >&5
29425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29438 int
29456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
29459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_rlimit_stack" >&5
29468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the default number of 4k stack pages" >&5
29471 # Check whether --with-stack-limit was given.
29483 *-*-openbsd*)
29490 [1-9][0-9]*)
29492 *) as_fn_error $? "\"--with-stack-limit requires an integer argument.\"" "$LINENO" 5
29495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
29502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the default number of megabytes to MEMLOCK" >&5
29505 # Check whether --with-memlock was given.
29518 [1-9][0-9]*) ;;
29519 *) as_fn_error $? "\"--with-memlock requires an integer argument.\"" "$LINENO" 5
29522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
29582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we need extra help to define struct iovec" >&5
29591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29604 int
29610 int s = 0;
29613 int flags = 0;
29628 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
29638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_iovec_help" >&5
29648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking number of arguments taken by setpgrp()" >&5
29654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29664 int
29682 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
29685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_func_setpgrp_nargs" >&5
29694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we need to declare 'errno'" >&5
29700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29707 int
29725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
29728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_decl_errno" >&5
29737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we may declare 'h_errno'" >&5
29743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29760 int
29764 extern int h_errno;
29778 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
29781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_decl_h_errno" >&5
29790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if declaring 'syscall()' is ok" >&5
29796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29806 int
29810 extern int syscall (int, ...);
29824 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
29827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_decl_syscall" >&5
29837 *-*-aix4.3.*)
29842 *-*-mpeix*)
29865 *-*-osf[45]*)
29873 *-*-qnx*)
29878 *-*-riscos4*)
29928 *-*-solaris2*)
29936 *-*-solaris2.4)
29943 *-*-sunos4*)
30012 *-*-ultrix4*)
30059 *-*-sco3.2*)
30067 *-*-hpux[567]*)
30073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we will open the broadcast socket" >&5
30082 *-*-domainos)
30089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_var_open_bcast_socket" >&5
30099 *-*-hpux*)
30105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if process groups are set with -pid" >&5
30106 printf %s "checking if process groups are set with -pid... " >&6; }
30113 *-*-hpux[567]*)
30116 *-*-hpux*)
30119 *-*-*linux*)
30122 *-*-sunos3*)
30125 *-*-ultrix2*)
30136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_arg_setpgrp_negpid" >&5
30145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we need a ctty for F_SETOWN" >&5
30153 *-*-bsdi[23]*)
30156 *-*-freebsd*)
30163 *-*-netbsd*[a-z]3.[0-8]*|*-*-netbsd*[a-z][0-2].*|*-*-netbsd*[a-z]3.99.[0-7])
30166 *-*-netbsd3.[0-8]*|*-*-netbsd[0-2].*|*-*-netbsd3.99.[0-7])
30169 *-*-openbsd*)
30172 *-*-osf*)
30175 *-*-darwin*)
30186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_func_ctty_for_f_setown" >&5
30195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the OS clears cached routes when more specifics become available" >&5
30203 *-*-netbsd*)
30214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_os_routeupdates" >&5
30223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the wildcard socket needs REUSEADDR to bind other addresses" >&5
30231 *-*-*linux*)
30241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_os_wildcardreuse" >&5
30251 *-*-aix*)
30257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a minimum recommended value of tickadj" >&5
30266 *-*-aix*)
30274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_var_min_rec_tickadj" >&5
30285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the TTY code permits PARENB and IGNPAR" >&5
30294 i?86-*-*linux*)
30297 mips-sgi-irix*)
30300 i?86-*-freebsd[123].*)
30302 i?86-*-freebsd*)
30305 *-*-unicosmp*)
30313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_no_parenb_ignpar" >&5
30322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we're including processing time debugging code" >&5
30324 # Check whether --enable-debug-timing was given.
30339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
30342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a the number of minutes in a DST adjustment" >&5
30344 # Check whether --enable-dst-minutes was given.
30356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
30359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ntpd will retry permanent DNS failures" >&5
30361 # Check whether --enable-ignore-dns-errors was given.
30376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
30379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking availability of ntp_{adj,get}time()" >&5
30395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30409 rm -f conftest.err conftest.i conftest.$ac_ext
30415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_var_ntp_syscalls" >&5
30430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sys/timex.h has STA_FLL" >&5
30436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30452 rm -f conftest.err conftest.i conftest.$ac_ext
30455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_var_sta_fll" >&5
30458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we have kernel PLL support" >&5
30474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_var_kernel_pll" >&5
30483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if SIOCGIFCONF returns buffer size in the buffer" >&5
30492 *-fujitsu-uxp*)
30495 *-ncr-sysv4*)
30498 *-univel-sysv*)
30506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_size_returned_in_buffer" >&5
30516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TTY PPS ioctl TIOCGPPSEV" >&5
30520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30536 rm -f conftest.err conftest.i conftest.$ac_ext
30548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
30552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TTY PPS ioctl TIOCSPPS" >&5
30556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30572 rm -f conftest.err conftest.i conftest.$ac_ext
30584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
30588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TTY PPS ioctl CIOGETEV" >&5
30592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30608 rm -f conftest.err conftest.i conftest.$ac_ext
30620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
30658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking ioctl TIOCGSERIAL, TIOCSSERIAL, ASYNC_PPS_CD_POS, ASYNC_PPS_CD_NEG" >&5
30660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30664 typedef int u_int;
30692 rm -f conftest.err conftest.i conftest.$ac_ext
30693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
30708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking SHMEM_STATUS support" >&5
30724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
30730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Datum/Bancomm bc635/VME interface" >&5
30732 # Check whether --enable-BANCOMM was given.
30747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing bcStartPci" >&5
30754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30758 Use char because int might match the return type of a GCC
30761 int
30771 if test -z "$ac_lib"; then
30774 ac_res=-l$ac_lib
30775 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
30781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
30797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bcStartPci" >&5
30808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
30811 yes*-*-hpux*) ;;
30812 yes*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** But the expected answer is... no ***" >&5
30817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking TrueTime GPS receiver/VME interface" >&5
30819 # Check whether --enable-GPSVME was given.
30836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
30839 yes*-*-hpux*) ;;
30840 yes*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** But the expected answer is... no ***" >&5
30844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PCL720 clock support" >&5
30845 printf %s "checking for PCL720 clock support... " >&6; }
30857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
30860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for default inclusion of all suitable non-PARSE clocks" >&5
30861 printf %s "checking for default inclusion of all suitable non-PARSE clocks... " >&6; }
30862 # Check whether --enable-all-clocks was given.
30871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_eac" >&5
30875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we have support for PARSE clocks" >&5
30884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_canparse" >&5
30887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we have support for audio clocks" >&5
30898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_canaudio" >&5
30901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we have support for the SHM refclock interface" >&5
30909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_canshm" >&5
30913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for termios modem control" >&5
30919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30932 int
30936 int dtr = TIOCM_DTR;
30952 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
30955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_modem_control" >&5
30967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking ACTS modem service" >&5
30969 # Check whether --enable-ACTS was given.
30986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
30989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Arbiter 1088A/B GPS receiver" >&5
30991 # Check whether --enable-ARBITER was given.
31008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Arcron MSF receiver" >&5
31013 # Check whether --enable-ARCRON_MSF was given.
31030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Austron 2200A/2201A GPS receiver" >&5
31035 # Check whether --enable-AS2201 was given.
31052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking ATOM PPS interface" >&5
31057 # Check whether --enable-ATOM was given.
31077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Chrono-log K-series WWVB receiver" >&5
31081 printf %s "checking Chrono-log K-series WWVB receiver... " >&6; }
31082 # Check whether --enable-CHRONOLOG was given.
31099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking CHU modem/decoder" >&5
31104 # Check whether --enable-CHU was given.
31121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking CHU audio/decoder" >&5
31127 # Check whether --enable-AUDIO-CHU was given.
31141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31145 yes*no*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** But the expected answer is...no ***" >&5
31149 # Not under HP-UX
31150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Datum Programmable Time System" >&5
31152 # Check whether --enable-DATUM was given.
31177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Dumb generic hh:mm:ss local clock" >&5
31181 printf %s "checking Dumb generic hh:mm:ss local clock... " >&6; }
31182 # Check whether --enable-DUMBCLOCK was given.
31199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Forum Graphic GPS" >&5
31204 # Check whether --enable-FG was given.
31221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Heath GC-1000 WWV/WWVH receiver" >&5
31226 printf %s "checking Heath GC-1000 WWV/WWVH receiver... " >&6; }
31227 # Check whether --enable-HEATH was given.
31244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hopf serial clock device" >&5
31248 printf %s "checking for hopf serial clock device... " >&6; }
31249 # Check whether --enable-HOPFSERIAL was given.
31266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hopf PCI clock 6039" >&5
31270 printf %s "checking for hopf PCI clock 6039... " >&6; }
31271 # Check whether --enable-HOPFPCI was given.
31288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking HP 58503A GPS receiver" >&5
31293 # Check whether --enable-HPGPS was given.
31310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking IRIG audio decoder" >&5
31315 # Check whether --enable-IRIG was given.
31337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31340 yesno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** But the expected answer is... no ***" >&5
31344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for JJY receiver" >&5
31346 # Check whether --enable-JJY was given.
31363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Rockwell Jupiter GPS receiver" >&5
31368 # Check whether --enable-JUPITER was given.
31387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Leitch CSD 5300 Master Clock System Driver" >&5
31391 printf %s "checking Leitch CSD 5300 Master Clock System Driver... " >&6; }
31392 # Check whether --enable-LEITCH was given.
31409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking local clock reference" >&5
31413 printf %s "checking local clock reference... " >&6; }
31414 # Check whether --enable-LOCAL-CLOCK was given.
31431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Magnavox MX4200 GPS receiver" >&5
31438 # Check whether --enable-MX4200 was given.
31464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31467 yes*-*-ultrix*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** But the expected answer is... no ***" >&5
31471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for NeoClock4X receiver" >&5
31473 # Check whether --enable-NEOCLOCK4X was given.
31490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking NMEA GPS receiver" >&5
31495 # Check whether --enable-NMEA was given.
31512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GPSD JSON receiver" >&5
31524 # Check whether --enable-GPSD was given.
31544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ONCORE Motorola VP/UT Oncore GPS" >&5
31549 # Check whether --enable-ONCORE was given.
31569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Palisade clock" >&5
31574 printf %s "checking for Palisade clock... " >&6; }
31575 # Check whether --enable-PALISADE was given.
31592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Conrad parallel port radio clock" >&5
31596 printf %s "checking Conrad parallel port radio clock... " >&6; }
31597 # Check whether --enable-PCF was given.
31614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking PST/Traconex 1020 WWV/WWVH receiver" >&5
31619 # Check whether --enable-PST was given.
31636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking RIPENCC specific Trimble driver" >&5
31641 # Check whether --enable-RIPENCC was given.
31650 # 020629: HMS: s/$ntp_eac -> -/no because of ptr += sprintf(ptr, ...) usage
31662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SHM clock attached thru shared memory" >&5
31668 printf %s "checking for SHM clock attached thru shared memory... " >&6; }
31669 # Check whether --enable-SHM was given.
31691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Spectracom 8170/Netclock/2 WWVB receiver" >&5
31696 # Check whether --enable-SPECTRACOM was given.
31713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking KSI/Odetics TPRO/S GPS receiver/IRIG interface" >&5
31718 # Check whether --enable-TPRO was given.
31744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31747 yesno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** But the expected answer is... no ***" >&5
31751 # Not on a vax-dec-bsd
31752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Kinemetrics/TrueTime receivers" >&5
31754 # Check whether --enable-TRUETIME was given.
31761 vax-dec-bsd)
31780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31783 yesvax-dec-bsd) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** But the expected answer is... no ***" >&5
31787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking TrueTime 560 IRIG-B decoder" >&5
31788 printf %s "checking TrueTime 560 IRIG-B decoder... " >&6; }
31789 # Check whether --enable-TT560 was given.
31806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Ultralink M320 WWVB receiver" >&5
31811 # Check whether --enable-ULINK was given.
31828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Spectracom TSYNC PCI timing board" >&5
31833 # Check whether --enable-TSYNCPCI was given.
31840 *-*-*linux*)
31858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking WWV receiver" >&5
31863 # Check whether --enable-WWV was given.
31885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31888 yesno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** But the expected answer is... no ***" >&5
31892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Zyfer receiver" >&5
31894 # Check whether --enable-ZYFER was given.
31911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for default inclusion of all suitable PARSE clocks" >&5
31916 # Check whether --enable-parse-clocks was given.
31932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_eapc" >&5
31937 as_fn_error $? "\"--enable-parse-clocks\" requires \"--enable-all-clocks\"." "$LINENO" 5
31940 as_fn_error $? "You said \"--enable-parse-clocks\" but PARSE isn't supported on this platform!" "$LINENO" 5
31948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Diem Computime Radio Clock" >&5
31949 printf %s "checking Diem Computime Radio Clock... " >&6; }
31950 # Check whether --enable-COMPUTIME was given.
31968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31972 as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
31975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking ELV/DCF7000 clock" >&5
31976 printf %s "checking ELV/DCF7000 clock... " >&6; }
31977 # Check whether --enable-DCF7000 was given.
31995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
31999 as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
32002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking HOPF 6021 clock" >&5
32003 printf %s "checking HOPF 6021 clock... " >&6; }
32004 # Check whether --enable-HOPF6021 was given.
32022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
32026 as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
32029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Meinberg clocks" >&5
32031 # Check whether --enable-MEINBERG was given.
32049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
32053 as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
32056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking DCF77 raw time code" >&5
32058 # Check whether --enable-RAWDCF was given.
32078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
32082 as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
32087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we must enable parity for RAWDCF" >&5
32096 *-*-*linux*)
32104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_rawdcf_parity" >&5
32114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking RCC 8000 clock" >&5
32115 printf %s "checking RCC 8000 clock... " >&6; }
32116 # Check whether --enable-RCC8000 was given.
32134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
32138 as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
32141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Schmid DCF77 clock" >&5
32142 printf %s "checking Schmid DCF77 clock... " >&6; }
32143 # Check whether --enable-SCHMID was given.
32161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
32165 as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
32168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Trimble GPS receiver/TAIP protocol" >&5
32170 # Check whether --enable-TRIMTAIP was given.
32188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
32192 as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
32195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Trimble GPS receiver/TSIP protocol" >&5
32197 # Check whether --enable-TRIMTSIP was given.
32215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
32219 as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
32222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking WHARTON 400A Series clock" >&5
32223 printf %s "checking WHARTON 400A Series clock... " >&6; }
32224 # Check whether --enable-WHARTON was given.
32242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
32246 as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
32249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking VARITEXT clock" >&5
32250 printf %s "checking VARITEXT clock... " >&6; }
32251 # Check whether --enable-VARITEXT was given.
32269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
32273 as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
32276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking SEL240X clock" >&5
32277 printf %s "checking SEL240X clock... " >&6; }
32278 # Check whether --enable-SEL240X was given.
32293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
32297 as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
32306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we need to make and use the parse libraries" >&5
32320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
32324 # Check whether --enable-autokey was given.
32339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Disabling Autokey, crypto unavailable." >&5
32352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if NTP Autokey protocol will be supported" >&5
32354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_autokey" >&5
32358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want to run check-layout" >&5
32359 printf %s "checking if we want to run check-layout... " >&6; }
32362 MAKE_CHECK_LAYOUT=check-layout
32369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
32374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can make dcf parse utilities" >&5
32380 *-*-sunos4*|*-*-solaris2*|*-*-*linux*|*-*-netbsd*)
32387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
32391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can build kernel streams modules for parse" >&5
32397 sparc-*-sunos4*)
32408 sparc-*-solaris2*)
32422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
32425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we need basic refclock support" >&5
32434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_refclock" >&5
32441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want HP-UX adjtimed support" >&5
32442 printf %s "checking if we want HP-UX adjtimed support... " >&6; }
32444 *-*-hpux[56789]*)
32463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
32466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want QNX adjtime support" >&5
32469 *-*-qnx*)
32482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
32485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can read kmem" >&5
32499 *-*-domainos) # Won't be found...
32502 *-*-hpux*)
32505 *-*-irix[456]*)
32508 *-*-*linux*)
32511 *-*-winnt3.5)
32514 *-*-unicosmp*)
32519 # --enable-kmem / --disable-kmem controls if present
32520 # Check whether --enable-kmem was given.
32528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
32543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if adjtime is accurate" >&5
32546 # target-dependent defaults
32549 i386-sequent-ptx*)
32552 i386-unknown-osf1*)
32555 mips-sgi-irix[456]*)
32558 *-fujitsu-uxp*)
32561 *-ibm-aix[4-9]*)
32565 *-*-*linux*)
32568 *-*-solaris2.[01])
32571 *-*-solaris2*)
32574 *-*-unicosmp*)
32581 # --enable-accurate-adjtime / --disable-accurate-adjtime
32583 # Check whether --enable-accurate-adjtime was given.
32591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
32606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name of 'tick' in the kernel" >&5
32615 m68*-hp-hpux*) # HP9000/300?
32618 *-apple-aux[23]*)
32621 *-hp-hpux*)
32624 *-ibm-aix[3-9]*)
32628 *-*-mpeix*)
32631 *-*-ptx*)
32634 *-*-sco3.2v[45]*)
32637 *-*-solaris2*)
32640 *-*-sysv4*)
32648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_nlist_tick" >&5
32659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the units of 'tick'" >&5
32668 *-*-solaris2*)
32676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_tick_nano" >&5
32685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name of 'tickadj' in the kernel" >&5
32694 m68*-hp-hpux*) # HP9000/300?
32697 *-apple-aux[23]*)
32700 *-hp-hpux10*)
32703 *-hp-hpux9*)
32706 *-hp-hpux*)
32709 *-*-aix*)
32712 *-*-mpeix*)
32715 *-*-ptx*)
32718 *-*-sco3.2v4*)
32721 *-*-sco3.2v5.0*)
32724 *-*-solaris2*)
32727 *-*-sysv4*)
32735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_nlist_tickadj" >&5
32746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the units of 'tickadj'" >&5
32755 *-*-solaris2*)
32763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_tickadj_nano" >&5
32772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking half-heartedly for 'dosynctodr' in the kernel" >&5
32773 printf %s "checking half-heartedly for 'dosynctodr' in the kernel... " >&6; }
32780 *-apple-aux[23]*)
32783 *-sni-sysv*)
32786 *-stratus-vos)
32789 *-*-aix*)
32792 *-*-hpux*)
32795 *-*-mpeix*)
32798 *-*-nextstep*)
32801 *-*-ptx*)
32804 *-*-sco3.2v4*)
32807 *-*-sco3.2v5*)
32810 *-*-solaris2*)
32813 *-*-sysv4*)
32824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_nlist_dosynctodr" >&5
32836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking half-heartedly for 'noprintf' in the kernel" >&5
32837 printf %s "checking half-heartedly for 'noprintf' in the kernel... " >&6; }
32844 *-apple-aux[23]*)
32847 *-sni-sysv*)
32850 *-stratus-vos)
32853 *-*-aix*)
32856 *-*-hpux*)
32859 *-*-mpeix*)
32862 *-*-ptx*)
32865 *-*-nextstep*)
32868 *-*-solaris2*)
32871 *-*-sysv4*)
32882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_nlist_noprintf" >&5
32897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a default value for 'tick'" >&5
32900 # target-dependent default for tick
32903 *-*-pc-cygwin*)
32906 *-univel-sysv*)
32909 *-*-irix*)
32912 *-*-*linux*)
32915 *-*-mpeix*)
32918 *-*-winnt3.5)
32921 *-*-unicosmp*)
32929 # Check whether --enable-tick was given.
32937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
32949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a default value for 'tickadj'" >&5
32952 # target-specific default
32955 *-fujitsu-uxp*)
32961 *-univel-sysv*)
32964 *-*-aix*)
32971 *-*-domainos) # Skippy: won't be found...
32978 *-*-hpux*)
32985 *-*-irix*)
32988 *-*-mpeix*)
32991 *-*-sco3.2v5.0*)
32994 *-*-winnt3.5)
32997 *-*-unicosmp*)
33002 # Check whether --enable-tickadj was given.
33010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
33029 mips-sni-sysv4*)
33036 *-*-sco3.2v5*)
33045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Can't read kmem, no PRESET_TICK or PRESET_TICKADJ. No tickadj." >&5
33050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Can't read kmem but no PRESET_TICK. No tickadj." >&5
33055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Can't read kmem but no PRESET_TICKADJ. No tickadj." >&5
33064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: PRESET_TICKADJ is defined but not PRESET_TICK. Please report this." >&5
33077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want and can make the ntptime utility" >&5
33096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_make_ntptime" >&5
33112 mips-sni-sysv4*)
33117 *-*-irix*)
33120 *-*-solaris2*)
33121 # DLM says tickadj is a no-no starting with solaris2.5
33123 *-*-solaris2.1[0-9]*)
33126 *-*-solaris2.[0-4]*) ;;
33130 *-*-unicosmp*)
33144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want and can make the tickadj utility" >&5
33153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_make_tickadj" >&5
33172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want and can make the timetrim utility" >&5
33180 *-*-irix*)
33183 *-*-unicosmp*)
33193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_make_timetrim" >&5
33209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want to build the NTPD simulator" >&5
33211 # Check whether --enable-simulator was given.
33220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
33239 *-*-vxworks*)
33240 LDFLAGS="$LDFLAGS -r"
33248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sntp will be built" >&5
33251 # Check whether --with-sntp was given.
33269 if test -n "$SNTP"; then
33277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sntp" >&5
33282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want to build ntpsnmpd" >&5
33285 # Check whether --with-ntpsnmpd was given.
33299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
33305 SNMP_LIBS=`$PATH_NET_SNMP_CONFIG --agent-libs`
33308 5.3*) SNMP_LIBS=`echo $SNMP_LIBS | $SED -e 's/-lnetsnmpagent/-lnetsnmpagent -lnetsnmpmibs/'`
33313 foo=`$PATH_NET_SNMP_CONFIG --cflags`
33318 -D*|-U*|-I*)
33334 ac_fn_c_check_header_compile "$LINENO" "net-snmp/net-snmp-config.h" "ac_cv_header_net_snmp_net_snmp_config_h" "$ac_includes_default"
33339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: net-snmp-config present but net-snmp headers are not available!" >&5
33340 printf "%s\n" "$as_me: WARNING: net-snmp-config present but net-snmp headers are not available!" >&2;}
33346 # check -lnetsnmp for netsnmp_daemonize
33347 LIBS=`$PATH_NET_SNMP_CONFIG --libs`
33348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for netsnmp_daemonize in -lnetsnmp" >&5
33349 printf %s "checking for netsnmp_daemonize in -lnetsnmp... " >&6; }
33355 LIBS="-lnetsnmp $LIBS"
33356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33360 Use char because int might match the return type of a GCC
33363 int
33377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
33381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_netsnmp_netsnmp_daemonize" >&5
33406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Cannot build ntpsnmpd - net-snmp-config cannot be found" >&5
33407 printf "%s\n" "$as_me: WARNING: Cannot build ntpsnmpd - net-snmp-config cannot be found" >&2;}
33423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we should always slew the time" >&5
33426 # target-specific defaults
33429 *-apple-aux[23]*)
33432 *-*-bsdi[012]*)
33435 *-*-bsdi*)
33438 *-*-openvms*) # HMS: won't be found
33445 # --enable-slew-always / --disable-slew-always overrides default
33447 # Check whether --enable-slew-always was given.
33455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
33465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we should step and slew the time" >&5
33469 *-sni-sysv*)
33472 *-stratus-vos)
33475 *-univel-sysv*)
33478 *-*-ptx*)
33481 *-*-solaris2.1[0-9]*)
33484 *-*-solaris2.[012]*)
33487 *-*-sysv4*) # HMS: Does this catch Fujitsu UXP?
33494 # Check whether --enable-step-slew was given.
33502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
33512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ntpdate should step the time" >&5
33516 *-apple-aux[23]*)
33523 # Check whether --enable-ntpdate-step was given.
33531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
33542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we should sync TODR clock every hour" >&5
33543 printf %s "checking if we should sync TODR clock every hour... " >&6; }
33546 *-*-nextstep*)
33549 *-*-openvms*) # HMS: won't be found
33557 # Check whether --enable-hourly-todr-sync was given.
33565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
33576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we should avoid kernel FLL bug" >&5
33580 *-*-solaris2.6)
33581 unamev=`uname -v`
33583 Generic_105181-*)
33585 IFS="-"
33588 if test "$2" -ge 17
33590 # Generic_105181-17 and higher
33601 *-*-solaris2.7)
33602 unamev=`uname -v`
33604 Generic_106541-*)
33606 IFS="-"
33609 if test "$2" -ge 07
33611 # Generic_106541-07 and higher
33627 # Check whether --enable-kernel-fll-bug was given.
33635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
33646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want new session key behavior" >&5
33648 # Check whether --enable-bug1243-fix was given.
33657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
33667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want the explicit 127.0.0.0/8 martian filter" >&5
33669 # Check whether --enable-bug3020-fix was given.
33678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
33688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want correct mode7 fudgetime2 behavior" >&5
33690 # Check whether --enable-bug3527-fix was given.
33699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
33709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want a debug assert on an OOB KoD RATE value" >&5
33711 # Check whether --enable-bug3767-fix was given.
33720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
33730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we should use the IRIG sawtooth filter" >&5
33734 *-*-solaris2.[89])
33737 *-*-solaris2.1[0-9]*)
33744 # Check whether --enable-irig-sawtooth was given.
33752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
33762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we should enable NIST lockclock scheme" >&5
33764 # Check whether --enable-nist was given.
33774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
33784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want support for Samba's signing daemon" >&5
33786 # Check whether --enable-ntp-signd was given.
33796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
33823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want 'magic' PPS support" >&5
33825 # Check whether --enable-magicpps was given.
33834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
33873 LSCF='-lscf'
33879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_storage" >&5
33885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33898 int
33916 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
33919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_sockaddr_storage" >&5
33926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sockaddr_storage.__ss_family" >&5
33932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33945 int
33964 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
33967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_have___ss_family" >&5
33982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for in_port_t" >&5
33988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33994 int
34013 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $isc_cv_have_in_port_t" >&5
34025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking type of socklen arg for getsockname()" >&5
34034 for ntp_cv_getsockname_socklen_type in 'socklen_t' 'size_t' 'unsigned int' 'int'; do
34035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34045 int
34050 getsockname(int, $getsockname_arg2,
34062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_getsockname_socklen_type" >&5
34080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking struct sockaddr for sa_len" >&5
34086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34092 int
34097 return ps->sa_len;
34111 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $isc_cv_platform_havesalen" >&5
34123 # Check whether --enable-ipv6 was given.
34133 powerpc-ibm-aix4*)
34148 *-*-darwin*)
34155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IPv6 structures" >&5
34161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34168 int
34186 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $isc_cv_found_ipv6" >&5
34193 # See whether IPv6 support is provided via a Kame add-on.
34196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Kame IPv6 support" >&5
34199 # Check whether --with-kame was given.
34220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
34224 if test -f $kame_path/lib/libinet6.a; then
34225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $kame_path/lib/libinet6.a" >&5
34227 LIBS="-L$kame_path/lib -linet6 $LIBS"
34233 configure --with-kame=PATH
34241 # Including it on Kame-using platforms is very bad, though, because
34243 # the platform that is otherwise broken without it -- BSD/OS 4.0 through 4.1.
34248 *-bsdi4.[01]*)
34263 *-sco-sysv*uw*|*-*-sysv*UnixWare*|*-*-sysv*OpenUNIX*)
34280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for in6_pktinfo" >&5
34286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34295 int
34313 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $isc_cv_have_in6_pktinfo" >&5
34327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sockaddr_in6.sin6_scope_id" >&5
34333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34342 int
34361 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $isc_cv_have_sin6_scope_id" >&5
34378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for in6addr_any" >&5
34387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34395 int
34413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
34420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $isc_cv_in6addr_any_links" >&5
34431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrconf" >&5
34437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34443 int
34461 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $isc_cv_struct_if_laddrconf" >&5
34474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrreq" >&5
34480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34486 int
34504 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $isc_cv_struct_if_laddrreq" >&5
34517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for multicast IP support" >&5
34526 i386-sequent-sysv4)
34529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34536 int
34552 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_multicast" >&5
34565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking arg type needed for setsockopt() IP*_MULTICAST_LOOP" >&5
34573 *-*-netbsd*|*-*-*linux*)
34583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_typeof_ip_multicast_loop" >&5
34590 # Check whether --enable-getifaddrs was given.
34602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --enable-getifaddrs=glibc is no longer required" >&5
34603 printf "%s\n" "$as_me: WARNING: --enable-getifaddrs=glibc is no longer required" >&2;}
34627 *-hp-hpux*)
34628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing if_nametoindex" >&5
34635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34639 Use char because int might match the return type of a GCC
34642 int
34652 if test -z "$ac_lib"; then
34655 ac_res=-l$ac_lib
34656 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
34662 rm -f core conftest.err conftest.$ac_objext conftest.beam \
34678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_if_nametoindex" >&5
34712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for interface list sysctl" >&5
34718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34736 rm -f conftest.err conftest.i conftest.$ac_ext
34739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_iflist_sysctl" >&5
34750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want the saveconfig mechanism" >&5
34752 # Check whether --enable-saveconfig was given.
34778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
34783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want the experimental leap smear code" >&5
34785 # Check whether --enable-leap-smear was given.
34805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
34810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want dynamic interleave support" >&5
34812 # Check whether --enable-dynamic-interleave was given.
34830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
34840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
34874 if test -n "$PATH_RUBY"; then
34875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_RUBY" >&5
34878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
34908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we want to enable tests with undiagnosed problems" >&5
34910 # Check whether --enable-problem-tests was given.
34919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_ept" >&5
34922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can run test-ntp_restrict" >&5
34923 printf %s "checking if we can run test-ntp_restrict... " >&6; }
34926 no:0:*-*-freebsd6.4) ;;
34927 no:0:*-*-hpux11.23*) ;;
34928 no:0:*-*-solaris*) ;;
34935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_test_ntp_restrict" >&5
34946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can run test-ntp_scanner" >&5
34947 printf %s "checking if we can run test-ntp_scanner... " >&6; }
34950 no:0:*-*-freebsd6.4) ;;
34951 no:0:*-*-solaris*) ;;
34958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_test_ntp_scanner" >&5
34969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can run test-ntp_signd" >&5
34970 printf %s "checking if we can run test-ntp_signd... " >&6; }
34973 no:0:*-*-freebsd6.4) ;;
34974 no:0:*-*-solaris*) ;;
34981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ntp_test_ntp_signd" >&5
35082 ac_config_files="$ac_config_files scripts/ntp-wait/Makefile"
35084 ac_config_files="$ac_config_files scripts/ntp-wait/ntp-wait"
35100 ac_config_files="$ac_config_files scripts/update-leap/Makefile"
35102 ac_config_files="$ac_config_files scripts/update-leap/update-leap"
35106 ac_config_files="$ac_config_files tests/bug-2803/Makefile"
35116 ac_config_files="$ac_config_files tests/sec-2853/Makefile"
35138 calc_tickadj_opts="$srcdir/scripts/calc_tickadj/calc_tickadj-opts"
35140 ntp_wait_opts="$srcdir/scripts/ntp-wait/ntp-wait-opts"
35142 ntpsweep_opts="$srcdir/scripts/ntpsweep/ntpsweep-opts"
35144 ntptrace_opts="$srcdir/scripts/ntptrace/ntptrace-opts"
35146 summary_opts="$srcdir/scripts/summary-opts"
35148 plot_summary_opts="$srcdir/scripts/plot_summary-opts"
35159 # scripts and configure runs, see configure's option --config-cache.
35164 # the --recheck option to rerun configure.
35178 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
35183 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
35197 # `set' does not quote correctly, so add quotes: double-quote
35199 sed -n \
35205 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
35219 if test -w "$cache_file"; then
35221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
35223 if test ! -f "$cache_file" || test -h "$cache_file"; then
35228 mv -f confcache "$cache_file"$$ &&
35229 mv -f "$cache_file"$$ "$cache_file" ;; #(
35231 mv -f confcache "$cache_file" ;;
35236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
35240 rm -f confcache
35246 DEFS=-DHAVE_CONFIG_H
35265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
35267 if test -n "$am_sleep_pid"; then
35271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
35273 if test -n "$EXEEXT"; then
35281 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
35285 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
35290 if test -z "${VPATH_HACK_TRUE}" && test -z "${VPATH_HACK_FALSE}"; then
35294 if test -z "${WANT_CALC_TICKADJ_MS_TRUE}" && test -z "${WANT_CALC_TICKADJ_MS_FALSE}"; then
35298 if test -z "${INSTALL_NTPSWEEP_TRUE}" && test -z "${INSTALL_NTPSWEEP_FALSE}"; then
35302 if test -z "${INSTALL_UPDATE_LEAP_TRUE}" && test -z "${INSTALL_UPDATE_LEAP_FALSE}"; then
35306 if test -z "${GL_GENERATE_STDNORETURN_H_TRUE}" && test -z "${GL_GENERATE_STDNORETURN_H_FALSE}"; then
35310 if test -z "${INSTALL_LIBOPTS_TRUE}" && test -z "${INSTALL_LIBOPTS_FALSE}"; then
35314 if test -z "${NEED_LIBOPTS_TRUE}" && test -z "${NEED_LIBOPTS_FALSE}"; then
35318 if test -z "${BUILD_LIBEVENT_TRUE}" && test -z "${BUILD_LIBEVENT_FALSE}"; then
35322 if test -z "${NTP_CROSSCOMPILE_TRUE}" && test -z "${NTP_CROSSCOMPILE_FALSE}"; then
35326 if test -z "${PTHREADS_TRUE}" && test -z "${PTHREADS_FALSE}"; then
35330 if test -z "${LIBNTP_SUBMAKES_TRUE}" && test -z "${LIBNTP_SUBMAKES_FALSE}"; then
35334 if test -z "${BUILD_SNTP_TRUE}" && test -z "${BUILD_SNTP_FALSE}"; then
35338 if test -z "${SAVECONFIG_ENABLED_TRUE}" && test -z "${SAVECONFIG_ENABLED_FALSE}"; then
35342 if test -z "${UNITYBUILD_AVAILABLE_TRUE}" && test -z "${UNITYBUILD_AVAILABLE_FALSE}"; then
35346 if test -z "${BUILD_TEST_NTP_RESTRICT_TRUE}" && test -z "${BUILD_TEST_NTP_RESTRICT_FALSE}"; then
35350 if test -z "${BUILD_TEST_NTP_SCANNER_TRUE}" && test -z "${BUILD_TEST_NTP_SCANNER_FALSE}"; then
35354 if test -z "${BUILD_TEST_NTP_SIGND_TRUE}" && test -z "${BUILD_TEST_NTP_SIGND_FALSE}"; then
35363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
35377 SHELL=\${CONFIG_SHELL-$SHELL}
35381 ## -------------------- ##
35383 ## -------------------- ##
35392 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
35394 alias -g '${1+"$@"}'='"$@"'
35397 case `(set -o) 2>/dev/null` in #(
35399 set -o posix ;; #(
35413 # Quoting is to prevent editors from complaining about space-tab.
35423 # Ensure predictable behavior from utilities with locale-dependent output.
35430 # to be unset--not just set to an empty or harmless value--now, to
35431 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
35447 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
35448 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
35467 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
35478 if test ! -f "$as_myself"; then
35486 # ----------------------------------------
35492 as_status=$1; test $as_status -eq 0 && as_status=1
35494 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
35495 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
35504 # -----------------------
35512 # -----------------
35513 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
35522 # ---------------
35531 # ----------------------
35550 # ------------------
35563 as_val=`expr "$@" || test $? -eq 1`
35575 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
35581 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
35587 as_me=`$as_basename -- "$0" ||
35618 case `echo -n x` in #(((((
35619 -n*)
35627 ECHO_N='-n';;
35630 # For backward compatibility with old third-party macros, we provide
35636 rm -f conf$$ conf$$.exe conf$$.file
35637 if test -d conf$$.dir; then
35638 rm -f conf$$.dir/conf$$.file
35640 rm -f conf$$.dir
35644 if ln -s conf$$.file conf$$ 2>/dev/null; then
35645 as_ln_s='ln -s'
35647 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
35648 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
35649 # In both cases, we have to default to `cp -pR'.
35650 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
35651 as_ln_s='cp -pR'
35655 as_ln_s='cp -pR'
35658 as_ln_s='cp -pR'
35660 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
35665 # -------------
35671 -*) as_dir=./$as_dir;;
35673 test -d "$as_dir" || eval $as_mkdir_p || {
35681 as_dir=`$as_dirname -- "$as_dir" ||
35704 test -d "$as_dir" && break
35706 test -z "$as_dirs" || eval "mkdir $as_dirs"
35707 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
35711 if mkdir -p . 2>/dev/null; then
35712 as_mkdir_p='mkdir -p "$as_dir"'
35714 test -d ./-p && rmdir ./-p
35720 # -----------------------
35724 test -f "$1" && test -x "$1"
35726 as_test_x='test -x'
35737 ## ----------------------------------- ##
35739 ## ----------------------------------- ##
35757 on `(hostname || uname -n) 2>/dev/null | sed 1q`
35787 -h, --help print this help, then exit
35788 -V, --version print version number and configuration settings, then exit
35789 --config print configuration, then exit
35790 -q, --quiet, --silent
35792 -d, --debug don't remove temporary files
35793 --recheck update $as_me by reconfiguring in the same conditions
35794 --file=FILE[:TEMPLATE]
35796 --header=FILE[:TEMPLATE]
35830 test -n "\$AWK" || AWK=awk
35839 --*=?*)
35844 --*=)
35858 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35860 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
35862 --config | --confi | --conf | --con | --co | --c )
35864 --debug | --debu | --deb | --de | --d | -d )
35866 --file | --fil | --fi | --f )
35874 --header | --heade | --head | --hea )
35881 --he | --h)
35882 # Conflict between --help and --header
35884 Try \`$0 --help' for more information.";;
35885 --help | --hel | -h )
35887 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35888 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35892 -*) as_fn_error $? "unrecognized option: \`$1'
35893 Try \`$0 --help' for more information." ;;
35906 ac_configure_extra_args="$ac_configure_extra_args --silent"
35912 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35925 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35934 # INIT-COMMANDS
35936 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
35939 # The HP-UX ksh and POSIX shell print the target directory to stdout
36173 # Double-quote double-evaled strings.
36196 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
36208 if test -n "\${ZSH_VERSION+set}"; then
36256 "scripts/ntp-wait/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/ntp-wait/Makefile" ;;
36257 "scripts/ntp-wait/ntp-wait") CONFIG_FILES="$CONFIG_FILES scripts/ntp-wait/ntp-wait" ;;
36265 "scripts/update-leap/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/update-leap/Makefile" ;;
36266 "scripts/update-leap/update-leap") CONFIG_FILES="$CONFIG_FILES scripts/update-leap/update-leap" ;;
36268 "tests/bug-2803/Makefile") CONFIG_FILES="$CONFIG_FILES tests/bug-2803/Makefile" ;;
36273 "tests/sec-2853/Makefile") CONFIG_FILES="$CONFIG_FILES tests/sec-2853/Makefile" ;;
36302 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
36309 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
36310 test -d "$tmp"
36313 tmp=./conf$$-$RANDOM
36321 if test -n "$CONFIG_FILES"; then
36368 rm -f conf$$files.sh
36376 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
36382 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
36391 rm -f conf$$subs.sh
36396 sed -n '
36439 rm -f conf$$subs.awk
36508 fi # test -n "$CONFIG_FILES"
36513 if test -n "$CONFIG_HEADERS"; then
36519 # here-document in config.status, that substitutes the proper values into
36526 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
36527 if test -z "$ac_tt"; then
36541 sed -n '
36596 prefix = substr(line, 1, index(line, defundef) - 1)
36616 fi # test -n "$CONFIG_HEADERS"
36629 :[FH]-) ac_tag=-:-;;
36647 -) ac_f="$ac_tmp/stdin";;
36649 # (if the path is not absolute). The absolute path cannot be DOS-style,
36651 test -f "$ac_f" ||
36654 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
36668 if test x"$ac_file" != x-; then
36670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
36682 *:-:* | *:-) cat >"$ac_tmp/stdin" \
36688 ac_dir=`$as_dirname -- "$ac_file" ||
36778 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
36781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
36782 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
36804 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36821 $AWK -f "$ac_tmp/subs.awk"
36823 $AWK -f "$ac_tmp/subs.awk" | $SHELL
36827 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
36828 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
36829 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
36830 "$ac_tmp/out"`; test -z "$ac_out"; } &&
36831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
36836 rm -f "$ac_tmp/stdin"
36838 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
36839 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
36847 if test x"$ac_file" != x-; then
36850 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
36854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
36857 rm -f "$ac_file"
36863 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
36864 || as_fn_error $? "could not create -" "$LINENO" 5
36877 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
36899 s/.*/./; q'`/stamp-h$_am_stamp_count
36902 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
36910 # Older Autoconf quotes --file arguments for eval, but not when files
36911 # are listed without --file. Let's play safe and only enable the eval
36929 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
36931 # dependency-tracking related rules and includes.
36934 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
36936 am_dirpart=`$as_dirname -- "$am_mf" ||
36959 am_filepart=`$as_basename -- "$am_mf" ||
36978 && sed -e '/# am--include-marker/d' "$am_filepart" \
36979 | $MAKE -f - am--depfiles" >&5
36981 && sed -e '/# am--include-marker/d' "$am_filepart" \
36982 | $MAKE -f - am--depfiles) >&5 2>&5
36987 if test $am_rc -ne 0; then
36988 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36992 re-running the configure script with MAKE=\"gmake\" (or whatever is
36993 necessary). You can also try re-running configure with the
36994 '--disable-dependency-tracking' option to at least be able to build
37002 rm -f conftest-deps.mk
37009 if test -n "${ZSH_VERSION+set}"; then
37020 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
37023 # Provide generalized library-building support services.
37098 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
37099 Xsed="\$SED -e 1s/^X//"
37110 # A BSD- or MS-compatible name lister.
37173 # Commands used to install an old-style archive.
37235 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
37238 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
37269 # Is shlibpath searched before the hard-coded library search path?
37276 # The last name is the one that the linker finds with -lNAME
37301 # Compile-time system search path for libraries.
37304 # Detected run-time system search path for libraries.
37331 # Commands used to build an old-style archive.
37352 # Does compiler simultaneously support -c and -o options?
37355 # Whether or not to add -lc for building shared libraries.
37370 # Create an old-style archive from a shared archive.
37373 # Create a temporary old-style archive to link instead of a shared archive.
37398 # Whether we need a single "-rpath" flag with a separated argument.
37411 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
37464 # -----------------------------------
37489 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
37490 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
37499 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
37506 \-*) ;;
37510 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
37538 # if finds mixed CR/LF and LF-only lines. Since sed operates in
37542 || (rm -f "$cfgfile"; exit 1)
37544 mv -f "$cfgfile" "$ofile" ||
37545 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
37549 "ntpd/complete.conf":F) $SED -e '/^rlimit$/d' -e '/^$/d' < ntpd/complete.conf > ntpd/complete.conf.new && mv ntpd/complete.conf.new ntpd/complete.conf ;;
37554 "scripts/ntp-wait/ntp-wait":F) chmod +x scripts/ntp-wait/ntp-wait ;;
37560 "scripts/update-leap/update-leap":F) chmod +x scripts/update-leap/update-leap ;;
37586 ac_config_status_args="$ac_config_status_args --quiet"
37600 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
37608 if test -n "$ac_prev"; then
37613 -cache-file | --cache-file | --cache-fil | --cache-fi \
37614 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37616 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37617 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37618 | --c=*)
37620 --config-cache | -C)
37622 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37624 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37626 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37628 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37630 --disable-option-checking)
37640 # Always prepend --prefix to ensure using the same prefix
37642 ac_arg="--prefix=$prefix"
37648 # Pass --silent
37650 ac_sub_configure_args="--silent $ac_sub_configure_args"
37653 # Always prepend --disable-option-checking to silence warnings, since
37654 # different subdirs can have different --enable and --with options.
37655 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
37662 test -d "$srcdir/$ac_dir" || continue
37665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
37706 # Metaconfig's "Configure" on case-insensitive file systems.
37707 if test -f "$ac_srcdir/configure.gnu"; then
37709 elif test -f "$ac_srcdir/configure"; then
37712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
37718 if test -n "$ac_sub_configure"; then
37726 { 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
37727 printf "%s\n" "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37730 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
37737 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
37738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5