From: Harlan Stenn Date: Thu, 19 Aug 1999 00:23:40 +0000 (-0000) Subject: Many files: X-Git-Tag: NTP_4_0_97~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b32ac1e509435272f2b109acd05231f85859130c;p=thirdparty%2Fntp.git Many files: * configure.in: * include/ntp_machine.h: * libntp/mexit.c: * ntpd/ntp_config.c: * ntpd/ntp_peer.c: * ntpd/ntp_restrict.c: * ntpd/refclock_arc.c: * ntpdate/ntpdate.c: Irix, SunOS, AIX, lint patches From: Marc.Brett@westgeo.com bk: 37bb4e8csCKEpX0-YEjvGrWsbb6Tcw --- diff --git a/ChangeLog b/ChangeLog index 99755df7a..b9ff599ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,16 @@ 1999-08-18 Harlan Stenn + * configure.in: + * include/ntp_machine.h: + * libntp/mexit.c: + * ntpd/ntp_config.c: + * ntpd/ntp_peer.c: + * ntpd/ntp_restrict.c: + * ntpd/refclock_arc.c: + * ntpdate/ntpdate.c: + Irix, SunOS, AIX, lint patches + From: Marc.Brett@westgeo.com + * util/ansi2knr.c: New release (fix for bug reported by Marc Brett) From: "L. Peter Deutsch" diff --git a/config.h.in b/config.h.in index af4aa1e1e..73574bff7 100644 --- a/config.h.in +++ b/config.h.in @@ -678,6 +678,9 @@ /* Define if you have the header file. */ #undef HAVE_NET_IF_H +/* Define if you have the header file. */ +#undef HAVE_NETDB_H + /* Define if you have the header file. */ #undef HAVE_NETINET_IN_H diff --git a/configure b/configure index 311de8624..ee92e4640 100755 --- a/configure +++ b/configure @@ -2601,7 +2601,7 @@ EOF fi -for ac_hdr in bstring.h errno.h fcntl.h memory.h poll.h sched.h sgtty.h +for ac_hdr in bstring.h errno.h fcntl.h memory.h netdb.h poll.h sched.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 @@ -2641,7 +2641,7 @@ else fi done -for ac_hdr in stdlib.h string.h sys/wait.h termio.h termios.h timepps.h +for ac_hdr in sgtty.h stdlib.h string.h sys/wait.h termio.h termios.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 @@ -2681,7 +2681,7 @@ else fi done -for ac_hdr in timex.h unistd.h utmp.h utmpx.h +for ac_hdr in timepps.h timex.h unistd.h utmp.h utmpx.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 @@ -6293,6 +6293,9 @@ else #ifdef HAVE_ARPA_NAMESER_H #include #endif +#ifdef HAVE_NETDB_H +#include +#endif #ifdef HAVE_RESOLV_H #include #endif @@ -6300,7 +6303,7 @@ int main() { extern int h_errno; ; return 0; } EOF -if { (eval echo configure:6304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_decl_h_errno=yes else @@ -6321,12 +6324,12 @@ EOF esac echo $ac_n "checking if declaring 'char *sys_errlist' is ok""... $ac_c" 1>&6 -echo "configure:6325: checking if declaring 'char *sys_errlist' is ok" >&5 +echo "configure:6328: checking if declaring 'char *sys_errlist' is ok" >&5 if eval "test \"\${ac_cv_decl_sys_errlist+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #ifdef HAVE_ERRNO_H @@ -6337,7 +6340,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:6341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_decl_sys_errlist=yes else @@ -6358,12 +6361,12 @@ EOF esac echo $ac_n "checking if declaring 'syscall()' is ok""... $ac_c" 1>&6 -echo "configure:6362: checking if declaring 'syscall()' is ok" >&5 +echo "configure:6365: checking if declaring 'syscall()' is ok" >&5 if eval "test \"\${ac_cv_decl_syscall+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_decl_syscall=yes else @@ -6650,7 +6653,7 @@ EOF esac echo $ac_n "checking if we should use a streams device for ifconfig""... $ac_c" 1>&6 -echo "configure:6654: checking if we should use a streams device for ifconfig" >&5 +echo "configure:6657: checking if we should use a streams device for ifconfig" >&5 if eval "test \"\${ac_cv_var_use_streams_device_for_ifconfig+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6660,7 +6663,7 @@ fi echo "$ac_t""$ac_cv_var_use_streams_device_for_ifconfig" 1>&6 echo $ac_n "checking if we need extra room for SO_RCVBUF""... $ac_c" 1>&6 -echo "configure:6664: checking if we need extra room for SO_RCVBUF" >&5 +echo "configure:6667: checking if we need extra room for SO_RCVBUF" >&5 if eval "test \"\${ac_cv_var_rcvbuf_slop+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6682,7 +6685,7 @@ EOF esac echo $ac_n "checking if we will open the broadcast socket""... $ac_c" 1>&6 -echo "configure:6686: checking if we will open the broadcast socket" >&5 +echo "configure:6689: checking if we will open the broadcast socket" >&5 if eval "test \"\${ac_cv_var_open_bcast_socket+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6707,7 +6710,7 @@ EOF esac echo $ac_n "checking if we want the HPUX version of FindConfig()""... $ac_c" 1>&6 -echo "configure:6711: checking if we want the HPUX version of FindConfig()" >&5 +echo "configure:6714: checking if we want the HPUX version of FindConfig()" >&5 if eval "test \"\${ac_cv_var_hpux_findconfig+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6729,7 +6732,7 @@ EOF esac echo $ac_n "checking if process groups are set with -pid""... $ac_c" 1>&6 -echo "configure:6733: checking if process groups are set with -pid" >&5 +echo "configure:6736: checking if process groups are set with -pid" >&5 if eval "test \"\${ac_cv_arg_setpgrp_negpid+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6765,7 +6768,7 @@ EOF esac echo $ac_n "checking if we need a ctty for F_SETOWN""... $ac_c" 1>&6 -echo "configure:6769: checking if we need a ctty for F_SETOWN" >&5 +echo "configure:6772: checking if we need a ctty for F_SETOWN" >&5 if eval "test \"\${ac_cv_func_ctty_for_f_setown+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6795,7 +6798,7 @@ esac ntp_warning='GRONK' echo $ac_n "checking if we'll use clock_settime or settimeofday or stime""... $ac_c" 1>&6 -echo "configure:6799: checking if we'll use clock_settime or settimeofday or stime" >&5 +echo "configure:6802: checking if we'll use clock_settime or settimeofday or stime" >&5 case "$ac_cv_func_clock_settime$ac_cv_func_settimeofday$ac_cv_func_stime" in yes*) ntp_warning='' @@ -6824,7 +6827,7 @@ case "$ntp_warning" in esac echo $ac_n "checking if we have a losing syscall()""... $ac_c" 1>&6 -echo "configure:6828: checking if we have a losing syscall()" >&5 +echo "configure:6831: checking if we have a losing syscall()" >&5 if eval "test \"\${ac_cv_var_syscall_bug+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6847,7 +6850,7 @@ EOF esac echo $ac_n "checking for Streams/TLI""... $ac_c" 1>&6 -echo "configure:6851: checking for Streams/TLI" >&5 +echo "configure:6854: checking for Streams/TLI" >&5 if eval "test \"\${ac_cv_var_streams_tli+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6876,12 +6879,12 @@ EOF esac echo $ac_n "checking for SIGIO""... $ac_c" 1>&6 -echo "configure:6880: checking for SIGIO" >&5 +echo "configure:6883: checking for SIGIO" >&5 if eval "test \"\${ac_cv_hdr_def_sigio+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #ifdef SIGIO @@ -6904,7 +6907,7 @@ fi echo "$ac_t""$ac_cv_hdr_def_sigio" 1>&6 echo $ac_n "checking if we want to use signalled IO""... $ac_c" 1>&6 -echo "configure:6908: checking if we want to use signalled IO" >&5 +echo "configure:6911: checking if we want to use signalled IO" >&5 if eval "test \"\${ac_cv_var_signalled_io+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6955,12 +6958,12 @@ EOF esac echo $ac_n "checking for SIGPOLL""... $ac_c" 1>&6 -echo "configure:6959: checking for SIGPOLL" >&5 +echo "configure:6962: checking for SIGPOLL" >&5 if eval "test \"\${ac_cv_hdr_def_sigpoll+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #ifdef SIGPOLL @@ -6983,12 +6986,12 @@ fi echo "$ac_t""$ac_cv_hdr_def_sigpoll" 1>&6 echo $ac_n "checking for SIGSYS""... $ac_c" 1>&6 -echo "configure:6987: checking for SIGSYS" >&5 +echo "configure:6990: checking for SIGSYS" >&5 if eval "test \"\${ac_cv_hdr_def_sigsys+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #ifdef SIGSYS @@ -7011,7 +7014,7 @@ fi echo "$ac_t""$ac_cv_hdr_def_sigsys" 1>&6 echo $ac_n "checking if we can use SIGPOLL for UDP I/O""... $ac_c" 1>&6 -echo "configure:7015: checking if we can use SIGPOLL for UDP I/O" >&5 +echo "configure:7018: checking if we can use SIGPOLL for UDP I/O" >&5 if eval "test \"\${ac_cv_var_use_udp_sigpoll+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7066,7 +7069,7 @@ EOF esac echo $ac_n "checking if we can use SIGPOLL for TTY I/O""... $ac_c" 1>&6 -echo "configure:7070: checking if we can use SIGPOLL for TTY I/O" >&5 +echo "configure:7073: checking if we can use SIGPOLL for TTY I/O" >&5 if eval "test \"\${ac_cv_var_use_tty_sigpoll+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7121,7 +7124,7 @@ EOF esac echo $ac_n "checking if nlist() values might require extra indirection""... $ac_c" 1>&6 -echo "configure:7125: checking if nlist() values might require extra indirection" >&5 +echo "configure:7128: checking if nlist() values might require extra indirection" >&5 if eval "test \"\${ac_cv_var_nlist_extra_indirection+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7143,7 +7146,7 @@ EOF esac echo $ac_n "checking for a minimum recommended value of tickadj""... $ac_c" 1>&6 -echo "configure:7147: checking for a minimum recommended value of tickadj" >&5 +echo "configure:7150: checking for a minimum recommended value of tickadj" >&5 if eval "test \"\${ac_cv_var_min_rec_tickadj+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7166,7 +7169,7 @@ EOF esac echo $ac_n "checking if the TTY code permits PARENB and IGNPAR""... $ac_c" 1>&6 -echo "configure:7170: checking if the TTY code permits PARENB and IGNPAR" >&5 +echo "configure:7173: checking if the TTY code permits PARENB and IGNPAR" >&5 if eval "test \"\${ac_cv_var_no_parenb_ignpar+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7191,7 +7194,7 @@ EOF esac echo $ac_n "checking if we're including debugging code""... $ac_c" 1>&6 -echo "configure:7195: checking if we're including debugging code" >&5 +echo "configure:7198: checking if we're including debugging code" >&5 # Check whether --enable-debugging or --disable-debugging was given. if test "${enable_debugging+set}" = set; then enableval="$enable_debugging" @@ -7209,7 +7212,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking for a the number of minutes in a DST adjustment""... $ac_c" 1>&6 -echo "configure:7213: checking for a the number of minutes in a DST adjustment" >&5 +echo "configure:7216: checking for a the number of minutes in a DST adjustment" >&5 # Check whether --enable-dst_minutes or --disable-dst_minutes was given. if test "${enable_dst_minutes+set}" = set; then enableval="$enable_dst_minutes" @@ -7225,7 +7228,7 @@ EOF echo "$ac_t""$ans" 1>&6 echo $ac_n "checking if we have the tty_clk line discipline/streams module""... $ac_c" 1>&6 -echo "configure:7229: checking if we have the tty_clk line discipline/streams module" >&5 +echo "configure:7232: checking if we have the tty_clk line discipline/streams module" >&5 if eval "test \"\${ac_cv_var_tty_clk+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7241,7 +7244,7 @@ EOF esac echo $ac_n "checking for the ppsclock streams module""... $ac_c" 1>&6 -echo "configure:7245: checking for the ppsclock streams module" >&5 +echo "configure:7248: checking for the ppsclock streams module" >&5 if eval "test \"\${ac_cv_var_ppsclock+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7257,7 +7260,7 @@ EOF esac echo $ac_n "checking for kernel multicast support""... $ac_c" 1>&6 -echo "configure:7261: checking for kernel multicast support" >&5 +echo "configure:7264: checking for kernel multicast support" >&5 if eval "test \"\${ac_cv_var_mcast+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7265,7 +7268,7 @@ else case "$target" in i386-sequent-sysv4) ;; *) cat > conftest.$ac_ext < #ifdef IP_ADD_MEMBERSHIP @@ -7292,7 +7295,7 @@ EOF esac echo $ac_n "checking availability of ntp_{adj,get}time()""... $ac_c" 1>&6 -echo "configure:7296: checking availability of ntp_{adj,get}time()" >&5 +echo "configure:7299: checking availability of ntp_{adj,get}time()" >&5 if eval "test \"\${ac_cv_var_ntp_syscalls+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7306,7 +7309,7 @@ else ac_cv_var_ntp_syscalls=libc ;; *) cat > conftest.$ac_ext < #if defined(SYS_ntp_gettime) && defined(SYS_ntp_adjtime) @@ -7346,12 +7349,12 @@ EOF esac echo $ac_n "checking if sys/timex.h has STA_FLL""... $ac_c" 1>&6 -echo "configure:7350: checking if sys/timex.h has STA_FLL" >&5 +echo "configure:7353: checking if sys/timex.h has STA_FLL" >&5 if eval "test \"\${ac_cv_var_sta_fll+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #ifdef STA_FLL @@ -7374,7 +7377,7 @@ fi echo "$ac_t""$ac_cv_var_sta_fll" 1>&6 echo $ac_n "checking if we have kernel PLL support""... $ac_c" 1>&6 -echo "configure:7378: checking if we have kernel PLL support" >&5 +echo "configure:7381: checking if we have kernel PLL support" >&5 if eval "test \"\${ac_cv_var_kernel_pll+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7398,7 +7401,7 @@ EOF esac echo $ac_n "checking if SIOCGIFCONF returns buffer size in the buffer""... $ac_c" 1>&6 -echo "configure:7402: checking if SIOCGIFCONF returns buffer size in the buffer" >&5 +echo "configure:7405: checking if SIOCGIFCONF returns buffer size in the buffer" >&5 if eval "test \"\${ac_cv_var_size_returned_in_buffer+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7427,7 +7430,7 @@ esac echo $ac_n "checking if we want to use MD5 authentication""... $ac_c" 1>&6 -echo "configure:7431: checking if we want to use MD5 authentication" >&5 +echo "configure:7434: checking if we want to use MD5 authentication" >&5 if eval "test \"\${ac_cv_var_use_md5+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7452,10 +7455,10 @@ esac # Check for ioctls TIOCGPPSEV echo $ac_n "checking ioctl TIOCGPPSEV""... $ac_c" 1>&6 -echo "configure:7456: checking ioctl TIOCGPPSEV" >&5 +echo "configure:7459: checking ioctl TIOCGPPSEV" >&5 if test "$ac_cv_header_termios_h" = "yes"; then cat > conftest.$ac_ext < #ifdef TIOCGPPSEV @@ -7488,10 +7491,10 @@ echo "$ac_t""$ntp_ok" 1>&6 # Check for ioctls TIOCSPPS echo $ac_n "checking ioctl TIOCSPPS""... $ac_c" 1>&6 -echo "configure:7492: checking ioctl TIOCSPPS" >&5 +echo "configure:7495: checking ioctl TIOCSPPS" >&5 if test "$ac_cv_header_termios_h" = "yes"; then cat > conftest.$ac_ext < #ifdef TIOCSPPS @@ -7523,10 +7526,10 @@ echo "$ac_t""$ntp_ok" 1>&6 # Check for ioctls CIOGETEV echo $ac_n "checking ioctl CIOGETEV""... $ac_c" 1>&6 -echo "configure:7527: checking ioctl CIOGETEV" >&5 +echo "configure:7530: checking ioctl CIOGETEV" >&5 if test "$ac_cv_header_sys_ppsclock_h" = "yes"; then cat > conftest.$ac_ext < #ifdef CIOGETEV @@ -7583,17 +7586,17 @@ esac # Check for ioctls TIOCGSERIAL, TIOCSSERIAL, ASYNC_PPS_CD_POS, ASYNC_PPS_CD_NEG ac_safe=`echo "linux/serial.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for linux/serial.h""... $ac_c" 1>&6 -echo "configure:7587: checking for linux/serial.h" >&5 +echo "configure:7590: checking for linux/serial.h" >&5 if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:7597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:7600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -7615,11 +7618,11 @@ else fi echo $ac_n "checking ioctl TIOCGSERIAL""... $ac_c" 1>&6 -echo "configure:7619: checking ioctl TIOCGSERIAL" >&5 +echo "configure:7622: checking ioctl TIOCGSERIAL" >&5 case "$ac_cv_header_sys_ppsclock_h$ac_cv_header_linux_serial_h" in yesyes) cat > conftest.$ac_ext < typedef int u_int; @@ -7666,7 +7669,7 @@ ntp_refclock=no # HPUX only, and by explicit request echo $ac_n "checking Datum/Bancomm bc635/VME interface""... $ac_c" 1>&6 -echo "configure:7670: checking Datum/Bancomm bc635/VME interface" >&5 +echo "configure:7673: checking Datum/Bancomm bc635/VME interface" >&5 # Check whether --enable-BANCOMM or --disable-BANCOMM was given. if test "${enable_BANCOMM+set}" = set; then enableval="$enable_BANCOMM" @@ -7690,7 +7693,7 @@ esac #HPUX only, and only by explicit request echo $ac_n "checking TrueTime GPS receiver/VME interface""... $ac_c" 1>&6 -echo "configure:7694: checking TrueTime GPS receiver/VME interface" >&5 +echo "configure:7697: checking TrueTime GPS receiver/VME interface" >&5 # Check whether --enable-GPSVME or --disable-GPSVME was given. if test "${enable_GPSVME+set}" = set; then enableval="$enable_GPSVME" @@ -7713,7 +7716,7 @@ case "$ntp_ok$target" in esac echo $ac_n "checking for PCL720 clock support""... $ac_c" 1>&6 -echo "configure:7717: checking for PCL720 clock support" >&5 +echo "configure:7720: checking for PCL720 clock support" >&5 case "$ac_cv_header_machine_inline_h$ac_cv_header_sys_pcl720_h$ac_cv_header_sys_i8253_h" in yesyesyes) cat >> confdefs.h <<\EOF @@ -7729,7 +7732,7 @@ esac echo "$ac_t""$ans" 1>&6 echo $ac_n "checking for SHM clock attached thru shared memory""... $ac_c" 1>&6 -echo "configure:7733: checking for SHM clock attached thru shared memory" >&5 +echo "configure:7736: checking for SHM clock attached thru shared memory" >&5 # Check whether --enable-SHM or --disable-SHM was given. if test "${enable_SHM+set}" = set; then enableval="$enable_SHM" @@ -7748,7 +7751,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking for ONCORE Motorola VP/UT Oncore GPS""... $ac_c" 1>&6 -echo "configure:7752: checking for ONCORE Motorola VP/UT Oncore GPS" >&5 +echo "configure:7755: checking for ONCORE Motorola VP/UT Oncore GPS" >&5 # Check whether --enable-ONCORE or --disable-ONCORE was given. if test "${enable_ONCORE+set}" = set; then enableval="$enable_ONCORE" @@ -7770,7 +7773,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking for default inclusion of all suitable non-PARSE clocks""... $ac_c" 1>&6 -echo "configure:7774: checking for default inclusion of all suitable non-PARSE clocks" >&5 +echo "configure:7777: checking for default inclusion of all suitable non-PARSE clocks" >&5 # Check whether --enable-all-clocks or --disable-all-clocks was given. if test "${enable_all_clocks+set}" = set; then enableval="$enable_all_clocks" @@ -7782,7 +7785,7 @@ fi echo "$ac_t""$ntp_eac" 1>&6 echo $ac_n "checking if we have support for PARSE clocks""... $ac_c" 1>&6 -echo "configure:7786: checking if we have support for PARSE clocks" >&5 +echo "configure:7789: checking if we have support for PARSE clocks" >&5 case "$ac_cv_header_termio_h$ac_cv_header_termios_h" in *yes*) ntp_canparse=yes @@ -7794,14 +7797,14 @@ echo "$ac_t""$ntp_canparse" 1>&6 # Requires modem control echo $ac_n "checking ACTS modem service""... $ac_c" 1>&6 -echo "configure:7798: checking ACTS modem service" >&5 +echo "configure:7801: checking ACTS modem service" >&5 # Check whether --enable-ACTS or --disable-ACTS was given. if test "${enable_ACTS+set}" = set; then enableval="$enable_ACTS" ntp_ok=$enableval else cat > conftest.$ac_ext < #ifdef HAVE_SYS_IOCTL_H @@ -7834,7 +7837,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking Arbiter 1088A/B GPS receiver""... $ac_c" 1>&6 -echo "configure:7838: checking Arbiter 1088A/B GPS receiver" >&5 +echo "configure:7841: checking Arbiter 1088A/B GPS receiver" >&5 # Check whether --enable-ARBITER or --disable-ARBITER was given. if test "${enable_ARBITER+set}" = set; then enableval="$enable_ARBITER" @@ -7853,7 +7856,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking Arcron MSF receiver""... $ac_c" 1>&6 -echo "configure:7857: checking Arcron MSF receiver" >&5 +echo "configure:7860: checking Arcron MSF receiver" >&5 # Check whether --enable-ARCRON_MSF or --disable-ARCRON_MSF was given. if test "${enable_ARCRON_MSF+set}" = set; then enableval="$enable_ARCRON_MSF" @@ -7872,7 +7875,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking Austron 2200A/2201A GPS receiver""... $ac_c" 1>&6 -echo "configure:7876: checking Austron 2200A/2201A GPS receiver" >&5 +echo "configure:7879: checking Austron 2200A/2201A GPS receiver" >&5 # Check whether --enable-AS2201 or --disable-AS2201 was given. if test "${enable_AS2201+set}" = set; then enableval="$enable_AS2201" @@ -7891,7 +7894,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking PPS interface""... $ac_c" 1>&6 -echo "configure:7895: checking PPS interface" >&5 +echo "configure:7898: checking PPS interface" >&5 # Check whether --enable-ATOM or --disable-ATOM was given. if test "${enable_ATOM+set}" = set; then enableval="$enable_ATOM" @@ -7910,7 +7913,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking CHU modem/decoder""... $ac_c" 1>&6 -echo "configure:7914: checking CHU modem/decoder" >&5 +echo "configure:7917: checking CHU modem/decoder" >&5 # Check whether --enable-CHU or --disable-CHU was given. if test "${enable_CHU+set}" = set; then enableval="$enable_CHU" @@ -7930,7 +7933,7 @@ echo "$ac_t""$ntp_ok" 1>&6 ac_refclock_chu=$ntp_ok echo $ac_n "checking CHU audio/decoder""... $ac_c" 1>&6 -echo "configure:7934: checking CHU audio/decoder" >&5 +echo "configure:7937: checking CHU audio/decoder" >&5 # Check whether --enable-AUDIO-CHU or --disable-AUDIO-CHU was given. if test "${enable_AUDIO_CHU+set}" = set; then enableval="$enable_AUDIO_CHU" @@ -7954,7 +7957,7 @@ esac # Not under HP-UX echo $ac_n "checking Datum Programmable Time System""... $ac_c" 1>&6 -echo "configure:7958: checking Datum Programmable Time System" >&5 +echo "configure:7961: checking Datum Programmable Time System" >&5 # Check whether --enable-DATUM or --disable-DATUM was given. if test "${enable_DATUM+set}" = set; then enableval="$enable_DATUM" @@ -7980,14 +7983,14 @@ echo "$ac_t""$ntp_ok" 1>&6 # Requires modem control echo $ac_n "checking Heath GC-1000 WWV/WWVH receiver""... $ac_c" 1>&6 -echo "configure:7984: checking Heath GC-1000 WWV/WWVH receiver" >&5 +echo "configure:7987: checking Heath GC-1000 WWV/WWVH receiver" >&5 # Check whether --enable-HEATH or --disable-HEATH was given. if test "${enable_HEATH+set}" = set; then enableval="$enable_HEATH" ntp_ok=$enableval else cat > conftest.$ac_ext < #ifdef HAVE_SYS_IOCTL_H @@ -8020,7 +8023,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking HP 58503A GPS receiver""... $ac_c" 1>&6 -echo "configure:8024: checking HP 58503A GPS receiver" >&5 +echo "configure:8027: checking HP 58503A GPS receiver" >&5 # Check whether --enable-HPGPS or --disable-HPGPS was given. if test "${enable_HPGPS+set}" = set; then enableval="$enable_HPGPS" @@ -8039,7 +8042,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking Sun IRIG audio decoder""... $ac_c" 1>&6 -echo "configure:8043: checking Sun IRIG audio decoder" >&5 +echo "configure:8046: checking Sun IRIG audio decoder" >&5 # Check whether --enable-IRIG or --disable-IRIG was given. if test "${enable_IRIG+set}" = set; then enableval="$enable_IRIG" @@ -8067,7 +8070,7 @@ case "$ntp_ok$ac_cv_header_sun_audioio_h$ac_cv_header_sys_audioio_h" in esac echo $ac_n "checking Leitch CSD 5300 Master Clock System Driver""... $ac_c" 1>&6 -echo "configure:8071: checking Leitch CSD 5300 Master Clock System Driver" >&5 +echo "configure:8074: checking Leitch CSD 5300 Master Clock System Driver" >&5 # Check whether --enable-LEITCH or --disable-LEITCH was given. if test "${enable_LEITCH+set}" = set; then enableval="$enable_LEITCH" @@ -8086,7 +8089,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking local clock reference""... $ac_c" 1>&6 -echo "configure:8090: checking local clock reference" >&5 +echo "configure:8093: checking local clock reference" >&5 # Check whether --enable-LOCAL-CLOCK or --disable-LOCAL-CLOCK was given. if test "${enable_LOCAL_CLOCK+set}" = set; then enableval="$enable_LOCAL_CLOCK" @@ -8105,7 +8108,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking EES M201 MSF receiver""... $ac_c" 1>&6 -echo "configure:8109: checking EES M201 MSF receiver" >&5 +echo "configure:8112: checking EES M201 MSF receiver" >&5 # Check whether --enable-MSFEES or --disable-MSFEES was given. if test "${enable_MSFEES+set}" = set; then enableval="$enable_MSFEES" @@ -8125,7 +8128,7 @@ echo "$ac_t""$ntp_ok" 1>&6 # Not Ultrix echo $ac_n "checking Magnavox MX4200 GPS receiver""... $ac_c" 1>&6 -echo "configure:8129: checking Magnavox MX4200 GPS receiver" >&5 +echo "configure:8132: checking Magnavox MX4200 GPS receiver" >&5 # Check whether --enable-MX4200 or --disable-MX4200 was given. if test "${enable_MX4200+set}" = set; then enableval="$enable_MX4200" @@ -8152,7 +8155,7 @@ case "$ntp_ok$target" in esac echo $ac_n "checking NMEA GPS receiver""... $ac_c" 1>&6 -echo "configure:8156: checking NMEA GPS receiver" >&5 +echo "configure:8159: checking NMEA GPS receiver" >&5 # Check whether --enable-NMEA or --disable-NMEA was given. if test "${enable_NMEA+set}" = set; then enableval="$enable_NMEA" @@ -8171,7 +8174,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking for Palisade clock""... $ac_c" 1>&6 -echo "configure:8175: checking for Palisade clock" >&5 +echo "configure:8178: checking for Palisade clock" >&5 # Check whether --enable-PALISADE or --disable-PALISADE was given. if test "${enable_PALISADE+set}" = set; then enableval="$enable_PALISADE" @@ -8197,7 +8200,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking PST/Traconex 1020 WWV/WWVH receiver""... $ac_c" 1>&6 -echo "configure:8201: checking PST/Traconex 1020 WWV/WWVH receiver" >&5 +echo "configure:8204: checking PST/Traconex 1020 WWV/WWVH receiver" >&5 # Check whether --enable-PST or --disable-PST was given. if test "${enable_PST+set}" = set; then enableval="$enable_PST" @@ -8217,7 +8220,7 @@ echo "$ac_t""$ntp_ok" 1>&6 # Not Ultrix echo $ac_n "checking Rockwell Jupiter GPS receiver""... $ac_c" 1>&6 -echo "configure:8221: checking Rockwell Jupiter GPS receiver" >&5 +echo "configure:8224: checking Rockwell Jupiter GPS receiver" >&5 # Check whether --enable-JUPITER or --disable-JUPITER was given. if test "${enable_JUPITER+set}" = set; then enableval="$enable_JUPITER" @@ -8245,14 +8248,14 @@ esac # Requires modem control echo $ac_n "checking PTB modem service""... $ac_c" 1>&6 -echo "configure:8249: checking PTB modem service" >&5 +echo "configure:8252: checking PTB modem service" >&5 # Check whether --enable-PTBACTS or --disable-PTBACTS was given. if test "${enable_PTBACTS+set}" = set; then enableval="$enable_PTBACTS" ntp_ok=$enableval else cat > conftest.$ac_ext < #ifdef HAVE_SYS_IOCTL_H @@ -8285,7 +8288,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking KSI/Odetics TPRO/S GPS receiver/IRIG interface""... $ac_c" 1>&6 -echo "configure:8289: checking KSI/Odetics TPRO/S GPS receiver/IRIG interface" >&5 +echo "configure:8292: checking KSI/Odetics TPRO/S GPS receiver/IRIG interface" >&5 # Check whether --enable-TPRO or --disable-TPRO was given. if test "${enable_TPRO+set}" = set; then enableval="$enable_TPRO" @@ -8313,7 +8316,7 @@ case "$ntp_ok$ac_cv_header_sys_tpro" in esac echo $ac_n "checking TRAK 8810 GPS receiver""... $ac_c" 1>&6 -echo "configure:8317: checking TRAK 8810 GPS receiver" >&5 +echo "configure:8320: checking TRAK 8810 GPS receiver" >&5 # Check whether --enable-TRAK or --disable-TRAK was given. if test "${enable_TRAK+set}" = set; then enableval="$enable_TRAK" @@ -8332,7 +8335,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking Chrono-log K-series WWVB receiver""... $ac_c" 1>&6 -echo "configure:8336: checking Chrono-log K-series WWVB receiver" >&5 +echo "configure:8339: checking Chrono-log K-series WWVB receiver" >&5 # Check whether --enable-CHRONOLOG or --disable-CHRONOLOG was given. if test "${enable_CHRONOLOG+set}" = set; then enableval="$enable_CHRONOLOG" @@ -8351,7 +8354,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking Dumb generic hh:mm:ss local clock""... $ac_c" 1>&6 -echo "configure:8355: checking Dumb generic hh:mm:ss local clock" >&5 +echo "configure:8358: checking Dumb generic hh:mm:ss local clock" >&5 # Check whether --enable-DUMBCLOCK or --disable-DUMBCLOCK was given. if test "${enable_DUMBCLOCK+set}" = set; then enableval="$enable_DUMBCLOCK" @@ -8371,7 +8374,7 @@ echo "$ac_t""$ntp_ok" 1>&6 # Not on a vax-dec-bsd echo $ac_n "checking Kinemetrics/TrueTime receivers""... $ac_c" 1>&6 -echo "configure:8375: checking Kinemetrics/TrueTime receivers" >&5 +echo "configure:8378: checking Kinemetrics/TrueTime receivers" >&5 # Check whether --enable-TRUETIME or --disable-TRUETIME was given. if test "${enable_TRUETIME+set}" = set; then enableval="$enable_TRUETIME" @@ -8400,7 +8403,7 @@ case "$ntp_ok$target" in esac echo $ac_n "checking Spectracom 8170/Netclock/2 WWVB receiver""... $ac_c" 1>&6 -echo "configure:8404: checking Spectracom 8170/Netclock/2 WWVB receiver" >&5 +echo "configure:8407: checking Spectracom 8170/Netclock/2 WWVB receiver" >&5 # Check whether --enable-WWVB or --disable-WWVB was given. if test "${enable_WWVB+set}" = set; then enableval="$enable_WWVB" @@ -8420,14 +8423,14 @@ echo "$ac_t""$ntp_ok" 1>&6 # Requires modem control echo $ac_n "checking USNO modem service""... $ac_c" 1>&6 -echo "configure:8424: checking USNO modem service" >&5 +echo "configure:8427: checking USNO modem service" >&5 # Check whether --enable-USNO or --disable-USNO was given. if test "${enable_USNO+set}" = set; then enableval="$enable_USNO" ntp_ok=$enableval else cat > conftest.$ac_ext < #ifdef HAVE_SYS_IOCTL_H @@ -8460,7 +8463,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking for default inclusion of all suitable PARSE clocks""... $ac_c" 1>&6 -echo "configure:8464: checking for default inclusion of all suitable PARSE clocks" >&5 +echo "configure:8467: checking for default inclusion of all suitable PARSE clocks" >&5 # Check whether --enable-parse-clocks or --disable-parse-clocks was given. if test "${enable_parse_clocks+set}" = set; then enableval="$enable_parse_clocks" @@ -8490,7 +8493,7 @@ ntp_parseutil=no ntp_rawdcf=no echo $ac_n "checking Diem Computime Radio Clock""... $ac_c" 1>&6 -echo "configure:8494: checking Diem Computime Radio Clock" >&5 +echo "configure:8497: checking Diem Computime Radio Clock" >&5 # Check whether --enable-COMPUTIME or --disable-COMPUTIME was given. if test "${enable_COMPUTIME+set}" = set; then enableval="$enable_COMPUTIME" @@ -8515,7 +8518,7 @@ case "$ntp_ok$ntp_canparse" in esac echo $ac_n "checking ELV/DCF7000 clock""... $ac_c" 1>&6 -echo "configure:8519: checking ELV/DCF7000 clock" >&5 +echo "configure:8522: checking ELV/DCF7000 clock" >&5 # Check whether --enable-DCF7000 or --disable-DCF7000 was given. if test "${enable_DCF7000+set}" = set; then enableval="$enable_DCF7000" @@ -8540,7 +8543,7 @@ case "$ntp_ok$ntp_canparse" in esac echo $ac_n "checking HOPF 6021 clock""... $ac_c" 1>&6 -echo "configure:8544: checking HOPF 6021 clock" >&5 +echo "configure:8547: checking HOPF 6021 clock" >&5 # Check whether --enable-HOPF6021 or --disable-HOPF6021 was given. if test "${enable_HOPF6021+set}" = set; then enableval="$enable_HOPF6021" @@ -8565,7 +8568,7 @@ case "$ntp_ok$ntp_canparse" in esac echo $ac_n "checking Meinberg clocks""... $ac_c" 1>&6 -echo "configure:8569: checking Meinberg clocks" >&5 +echo "configure:8572: checking Meinberg clocks" >&5 # Check whether --enable-MEINBERG or --disable-MEINBERG was given. if test "${enable_MEINBERG+set}" = set; then enableval="$enable_MEINBERG" @@ -8590,7 +8593,7 @@ case "$ntp_ok$ntp_canparse" in esac echo $ac_n "checking DCF77 raw time code""... $ac_c" 1>&6 -echo "configure:8594: checking DCF77 raw time code" >&5 +echo "configure:8597: checking DCF77 raw time code" >&5 # Check whether --enable-RAWDCF or --disable-RAWDCF was given. if test "${enable_RAWDCF+set}" = set; then enableval="$enable_RAWDCF" @@ -8619,7 +8622,7 @@ esac case "$ntp_rawdcf" in yes) echo $ac_n "checking if we must enable parity for RAWDCF""... $ac_c" 1>&6 -echo "configure:8623: checking if we must enable parity for RAWDCF" >&5 +echo "configure:8626: checking if we must enable parity for RAWDCF" >&5 if eval "test \"\${ac_cv_var_rawdcf_parity+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8647,7 +8650,7 @@ EOF esac echo $ac_n "checking RCC 8000 clock""... $ac_c" 1>&6 -echo "configure:8651: checking RCC 8000 clock" >&5 +echo "configure:8654: checking RCC 8000 clock" >&5 # Check whether --enable-RCC8000 or --disable-RCC8000 was given. if test "${enable_RCC8000+set}" = set; then enableval="$enable_RCC8000" @@ -8672,7 +8675,7 @@ case "$ntp_ok$ntp_canparse" in esac echo $ac_n "checking Schmid DCF77 clock""... $ac_c" 1>&6 -echo "configure:8676: checking Schmid DCF77 clock" >&5 +echo "configure:8679: checking Schmid DCF77 clock" >&5 # Check whether --enable-SCHMID or --disable-SCHMID was given. if test "${enable_SCHMID+set}" = set; then enableval="$enable_SCHMID" @@ -8697,7 +8700,7 @@ case "$ntp_ok$ntp_canparse" in esac echo $ac_n "checking Trimble GPS receiver/TAIP protocol""... $ac_c" 1>&6 -echo "configure:8701: checking Trimble GPS receiver/TAIP protocol" >&5 +echo "configure:8704: checking Trimble GPS receiver/TAIP protocol" >&5 # Check whether --enable-TRIMTAIP or --disable-TRIMTAIP was given. if test "${enable_TRIMTAIP+set}" = set; then enableval="$enable_TRIMTAIP" @@ -8722,7 +8725,7 @@ case "$ntp_ok$ntp_canparse" in esac echo $ac_n "checking Trimble GPS receiver/TSIP protocol""... $ac_c" 1>&6 -echo "configure:8726: checking Trimble GPS receiver/TSIP protocol" >&5 +echo "configure:8729: checking Trimble GPS receiver/TSIP protocol" >&5 # Check whether --enable-TRIMTSIP or --disable-TRIMTSIP was given. if test "${enable_TRIMTSIP+set}" = set; then enableval="$enable_TRIMTSIP" @@ -8747,7 +8750,7 @@ case "$ntp_ok$ntp_canparse" in esac echo $ac_n "checking WHARTON 400A Series clock""... $ac_c" 1>&6 -echo "configure:8751: checking WHARTON 400A Series clock" >&5 +echo "configure:8754: checking WHARTON 400A Series clock" >&5 # Check whether --enable-WHARTON or --disable-WHARTON was given. if test "${enable_WHARTON+set}" = set; then enableval="$enable_WHARTON" @@ -8772,7 +8775,7 @@ case "$ntp_ok$ntp_canparse" in esac echo $ac_n "checking VARITEXT clock""... $ac_c" 1>&6 -echo "configure:8776: checking VARITEXT clock" >&5 +echo "configure:8779: checking VARITEXT clock" >&5 # Check whether --enable-VARITEXT or --disable-VARITEXT was given. if test "${enable_VARITEXT+set}" = set; then enableval="$enable_VARITEXT" @@ -8800,7 +8803,7 @@ esac echo $ac_n "checking if we need to make and use the parse libraries""... $ac_c" 1>&6 -echo "configure:8804: checking if we need to make and use the parse libraries" >&5 +echo "configure:8807: checking if we need to make and use the parse libraries" >&5 ans=no case "$ntp_libparse" in yes) @@ -8828,7 +8831,7 @@ echo "$ac_t""$ans" 1>&6 echo $ac_n "checking if we need to make and use the RSAREF library""... $ac_c" 1>&6 -echo "configure:8832: checking if we need to make and use the RSAREF library" >&5 +echo "configure:8835: checking if we need to make and use the RSAREF library" >&5 ans=no if test -f $srcdir/rsaref2/source/rsa.c then @@ -8846,7 +8849,7 @@ echo "$ac_t""$ans" 1>&6 echo $ac_n "checking if we can make dcf parse utilities""... $ac_c" 1>&6 -echo "configure:8850: checking if we can make dcf parse utilities" >&5 +echo "configure:8853: checking if we can make dcf parse utilities" >&5 ans=no if test "$ntp_parseutil" = "yes"; then case "$target" in @@ -8861,7 +8864,7 @@ echo "$ac_t""$ans" 1>&6 echo $ac_n "checking if we can build kernel streams modules for parse""... $ac_c" 1>&6 -echo "configure:8865: checking if we can build kernel streams modules for parse" >&5 +echo "configure:8868: checking if we can build kernel streams modules for parse" >&5 ans=no if test "$ntp_parseutil$ac_cv_header_sys_stropts_h" = "yesyes"; then case "$target" in @@ -8886,7 +8889,7 @@ fi echo "$ac_t""$ans" 1>&6 echo $ac_n "checking if we need basic refclock support""... $ac_c" 1>&6 -echo "configure:8890: checking if we need basic refclock support" >&5 +echo "configure:8893: checking if we need basic refclock support" >&5 if test "$ntp_refclock" = "yes"; then cat >> confdefs.h <<\EOF #define REFCLOCK 1 @@ -8898,7 +8901,7 @@ echo "$ac_t""$ntp_refclock" 1>&6 echo $ac_n "checking if we want HP-UX adjtimed support""... $ac_c" 1>&6 -echo "configure:8902: checking if we want HP-UX adjtimed support" >&5 +echo "configure:8905: checking if we want HP-UX adjtimed support" >&5 case "$target" in *-*-hpux[56789]*) ans=yes @@ -8916,7 +8919,7 @@ fi echo "$ac_t""$ans" 1>&6 echo $ac_n "checking if we can read kmem""... $ac_c" 1>&6 -echo "configure:8920: checking if we can read kmem" >&5 +echo "configure:8923: checking if we can read kmem" >&5 if eval "test \"\${ac_cv_var_can_kmem+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8969,7 +8972,7 @@ EOF esac echo $ac_n "checking if adjtime is accurate""... $ac_c" 1>&6 -echo "configure:8973: checking if adjtime is accurate" >&5 +echo "configure:8976: checking if adjtime is accurate" >&5 if eval "test \"\${ac_cv_var_adjtime_is_accurate+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9021,7 +9024,7 @@ EOF esac echo $ac_n "checking the name of 'tick' in the kernel""... $ac_c" 1>&6 -echo "configure:9025: checking the name of 'tick' in the kernel" >&5 +echo "configure:9028: checking the name of 'tick' in the kernel" >&5 if eval "test \"\${ac_cv_var_nlist_tick+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9065,7 +9068,7 @@ EOF esac # echo $ac_n "checking for the units of 'tick'""... $ac_c" 1>&6 -echo "configure:9069: checking for the units of 'tick'" >&5 +echo "configure:9072: checking for the units of 'tick'" >&5 if eval "test \"\${ac_cv_var_tick_nano+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9089,7 +9092,7 @@ EOF esac # echo $ac_n "checking the name of 'tickadj' in the kernel""... $ac_c" 1>&6 -echo "configure:9093: checking the name of 'tickadj' in the kernel" >&5 +echo "configure:9096: checking the name of 'tickadj' in the kernel" >&5 if eval "test \"\${ac_cv_var_nlist_tickadj+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9142,7 +9145,7 @@ EOF esac # echo $ac_n "checking for the units of 'tickadj'""... $ac_c" 1>&6 -echo "configure:9146: checking for the units of 'tickadj'" >&5 +echo "configure:9149: checking for the units of 'tickadj'" >&5 if eval "test \"\${ac_cv_var_tickadj_nano+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9166,7 +9169,7 @@ EOF esac # echo $ac_n "checking half-heartedly for 'dosynctodr' in the kernel""... $ac_c" 1>&6 -echo "configure:9170: checking half-heartedly for 'dosynctodr' in the kernel" >&5 +echo "configure:9173: checking half-heartedly for 'dosynctodr' in the kernel" >&5 if eval "test \"\${ac_cv_var_nlist_dosynctodr+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9219,7 +9222,7 @@ EOF esac # echo $ac_n "checking half-heartedly for 'noprintf' in the kernel""... $ac_c" 1>&6 -echo "configure:9223: checking half-heartedly for 'noprintf' in the kernel" >&5 +echo "configure:9226: checking half-heartedly for 'noprintf' in the kernel" >&5 if eval "test \"\${ac_cv_var_nlist_noprintf+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9269,7 +9272,7 @@ esac echo $ac_n "checking for a default value for 'tick'""... $ac_c" 1>&6 -echo "configure:9273: checking for a default value for 'tick'" >&5 +echo "configure:9276: checking for a default value for 'tick'" >&5 if eval "test \"\${ac_cv_var_tick+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9313,7 +9316,7 @@ EOF esac echo $ac_n "checking for a default value for 'tickadj'""... $ac_c" 1>&6 -echo "configure:9317: checking for a default value for 'tickadj'" >&5 +echo "configure:9320: checking for a default value for 'tickadj'" >&5 if eval "test \"\${ac_cv_var_tickadj+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9420,7 +9423,7 @@ esac echo $ac_n "checking if we want and can make the tickadj utility""... $ac_c" 1>&6 -echo "configure:9424: checking if we want and can make the tickadj utility" >&5 +echo "configure:9427: checking if we want and can make the tickadj utility" >&5 if eval "test \"\${ac_cv_make_tickadj+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9436,7 +9439,7 @@ esac echo $ac_n "checking if we want and can make the ntptime utility""... $ac_c" 1>&6 -echo "configure:9440: checking if we want and can make the ntptime utility" >&5 +echo "configure:9443: checking if we want and can make the ntptime utility" >&5 if eval "test \"\${ac_cv_make_ntptime+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9465,7 +9468,7 @@ case "$ac_cv_make_ntptime" in esac echo $ac_n "checking if we want UDP wildcard delivery""... $ac_c" 1>&6 -echo "configure:9469: checking if we want UDP wildcard delivery" >&5 +echo "configure:9472: checking if we want UDP wildcard delivery" >&5 if eval "test \"\${ac_cv_var_udp_wildcard_delivery+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9544,7 +9547,7 @@ case "$host" in esac echo $ac_n "checking if we should always slew the time""... $ac_c" 1>&6 -echo "configure:9548: checking if we should always slew the time" >&5 +echo "configure:9551: checking if we should always slew the time" >&5 if eval "test \"\${ac_cv_var_slew_always+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9584,7 +9587,7 @@ EOF esac echo $ac_n "checking if we should step and slew the time""... $ac_c" 1>&6 -echo "configure:9588: checking if we should step and slew the time" >&5 +echo "configure:9591: checking if we should step and slew the time" >&5 if eval "test \"\${ac_cv_var_step_slew+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9627,7 +9630,7 @@ EOF esac echo $ac_n "checking if ntpdate should step the time""... $ac_c" 1>&6 -echo "configure:9631: checking if ntpdate should step the time" >&5 +echo "configure:9634: checking if ntpdate should step the time" >&5 if eval "test \"\${ac_cv_var_ntpdate_step+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9658,7 +9661,7 @@ EOF esac echo $ac_n "checking if we should sync TODR clock every hour""... $ac_c" 1>&6 -echo "configure:9662: checking if we should sync TODR clock every hour" >&5 +echo "configure:9665: checking if we should sync TODR clock every hour" >&5 if eval "test \"\${ac_cv_var_sync_todr+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9691,7 +9694,7 @@ EOF esac echo $ac_n "checking if we should avoid kernel FLL bug""... $ac_c" 1>&6 -echo "configure:9695: checking if we should avoid kernel FLL bug" >&5 +echo "configure:9698: checking if we should avoid kernel FLL bug" >&5 if eval "test \"\${ac_cv_var_kernel_fll_bug+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else diff --git a/configure.in b/configure.in index d8958b090..01076dc85 100644 --- a/configure.in +++ b/configure.in @@ -173,9 +173,9 @@ AC_CHECK_LIB(rt, sched_setscheduler, , AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt)) AC_HEADER_STDC -AC_CHECK_HEADERS(bstring.h errno.h fcntl.h memory.h poll.h sched.h sgtty.h) -AC_CHECK_HEADERS(stdlib.h string.h sys/wait.h termio.h termios.h timepps.h) -AC_CHECK_HEADERS(timex.h unistd.h utmp.h utmpx.h) +AC_CHECK_HEADERS(bstring.h errno.h fcntl.h memory.h netdb.h poll.h sched.h) +AC_CHECK_HEADERS(sgtty.h stdlib.h string.h sys/wait.h termio.h termios.h) +AC_CHECK_HEADERS(timepps.h timex.h unistd.h utmp.h utmpx.h) AC_CHECK_HEADERS(arpa/nameser.h net/if.h netinet/in.h netinet/ip.h resolv.h) AC_CHECK_HEADERS(sun/audioio.h sys/audioio.h) dnl AC_CHECK_HEADERS(sys/chudefs.h) @@ -677,6 +677,9 @@ AC_CACHE_CHECK(if we may declare 'h_errno', ac_cv_decl_h_errno, #ifdef HAVE_ARPA_NAMESER_H #include #endif +#ifdef HAVE_NETDB_H +#include +#endif #ifdef HAVE_RESOLV_H #include #endif], diff --git a/include/ntp_machine.h b/include/ntp_machine.h index 82a9f3544..4f7f345d8 100644 --- a/include/ntp_machine.h +++ b/include/ntp_machine.h @@ -232,7 +232,7 @@ typedef unsigned long u_long; */ #if defined(SYS_WINNT) # if !defined(HAVE_CONFIG_H) || !defined(__config) -# error "NT requires config.h to be included" + error "NT requires config.h to be included" # endif /* HAVE_CONFIG_H) */ #if defined SYS_WINNT diff --git a/libntp/mexit.c b/libntp/mexit.c index a7b6cce1f..6ae452ef3 100644 --- a/libntp/mexit.c +++ b/libntp/mexit.c @@ -9,34 +9,6 @@ HANDLE hServDoneEvent = NULL; -void -service_exit( - int status - ) -{ - - if (debug) /* did not become a service, simply exit */ - ExitThread((DWORD)status); - else { - /* service mode, need to have the service_main routine - * register with the service control manager that the - * service has stopped running, before exiting - */ - if ((status > 0) && (hServDoneEvent != NULL)) - SetEvent(hServDoneEvent); - ExitThread((DWORD)status); - } -} - -#else /* not SYS_WINNT */ -int mexit_bs; -#endif /* not SYS_WINNT */ -#ifdef SYS_WINNT -#include -#include - -HANDLE hServDoneEvent = NULL; - void service_exit( int status diff --git a/ntpd/ntp_config.c b/ntpd/ntp_config.c index 84286dcc9..ff7299af0 100644 --- a/ntpd/ntp_config.c +++ b/ntpd/ntp_config.c @@ -1,6 +1,11 @@ /* * ntp_config.c - read and apply configuration information */ + +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/ntpd/ntp_peer.c b/ntpd/ntp_peer.c index f9c5fd17c..61403485e 100644 --- a/ntpd/ntp_peer.c +++ b/ntpd/ntp_peer.c @@ -124,7 +124,7 @@ static struct peer init_peer_alloc[INIT_PEER_ALLOC]; * we try to get their poll update timers initialized to different values * to prevent us from sending big clumps of data all at once. */ -static u_long init_peer_starttime; +/* static u_long init_peer_starttime; */ static void getmorepeermem P((void)); static void key_expire P((struct peer *)); @@ -159,7 +159,7 @@ init_peer(void) /* * Initialization counter. */ - init_peer_starttime = 0; + /* init_peer_starttime = 0; */ /* * Initialize peer memory. diff --git a/ntpd/ntp_restrict.c b/ntpd/ntp_restrict.c index 82306ecb0..0e5b9dc26 100644 --- a/ntpd/ntp_restrict.c +++ b/ntpd/ntp_restrict.c @@ -61,7 +61,7 @@ static int numresfree; /* number of structures on free list */ static u_long res_calls; static u_long res_found; static u_long res_not_found; -static u_long res_timereset; +/* static u_long res_timereset; */ /* * Parameters of the RES_LIMITED restriction option. @@ -122,7 +122,7 @@ init_restrict(void) res_calls = 0; res_found = 0; res_not_found = 0; - res_timereset = 0; + /* res_timereset = 0; */ /* * set default values for RES_LIMIT functionality diff --git a/ntpd/refclock_arc.c b/ntpd/refclock_arc.c index 92fa8cc33..93965269f 100644 --- a/ntpd/refclock_arc.c +++ b/ntpd/refclock_arc.c @@ -1080,7 +1080,7 @@ arc_receive( /* Year-2000 alert! */ /* Attempt to wrap 2-digit date into sensible window. */ if(pp->year < YEAR_PIVOT) { pp->year += 100; } /* Y2KFixes */ - pp->year += 1900; /* use full four-digit year /* Y2KFixes */ + pp->year += 1900; /* use full four-digit year */ /* Y2KFixes */ /* Attempt to do the right thing by screaming that the code will soon break when we get to the end of its useful life. What a diff --git a/ntpdate/ntpdate.c b/ntpdate/ntpdate.c index 1797d4d91..765e2eab6 100644 --- a/ntpdate/ntpdate.c +++ b/ntpdate/ntpdate.c @@ -1501,9 +1501,6 @@ init_alarm(void) static void init_io(void) { - register int i; - register struct recvbuf *rb; - /* * Init buffer free list and stat counters */