diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 207 |
1 files changed, 152 insertions, 55 deletions
diff --git a/configure b/configure index 0ba239416fac..ee313f0c91c9 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for ntp 4.2.8p12. +# Generated by GNU Autoconf 2.69 for ntp 4.2.8p13. # # Report bugs to <http://bugs.ntp.org./>. # @@ -590,8 +590,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='ntp' PACKAGE_TARNAME='ntp' -PACKAGE_VERSION='4.2.8p12' -PACKAGE_STRING='ntp 4.2.8p12' +PACKAGE_VERSION='4.2.8p13' +PACKAGE_STRING='ntp 4.2.8p13' PACKAGE_BUGREPORT='http://bugs.ntp.org./' PACKAGE_URL='http://www.ntp.org./' @@ -969,6 +969,7 @@ enable_clockctl enable_linuxcaps enable_solarisprivs enable_trustedbsd_mac +enable_signalled_io with_arlib with_net_snmp_config enable_libseccomp @@ -1051,6 +1052,7 @@ enable_hourly_todr_sync enable_kernel_fll_bug enable_bug1243_fix enable_bug3020_fix +enable_bug3527_fix enable_irig_sawtooth enable_nist enable_ntp_signd @@ -1615,7 +1617,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures ntp 4.2.8p12 to adapt to many kinds of systems. +\`configure' configures ntp 4.2.8p13 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1685,7 +1687,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of ntp 4.2.8p12:";; + short | recursive ) echo "Configuration of ntp 4.2.8p13:";; esac cat <<\_ACEOF @@ -1734,6 +1736,7 @@ Optional Features and Packages: --enable-solarisprivs + Use Solaris privileges for non-root clock control --enable-trustedbsd-mac s Use TrustedBSD MAC policy for non-root clock control + --enable-signalled-io s Use signalled IO if we can --with-arlib - deprecated, arlib not distributed --with-net-snmp-config + =net-snmp-config --enable-libseccomp EXPERIMENTAL: enable support for libseccomp @@ -1826,6 +1829,7 @@ Optional Features and Packages: --enable-kernel-fll-bug s if we should avoid a kernel FLL bug --enable-bug1243-fix + use unmodified autokey session keys --enable-bug3020-fix + Provide the explicit 127.0.0.0/8 martian filter + --enable-bug3527-fix + provide correct mode7 fudgetime2 behavior --enable-irig-sawtooth s if we should enable the IRIG sawtooth filter --enable-nist - if we should enable the NIST lockclock scheme --enable-ntp-signd - Provide support for Samba's signing daemon, @@ -1926,7 +1930,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -ntp configure 4.2.8p12 +ntp configure 4.2.8p13 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2635,7 +2639,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by ntp $as_me 4.2.8p12, which was +It was created by ntp $as_me 4.2.8p13, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3636,7 +3640,7 @@ fi # Define the identity of the package. PACKAGE='ntp' - VERSION='4.2.8p12' + VERSION='4.2.8p13' cat >>confdefs.h <<_ACEOF @@ -5116,8 +5120,6 @@ done - - ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" if test "x$ac_cv_header_minix_config_h" = xyes; then : MINIX=yes @@ -5138,14 +5140,6 @@ $as_echo "#define _MINIX 1" >>confdefs.h fi - case "$host_os" in - hpux*) - -$as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h - - ;; - esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } @@ -16093,18 +16087,18 @@ else /* end confdefs.h. */ /* For now, do not test the preprocessor; as of 2007 there are too many - implementations with broken preprocessors. Perhaps this can - be revisited in 2012. In the meantime, code should not expect - #if to work with literals wider than 32 bits. */ + implementations with broken preprocessors. Perhaps this can + be revisited in 2012. In the meantime, code should not expect + #if to work with literals wider than 32 bits. */ /* Test literals. */ long long int ll = 9223372036854775807ll; long long int nll = -9223372036854775807LL; unsigned long long int ull = 18446744073709551615ULL; /* Test constant expressions. */ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) - ? 1 : -1)]; + ? 1 : -1)]; typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 - ? 1 : -1)]; + ? 1 : -1)]; int i = 63; int main () @@ -16113,9 +16107,9 @@ main () long long int llmax = 9223372036854775807ll; unsigned long long int ullmax = 18446744073709551615ull; return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) - | (llmax / ll) | (llmax % ll) - | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) - | (ullmax / ull) | (ullmax % ull)); + | (llmax / ll) | (llmax % ll) + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) + | (ullmax / ull) | (ullmax % ull)); ; return 0; } @@ -16303,33 +16297,33 @@ if ${ac_cv_type_long_long_int+:} false; then : else ac_cv_type_long_long_int=yes if test "x${ac_cv_prog_cc_c99-no}" = xno; then - ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int - if test $ac_cv_type_long_long_int = yes; then - if test "$cross_compiling" = yes; then : + ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int + if test $ac_cv_type_long_long_int = yes; then + if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <limits.h> - #ifndef LLONG_MAX - # define HALF \ - (1LL << (sizeof (long long int) * CHAR_BIT - 2)) - # define LLONG_MAX (HALF - 1 + HALF) - #endif + #ifndef LLONG_MAX + # define HALF \ + (1LL << (sizeof (long long int) * CHAR_BIT - 2)) + # define LLONG_MAX (HALF - 1 + HALF) + #endif int main () { long long int n = 1; - int i; - for (i = 0; ; i++) - { - long long int m = n << i; - if (m >> i != n) - return 1; - if (LLONG_MAX / 2 < m) - break; - } - return 0; + int i; + for (i = 0; ; i++) + { + long long int m = n << i; + if (m >> i != n) + return 1; + if (LLONG_MAX / 2 < m) + break; + } + return 0; ; return 0; } @@ -16343,7 +16337,7 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi - fi + fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 @@ -16366,18 +16360,18 @@ else /* end confdefs.h. */ /* For now, do not test the preprocessor; as of 2007 there are too many - implementations with broken preprocessors. Perhaps this can - be revisited in 2012. In the meantime, code should not expect - #if to work with literals wider than 32 bits. */ + implementations with broken preprocessors. Perhaps this can + be revisited in 2012. In the meantime, code should not expect + #if to work with literals wider than 32 bits. */ /* Test literals. */ long long int ll = 9223372036854775807ll; long long int nll = -9223372036854775807LL; unsigned long long int ull = 18446744073709551615ULL; /* Test constant expressions. */ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) - ? 1 : -1)]; + ? 1 : -1)]; typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 - ? 1 : -1)]; + ? 1 : -1)]; int i = 63; int main () @@ -16386,9 +16380,9 @@ main () long long int llmax = 9223372036854775807ll; unsigned long long int ullmax = 18446744073709551615ull; return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) - | (llmax / ll) | (llmax % ll) - | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) - | (ullmax / ull) | (ullmax % ull)); + | (llmax / ll) | (llmax % ll) + | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) + | (ullmax / ull) | (ullmax % ull)); ; return 0; } @@ -24024,6 +24018,9 @@ case "$ntp_have_solarisprivs" in $as_echo "#define HAVE_SOLARIS_PRIVS 1" >>confdefs.h + ;; + '') ntp_have_solarisprivs="no" + ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_have_solarisprivs" >&5 @@ -24057,6 +24054,9 @@ case "$ntp_use_trustedbsd_mac$ac_cv_header_sys_mac_h" in $as_echo "#define HAVE_TRUSTEDBSD_MAC 1" >>confdefs.h + ;; + *) ntp_use_trustedbsd_mac="no"; + ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_use_trustedbsd_mac" >&5 @@ -24576,6 +24576,16 @@ fi done +# HMS: does this need to be a cached variable? +# Check whether --enable-signalled-io was given. +if test "${enable_signalled_io+set}" = set; then : + enableval=$enable_signalled_io; use_signalled_io=$enableval +else + use_signalled_io=yes + +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIGIO" >&5 $as_echo_n "checking for SIGIO... " >&6; } if ${ntp_cv_hdr_def_sigio+:} false; then : @@ -24650,13 +24660,24 @@ case "$ntp_cv_hdr_def_sigio" in ans=no ;; esac + case "$ans" in + no) + ans="Possible for $host but disabled because of reported problems" + ;; + esac ;; esac case "$ans" in yes) + case "$use_signalled_io" in + yes) $as_echo "#define HAVE_SIGNALED_IO 1" >>confdefs.h + ;; + *) ans="Allowed for $host but --disable-signalled-io was given" + ;; + esac esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 $as_echo "$ans" >&6; } @@ -28663,6 +28684,62 @@ case "$ntp_ok" in $as_echo "#define CLOCK_BANC 1" >>confdefs.h + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bcStartPci" >&5 +$as_echo_n "checking for library containing bcStartPci... " >&6; } +if ${ac_cv_search_bcStartPci+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char bcStartPci (); +int +main () +{ +return bcStartPci (); + ; + return 0; +} +_ACEOF +for ac_lib in '' bcsdk; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_bcStartPci=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_bcStartPci+:} false; then : + break +fi +done +if ${ac_cv_search_bcStartPci+:} false; then : + +else + ac_cv_search_bcStartPci=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bcStartPci" >&5 +$as_echo "$ac_cv_search_bcStartPci" >&6; } +ac_res=$ac_cv_search_bcStartPci +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + +fi + ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5 @@ -31999,6 +32076,26 @@ $as_echo "#define ENABLE_BUG3020_FIX 1" >>confdefs.h esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want correct mode7 fudgetime2 behavior" >&5 +$as_echo_n "checking if we want correct mode7 fudgetime2 behavior... " >&6; } +# Check whether --enable-bug3527-fix was given. +if test "${enable_bug3527_fix+set}" = set; then : + enableval=$enable_bug3527_fix; ans=$enableval +else + ans=yes + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 +$as_echo "$ans" >&6; } +case "$ans" in + no) + +$as_echo "#define DISABLE_BUG3527_FIX 1" >>confdefs.h + +esac + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should use the IRIG sawtooth filter" >&5 $as_echo_n "checking if we should use the IRIG sawtooth filter... " >&6; } @@ -34054,7 +34151,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by ntp $as_me 4.2.8p12, which was +This file was extended by ntp $as_me 4.2.8p13, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -34121,7 +34218,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -ntp config.status 4.2.8p12 +ntp config.status 4.2.8p13 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" |