diff options
Diffstat (limited to 'contrib/ntp/configure')
-rwxr-xr-x | contrib/ntp/configure | 182 |
1 files changed, 171 insertions, 11 deletions
diff --git a/contrib/ntp/configure b/contrib/ntp/configure index 75724ccfc55a..463947622d06 100755 --- a/contrib/ntp/configure +++ b/contrib/ntp/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.8p6. +# Generated by GNU Autoconf 2.69 for ntp 4.2.8p7. # # 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.8p6' -PACKAGE_STRING='ntp 4.2.8p6' +PACKAGE_VERSION='4.2.8p7' +PACKAGE_STRING='ntp 4.2.8p7' PACKAGE_BUGREPORT='http://bugs.ntp.org./' PACKAGE_URL='http://www.ntp.org./' @@ -1050,6 +1050,7 @@ enable_ntpdate_step enable_hourly_todr_sync enable_kernel_fll_bug enable_bug1243_fix +enable_bug3020_fix enable_irig_sawtooth enable_nist enable_ntp_signd @@ -1058,6 +1059,7 @@ with_kame enable_getifaddrs enable_saveconfig enable_leap_smear +enable_dynamic_interleave with_gtest enable_problem_tests ' @@ -1616,7 +1618,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.8p6 to adapt to many kinds of systems. +\`configure' configures ntp 4.2.8p7 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1686,7 +1688,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of ntp 4.2.8p6:";; + short | recursive ) echo "Configuration of ntp 4.2.8p7:";; esac cat <<\_ACEOF @@ -1820,6 +1822,7 @@ Optional Features and Packages: s if we should sync TODR hourly --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-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, @@ -1830,6 +1833,8 @@ Optional Features and Packages: --enable-getifaddrs + Enable the use of getifaddrs() [[yes|no]]. --enable-saveconfig + saveconfig mechanism --enable-leap-smear - experimental leap smear code + --enable-dynamic-interleave + - dynamic interleave support --with-gtest Use the gtest framework (Default: if it's available) --enable-problem-tests + enable tests with undiagnosed problems @@ -1919,7 +1924,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -ntp configure 4.2.8p6 +ntp configure 4.2.8p7 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2749,7 +2754,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.8p6, which was +It was created by ntp $as_me 4.2.8p7, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3750,7 +3755,7 @@ fi # Define the identity of the package. PACKAGE='ntp' - VERSION='4.2.8p6' + VERSION='4.2.8p7' cat >>confdefs.h <<_ACEOF @@ -22118,6 +22123,9 @@ fi done + +$as_echo "#define NEED_EARLY_FORK 1" >>confdefs.h + esac for ac_header in arpa/nameser.h sys/param.h sys/time.h sys/timers.h @@ -29706,7 +29714,113 @@ fi done -for ac_header in sgtty.h stdatomic.h stdlib.h string.h termio.h +for ac_header in sgtty.h stdatomic.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 +$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } +if ${ac_cv_header_stdbool_h+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include <stdbool.h> + #ifndef bool + "error: bool is not defined" + #endif + #ifndef false + "error: false is not defined" + #endif + #if false + "error: false is not 0" + #endif + #ifndef true + "error: true is not defined" + #endif + #if true != 1 + "error: true is not 1" + #endif + #ifndef __bool_true_false_are_defined + "error: __bool_true_false_are_defined is not defined" + #endif + + struct s { _Bool s: 1; _Bool t; } s; + + char a[true == 1 ? 1 : -1]; + char b[false == 0 ? 1 : -1]; + char c[__bool_true_false_are_defined == 1 ? 1 : -1]; + char d[(bool) 0.5 == true ? 1 : -1]; + /* See body of main program for 'e'. */ + char f[(_Bool) 0.0 == false ? 1 : -1]; + char g[true]; + char h[sizeof (_Bool)]; + char i[sizeof s.t]; + enum { j = false, k = true, l = false * true, m = true * 256 }; + /* The following fails for + HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ + _Bool n[m]; + char o[sizeof n == m * sizeof n[0] ? 1 : -1]; + char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; + /* Catch a bug in an HP-UX C compiler. See + http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html + http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html + */ + _Bool q = true; + _Bool *pq = &q; + +int +main () +{ + + bool e = &s; + *pq |= q; + *pq |= ! q; + /* Refer to every declared value, to avoid compiler optimizations. */ + return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l + + !m + !n + !o + !p + !q + !pq); + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdbool_h=yes +else + ac_cv_header_stdbool_h=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 +$as_echo "$ac_cv_header_stdbool_h" >&6; } + ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" +if test "x$ac_cv_type__Bool" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE__BOOL 1 +_ACEOF + + +fi + + +if test $ac_cv_header_stdbool_h = yes; then + +$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h + +fi + +for ac_header in stdlib.h string.h termio.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" @@ -35832,6 +35946,26 @@ $as_echo "#define DISABLE_BUG1243_FIX 1" >>confdefs.h esac +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want the explicit 127.0.0.0/8 martian filter" >&5 +$as_echo_n "checking if we want the explicit 127.0.0.0/8 martian filter... " >&6; } +# Check whether --enable-bug3020-fix was given. +if test "${enable_bug3020_fix+set}" = set; then : + enableval=$enable_bug3020_fix; ans=$enableval +else + ans=yes + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5 +$as_echo "$ans" >&6; } +case "$ans" in + yes) + +$as_echo "#define ENABLE_BUG3020_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; } @@ -36851,6 +36985,32 @@ esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5 $as_echo "$ntp_ok" >&6; } +### + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want dynamic interleave support" >&5 +$as_echo_n "checking if we want dynamic interleave support... " >&6; } +# Check whether --enable-dynamic-interleave was given. +if test "${enable_dynamic_interleave+set}" = set; then : + enableval=$enable_dynamic_interleave; ntp_ok=$enableval +else + ntp_ok=no + +fi + +ntp_dynamic_interleave=0 +case "$ntp_ok" in + yes) + ntp_dynamic_interleave=1 + ;; +esac + +cat >>confdefs.h <<_ACEOF +#define DYNAMIC_INTERLEAVE $ntp_dynamic_interleave +_ACEOF + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5 +$as_echo "$ntp_ok" >&6; } + # We may not need have_unity have_unity=false @@ -37840,7 +38000,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.8p6, which was +This file was extended by ntp $as_me 4.2.8p7, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -37907,7 +38067,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.8p6 +ntp config.status 4.2.8p7 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" |