*-*-freebsd*)
ans=yes
;;
+ *-*-netbsd*)
+ ans=yes
+ ;;
*-*-osf*)
ans=yes
;;
ntp_warning='GRONK'
echo $ac_n "checking if we'll use clock_settime or settimeofday or stime""... $ac_c" 1>&6
-echo "configure:6950: checking if we'll use clock_settime or settimeofday or stime" >&5
+echo "configure:6953: 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=''
esac
echo $ac_n "checking if we have a losing syscall()""... $ac_c" 1>&6
-echo "configure:6979: checking if we have a losing syscall()" >&5
+echo "configure:6982: 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
esac
echo $ac_n "checking for Streams/TLI""... $ac_c" 1>&6
-echo "configure:7002: checking for Streams/TLI" >&5
+echo "configure:7005: 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
esac
echo $ac_n "checking for SIGIO""... $ac_c" 1>&6
-echo "configure:7031: checking for SIGIO" >&5
+echo "configure:7034: 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 <<EOF
-#line 7036 "configure"
+#line 7039 "configure"
#include "confdefs.h"
#include <signal.h>
#ifdef SIGIO
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:7059: checking if we want to use signalled IO" >&5
+echo "configure:7062: 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
esac
echo $ac_n "checking for SIGPOLL""... $ac_c" 1>&6
-echo "configure:7110: checking for SIGPOLL" >&5
+echo "configure:7113: 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 <<EOF
-#line 7115 "configure"
+#line 7118 "configure"
#include "confdefs.h"
#include <signal.h>
#ifdef SIGPOLL
echo "$ac_t""$ac_cv_hdr_def_sigpoll" 1>&6
echo $ac_n "checking for SIGSYS""... $ac_c" 1>&6
-echo "configure:7138: checking for SIGSYS" >&5
+echo "configure:7141: 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 <<EOF
-#line 7143 "configure"
+#line 7146 "configure"
#include "confdefs.h"
#include <signal.h>
#ifdef SIGSYS
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:7166: checking if we can use SIGPOLL for UDP I/O" >&5
+echo "configure:7169: 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
esac
echo $ac_n "checking if we can use SIGPOLL for TTY I/O""... $ac_c" 1>&6
-echo "configure:7221: checking if we can use SIGPOLL for TTY I/O" >&5
+echo "configure:7224: 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
esac
echo $ac_n "checking if nlist() values might require extra indirection""... $ac_c" 1>&6
-echo "configure:7276: checking if nlist() values might require extra indirection" >&5
+echo "configure:7279: 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
esac
echo $ac_n "checking for a minimum recommended value of tickadj""... $ac_c" 1>&6
-echo "configure:7298: checking for a minimum recommended value of tickadj" >&5
+echo "configure:7301: 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
esac
echo $ac_n "checking if the TTY code permits PARENB and IGNPAR""... $ac_c" 1>&6
-echo "configure:7321: checking if the TTY code permits PARENB and IGNPAR" >&5
+echo "configure:7324: 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
esac
echo $ac_n "checking if we're including debugging code""... $ac_c" 1>&6
-echo "configure:7346: checking if we're including debugging code" >&5
+echo "configure:7349: 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"
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:7364: checking for a the number of minutes in a DST adjustment" >&5
+echo "configure:7367: 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"
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:7380: checking if we have the tty_clk line discipline/streams module" >&5
+echo "configure:7383: 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
esac
echo $ac_n "checking for AIOCTIMESTAMPCTL""... $ac_c" 1>&6
-echo "configure:7396: checking for AIOCTIMESTAMPCTL" >&5
+echo "configure:7399: checking for AIOCTIMESTAMPCTL" >&5
if eval "test \"\${ac_cv_var_aioctimestamp+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 7401 "configure"
+#line 7404 "configure"
#include "confdefs.h"
#include <sys/sio.h>
#ifdef AIOCTIMESTAMPCTL
esac
echo $ac_n "checking for the ppsclock streams module""... $ac_c" 1>&6
-echo "configure:7436: checking for the ppsclock streams module" >&5
+echo "configure:7439: 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
esac
echo $ac_n "checking for kernel multicast support""... $ac_c" 1>&6
-echo "configure:7452: checking for kernel multicast support" >&5
+echo "configure:7455: 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
case "$target" in
i386-sequent-sysv4) ;;
*) cat > conftest.$ac_ext <<EOF
-#line 7460 "configure"
+#line 7463 "configure"
#include "confdefs.h"
#include <netinet/in.h>
#ifdef IP_ADD_MEMBERSHIP
esac
echo $ac_n "checking availability of ntp_{adj,get}time()""... $ac_c" 1>&6
-echo "configure:7487: checking availability of ntp_{adj,get}time()" >&5
+echo "configure:7490: 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
ac_cv_var_ntp_syscalls=libc
;;
*) cat > conftest.$ac_ext <<EOF
-#line 7501 "configure"
+#line 7504 "configure"
#include "confdefs.h"
#include <sys/syscall.h>
#if defined(SYS_ntp_gettime) && defined(SYS_ntp_adjtime)
esac
echo $ac_n "checking if sys/timex.h has STA_FLL""... $ac_c" 1>&6
-echo "configure:7541: checking if sys/timex.h has STA_FLL" >&5
+echo "configure:7544: 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 <<EOF
-#line 7546 "configure"
+#line 7549 "configure"
#include "confdefs.h"
#include <sys/timex.h>
#ifdef STA_FLL
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:7569: checking if we have kernel PLL support" >&5
+echo "configure:7572: 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
esac
echo $ac_n "checking if SIOCGIFCONF returns buffer size in the buffer""... $ac_c" 1>&6
-echo "configure:7593: checking if SIOCGIFCONF returns buffer size in the buffer" >&5
+echo "configure:7596: 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
echo $ac_n "checking if we want to use MD5 authentication""... $ac_c" 1>&6
-echo "configure:7622: checking if we want to use MD5 authentication" >&5
+echo "configure:7625: 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
# Check for ioctls TIOCGPPSEV
echo $ac_n "checking ioctl TIOCGPPSEV""... $ac_c" 1>&6
-echo "configure:7647: checking ioctl TIOCGPPSEV" >&5
+echo "configure:7650: checking ioctl TIOCGPPSEV" >&5
if test "$ac_cv_header_termios_h" = "yes"; then
cat > conftest.$ac_ext <<EOF
-#line 7650 "configure"
+#line 7653 "configure"
#include "confdefs.h"
#include <termios.h>
#ifdef TIOCGPPSEV
# Check for ioctls TIOCSPPS
echo $ac_n "checking ioctl TIOCSPPS""... $ac_c" 1>&6
-echo "configure:7683: checking ioctl TIOCSPPS" >&5
+echo "configure:7686: checking ioctl TIOCSPPS" >&5
if test "$ac_cv_header_termios_h" = "yes"; then
cat > conftest.$ac_ext <<EOF
-#line 7686 "configure"
+#line 7689 "configure"
#include "confdefs.h"
#include <termios.h>
#ifdef TIOCSPPS
# Check for ioctls CIOGETEV
echo $ac_n "checking ioctl CIOGETEV""... $ac_c" 1>&6
-echo "configure:7718: checking ioctl CIOGETEV" >&5
+echo "configure:7721: checking ioctl CIOGETEV" >&5
if test "$ac_cv_header_sys_ppsclock_h" = "yes"; then
cat > conftest.$ac_ext <<EOF
-#line 7721 "configure"
+#line 7724 "configure"
#include "confdefs.h"
#include <sys/ppsclock.h>
#ifdef CIOGETEV
case "$ac_cv_header_timepps_h$ac_cv_header_sys_timepps_h" in
*yes*)
- case "$target" in
- *-*-netbsd*)
- ;;
- *) cat >> confdefs.h <<\EOF
+ cat >> confdefs.h <<\EOF
#define HAVE_PPSAPI 1
EOF
- ac_cv_var_oncore_ok=yes
- ;;
- esac
+ ac_cv_var_oncore_ok=yes
cat >> confdefs.h <<\EOF
#define HAVE_TIMESPEC 1
EOF
# 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:7778: checking for linux/serial.h" >&5
+echo "configure:7776: 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
-#line 7783 "configure"
+#line 7781 "configure"
#include "confdefs.h"
#include <linux/serial.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:7788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:7786: \"$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*
fi
echo $ac_n "checking ioctl TIOCGSERIAL""... $ac_c" 1>&6
-echo "configure:7810: checking ioctl TIOCGSERIAL" >&5
+echo "configure:7808: checking ioctl TIOCGSERIAL" >&5
case "$ac_cv_header_sys_ppsclock_h$ac_cv_header_linux_serial_h" in
yesyes)
cat > conftest.$ac_ext <<EOF
-#line 7814 "configure"
+#line 7812 "configure"
#include "confdefs.h"
#include <sys/time.h>
typedef int u_int;
# HPUX only, and by explicit request
echo $ac_n "checking Datum/Bancomm bc635/VME interface""... $ac_c" 1>&6
-echo "configure:7861: checking Datum/Bancomm bc635/VME interface" >&5
+echo "configure:7859: 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"
#HPUX only, and only by explicit request
echo $ac_n "checking TrueTime GPS receiver/VME interface""... $ac_c" 1>&6
-echo "configure:7885: checking TrueTime GPS receiver/VME interface" >&5
+echo "configure:7883: 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"
esac
echo $ac_n "checking for PCL720 clock support""... $ac_c" 1>&6
-echo "configure:7908: checking for PCL720 clock support" >&5
+echo "configure:7906: 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
echo "$ac_t""$ans" 1>&6
echo $ac_n "checking for SHM clock attached thru shared memory""... $ac_c" 1>&6
-echo "configure:7924: checking for SHM clock attached thru shared memory" >&5
+echo "configure:7922: 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"
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:7943: checking for default inclusion of all suitable non-PARSE clocks" >&5
+echo "configure:7941: 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"
echo "$ac_t""$ntp_eac" 1>&6
echo $ac_n "checking if we have support for PARSE clocks""... $ac_c" 1>&6
-echo "configure:7955: checking if we have support for PARSE clocks" >&5
+echo "configure:7953: 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
# Requires modem control
echo $ac_n "checking ACTS modem service""... $ac_c" 1>&6
-echo "configure:7967: checking ACTS modem service" >&5
+echo "configure:7965: 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 <<EOF
-#line 7974 "configure"
+#line 7972 "configure"
#include "confdefs.h"
#include <termios.h>
#ifdef HAVE_SYS_IOCTL_H
echo "$ac_t""$ntp_ok" 1>&6
echo $ac_n "checking Arbiter 1088A/B GPS receiver""... $ac_c" 1>&6
-echo "configure:8007: checking Arbiter 1088A/B GPS receiver" >&5
+echo "configure:8005: 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"
echo "$ac_t""$ntp_ok" 1>&6
echo $ac_n "checking Arcron MSF receiver""... $ac_c" 1>&6
-echo "configure:8026: checking Arcron MSF receiver" >&5
+echo "configure:8024: 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"
echo "$ac_t""$ntp_ok" 1>&6
echo $ac_n "checking Austron 2200A/2201A GPS receiver""... $ac_c" 1>&6
-echo "configure:8045: checking Austron 2200A/2201A GPS receiver" >&5
+echo "configure:8043: 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"
echo "$ac_t""$ntp_ok" 1>&6
echo $ac_n "checking PPS interface""... $ac_c" 1>&6
-echo "configure:8064: checking PPS interface" >&5
+echo "configure:8062: checking PPS interface" >&5
# Check whether --enable-ATOM or --disable-ATOM was given.
if test "${enable_ATOM+set}" = set; then
enableval="$enable_ATOM"
echo "$ac_t""$ntp_ok" 1>&6
echo $ac_n "checking CHU modem/decoder""... $ac_c" 1>&6
-echo "configure:8083: checking CHU modem/decoder" >&5
+echo "configure:8081: checking CHU modem/decoder" >&5
# Check whether --enable-CHU or --disable-CHU was given.
if test "${enable_CHU+set}" = set; then
enableval="$enable_CHU"
ac_refclock_chu=$ntp_ok
echo $ac_n "checking CHU audio/decoder""... $ac_c" 1>&6
-echo "configure:8103: checking CHU audio/decoder" >&5
+echo "configure:8101: 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"
# Not under HP-UX
echo $ac_n "checking Datum Programmable Time System""... $ac_c" 1>&6
-echo "configure:8127: checking Datum Programmable Time System" >&5
+echo "configure:8125: 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"
# Requires modem control
echo $ac_n "checking Heath GC-1000 WWV/WWVH receiver""... $ac_c" 1>&6
-echo "configure:8153: checking Heath GC-1000 WWV/WWVH receiver" >&5
+echo "configure:8151: 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 <<EOF
-#line 8160 "configure"
+#line 8158 "configure"
#include "confdefs.h"
#include <termios.h>
#ifdef HAVE_SYS_IOCTL_H
echo "$ac_t""$ntp_ok" 1>&6
echo $ac_n "checking HP 58503A GPS receiver""... $ac_c" 1>&6
-echo "configure:8193: checking HP 58503A GPS receiver" >&5
+echo "configure:8191: 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"
echo "$ac_t""$ntp_ok" 1>&6
echo $ac_n "checking Sun IRIG audio decoder""... $ac_c" 1>&6
-echo "configure:8212: checking Sun IRIG audio decoder" >&5
+echo "configure:8210: 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"
esac
echo $ac_n "checking Leitch CSD 5300 Master Clock System Driver""... $ac_c" 1>&6
-echo "configure:8240: checking Leitch CSD 5300 Master Clock System Driver" >&5
+echo "configure:8238: 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"
echo "$ac_t""$ntp_ok" 1>&6
echo $ac_n "checking local clock reference""... $ac_c" 1>&6
-echo "configure:8259: checking local clock reference" >&5
+echo "configure:8257: 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"
echo "$ac_t""$ntp_ok" 1>&6
echo $ac_n "checking EES M201 MSF receiver""... $ac_c" 1>&6
-echo "configure:8278: checking EES M201 MSF receiver" >&5
+echo "configure:8276: 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"
# Not Ultrix
echo $ac_n "checking Magnavox MX4200 GPS receiver""... $ac_c" 1>&6
-echo "configure:8298: checking Magnavox MX4200 GPS receiver" >&5
+echo "configure:8296: 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"
esac
echo $ac_n "checking NMEA GPS receiver""... $ac_c" 1>&6
-echo "configure:8325: checking NMEA GPS receiver" >&5
+echo "configure:8323: checking NMEA GPS receiver" >&5
# Check whether --enable-NMEA or --disable-NMEA was given.
if test "${enable_NMEA+set}" = set; then
enableval="$enable_NMEA"
echo "$ac_t""$ntp_ok" 1>&6
echo $ac_n "checking for ONCORE Motorola VP/UT Oncore GPS""... $ac_c" 1>&6
-echo "configure:8344: checking for ONCORE Motorola VP/UT Oncore GPS" >&5
+echo "configure:8342: 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"
echo "$ac_t""$ntp_ok" 1>&6
echo $ac_n "checking for Palisade clock""... $ac_c" 1>&6
-echo "configure:8366: checking for Palisade clock" >&5
+echo "configure:8364: checking for Palisade clock" >&5
# Check whether --enable-PALISADE or --disable-PALISADE was given.
if test "${enable_PALISADE+set}" = set; then
enableval="$enable_PALISADE"
echo "$ac_t""$ntp_ok" 1>&6
echo $ac_n "checking PST/Traconex 1020 WWV/WWVH receiver""... $ac_c" 1>&6
-echo "configure:8392: checking PST/Traconex 1020 WWV/WWVH receiver" >&5
+echo "configure:8390: 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"
# Not Ultrix
echo $ac_n "checking Rockwell Jupiter GPS receiver""... $ac_c" 1>&6
-echo "configure:8412: checking Rockwell Jupiter GPS receiver" >&5
+echo "configure:8410: 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"
# Requires modem control
echo $ac_n "checking PTB modem service""... $ac_c" 1>&6
-echo "configure:8440: checking PTB modem service" >&5
+echo "configure:8438: 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 <<EOF
-#line 8447 "configure"
+#line 8445 "configure"
#include "confdefs.h"
#include <termios.h>
#ifdef HAVE_SYS_IOCTL_H
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:8480: checking KSI/Odetics TPRO/S GPS receiver/IRIG interface" >&5
+echo "configure:8478: 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"
esac
echo $ac_n "checking TRAK 8810 GPS receiver""... $ac_c" 1>&6
-echo "configure:8508: checking TRAK 8810 GPS receiver" >&5
+echo "configure:8506: 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"
echo "$ac_t""$ntp_ok" 1>&6
echo $ac_n "checking Chrono-log K-series WWVB receiver""... $ac_c" 1>&6
-echo "configure:8527: checking Chrono-log K-series WWVB receiver" >&5
+echo "configure:8525: 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"
echo "$ac_t""$ntp_ok" 1>&6
echo $ac_n "checking Dumb generic hh:mm:ss local clock""... $ac_c" 1>&6
-echo "configure:8546: checking Dumb generic hh:mm:ss local clock" >&5
+echo "configure:8544: 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"
# Not on a vax-dec-bsd
echo $ac_n "checking Kinemetrics/TrueTime receivers""... $ac_c" 1>&6
-echo "configure:8566: checking Kinemetrics/TrueTime receivers" >&5
+echo "configure:8564: checking Kinemetrics/TrueTime receivers" >&5
# Check whether --enable-TRUETIME or --disable-TRUETIME was given.
if test "${enable_TRUETIME+set}" = set; then
enableval="$enable_TRUETIME"
esac
echo $ac_n "checking Spectracom 8170/Netclock/2 WWVB receiver""... $ac_c" 1>&6
-echo "configure:8595: checking Spectracom 8170/Netclock/2 WWVB receiver" >&5
+echo "configure:8593: 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"
echo "$ac_t""$ntp_ok" 1>&6
echo $ac_n "checking Ultralink M320 WWVB receiver""... $ac_c" 1>&6
-echo "configure:8614: checking Ultralink M320 WWVB receiver" >&5
+echo "configure:8612: checking Ultralink M320 WWVB receiver" >&5
# Check whether --enable-ULINK or --disable-ULINK was given.
if test "${enable_ULINK+set}" = set; then
enableval="$enable_ULINK"
# Requires modem control
echo $ac_n "checking USNO modem service""... $ac_c" 1>&6
-echo "configure:8634: checking USNO modem service" >&5
+echo "configure:8632: 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 <<EOF
-#line 8641 "configure"
+#line 8639 "configure"
#include "confdefs.h"
#include <termios.h>
#ifdef HAVE_SYS_IOCTL_H
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:8674: checking for default inclusion of all suitable PARSE clocks" >&5
+echo "configure:8672: 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"
ntp_rawdcf=no
echo $ac_n "checking Diem Computime Radio Clock""... $ac_c" 1>&6
-echo "configure:8704: checking Diem Computime Radio Clock" >&5
+echo "configure:8702: 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"
esac
echo $ac_n "checking ELV/DCF7000 clock""... $ac_c" 1>&6
-echo "configure:8729: checking ELV/DCF7000 clock" >&5
+echo "configure:8727: checking ELV/DCF7000 clock" >&5
# Check whether --enable-DCF7000 or --disable-DCF7000 was given.
if test "${enable_DCF7000+set}" = set; then
enableval="$enable_DCF7000"
esac
echo $ac_n "checking HOPF 6021 clock""... $ac_c" 1>&6
-echo "configure:8754: checking HOPF 6021 clock" >&5
+echo "configure:8752: checking HOPF 6021 clock" >&5
# Check whether --enable-HOPF6021 or --disable-HOPF6021 was given.
if test "${enable_HOPF6021+set}" = set; then
enableval="$enable_HOPF6021"
esac
echo $ac_n "checking Meinberg clocks""... $ac_c" 1>&6
-echo "configure:8779: checking Meinberg clocks" >&5
+echo "configure:8777: checking Meinberg clocks" >&5
# Check whether --enable-MEINBERG or --disable-MEINBERG was given.
if test "${enable_MEINBERG+set}" = set; then
enableval="$enable_MEINBERG"
esac
echo $ac_n "checking DCF77 raw time code""... $ac_c" 1>&6
-echo "configure:8804: checking DCF77 raw time code" >&5
+echo "configure:8802: 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"
case "$ntp_rawdcf" in
yes)
echo $ac_n "checking if we must enable parity for RAWDCF""... $ac_c" 1>&6
-echo "configure:8833: checking if we must enable parity for RAWDCF" >&5
+echo "configure:8831: 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
esac
echo $ac_n "checking RCC 8000 clock""... $ac_c" 1>&6
-echo "configure:8861: checking RCC 8000 clock" >&5
+echo "configure:8859: checking RCC 8000 clock" >&5
# Check whether --enable-RCC8000 or --disable-RCC8000 was given.
if test "${enable_RCC8000+set}" = set; then
enableval="$enable_RCC8000"
esac
echo $ac_n "checking Schmid DCF77 clock""... $ac_c" 1>&6
-echo "configure:8886: checking Schmid DCF77 clock" >&5
+echo "configure:8884: checking Schmid DCF77 clock" >&5
# Check whether --enable-SCHMID or --disable-SCHMID was given.
if test "${enable_SCHMID+set}" = set; then
enableval="$enable_SCHMID"
esac
echo $ac_n "checking Trimble GPS receiver/TAIP protocol""... $ac_c" 1>&6
-echo "configure:8911: checking Trimble GPS receiver/TAIP protocol" >&5
+echo "configure:8909: 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"
esac
echo $ac_n "checking Trimble GPS receiver/TSIP protocol""... $ac_c" 1>&6
-echo "configure:8936: checking Trimble GPS receiver/TSIP protocol" >&5
+echo "configure:8934: 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"
esac
echo $ac_n "checking WHARTON 400A Series clock""... $ac_c" 1>&6
-echo "configure:8961: checking WHARTON 400A Series clock" >&5
+echo "configure:8959: 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"
esac
echo $ac_n "checking VARITEXT clock""... $ac_c" 1>&6
-echo "configure:8986: checking VARITEXT clock" >&5
+echo "configure:8984: checking VARITEXT clock" >&5
# Check whether --enable-VARITEXT or --disable-VARITEXT was given.
if test "${enable_VARITEXT+set}" = set; then
enableval="$enable_VARITEXT"
echo $ac_n "checking if we need to make and use the parse libraries""... $ac_c" 1>&6
-echo "configure:9014: checking if we need to make and use the parse libraries" >&5
+echo "configure:9012: checking if we need to make and use the parse libraries" >&5
ans=no
case "$ntp_libparse" in
yes)
echo $ac_n "checking if we need to make and use the RSAREF library""... $ac_c" 1>&6
-echo "configure:9042: checking if we need to make and use the RSAREF library" >&5
+echo "configure:9040: checking if we need to make and use the RSAREF library" >&5
ans=no
if test -f $srcdir/rsaref2/source/rsa.c
then
echo $ac_n "checking if we can make dcf parse utilities""... $ac_c" 1>&6
-echo "configure:9060: checking if we can make dcf parse utilities" >&5
+echo "configure:9058: checking if we can make dcf parse utilities" >&5
ans=no
if test "$ntp_parseutil" = "yes"; then
case "$target" in
echo $ac_n "checking if we can build kernel streams modules for parse""... $ac_c" 1>&6
-echo "configure:9075: checking if we can build kernel streams modules for parse" >&5
+echo "configure:9073: checking if we can build kernel streams modules for parse" >&5
ans=no
case "$ntp_parseutil$ac_cv_header_sys_stropts_h" in
yesyes)
echo "$ac_t""$ans" 1>&6
echo $ac_n "checking if we need basic refclock support""... $ac_c" 1>&6
-echo "configure:9102: checking if we need basic refclock support" >&5
+echo "configure:9100: checking if we need basic refclock support" >&5
if test "$ntp_refclock" = "yes"; then
cat >> confdefs.h <<\EOF
#define REFCLOCK 1
echo $ac_n "checking if we want HP-UX adjtimed support""... $ac_c" 1>&6
-echo "configure:9114: checking if we want HP-UX adjtimed support" >&5
+echo "configure:9112: checking if we want HP-UX adjtimed support" >&5
case "$target" in
*-*-hpux[56789]*)
ans=yes
echo "$ac_t""$ans" 1>&6
echo $ac_n "checking if we can read kmem""... $ac_c" 1>&6
-echo "configure:9132: checking if we can read kmem" >&5
+echo "configure:9130: 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
esac
echo $ac_n "checking if adjtime is accurate""... $ac_c" 1>&6
-echo "configure:9185: checking if adjtime is accurate" >&5
+echo "configure:9183: 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
esac
echo $ac_n "checking the name of 'tick' in the kernel""... $ac_c" 1>&6
-echo "configure:9237: checking the name of 'tick' in the kernel" >&5
+echo "configure:9235: 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
esac
#
echo $ac_n "checking for the units of 'tick'""... $ac_c" 1>&6
-echo "configure:9281: checking for the units of 'tick'" >&5
+echo "configure:9279: 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
esac
#
echo $ac_n "checking the name of 'tickadj' in the kernel""... $ac_c" 1>&6
-echo "configure:9305: checking the name of 'tickadj' in the kernel" >&5
+echo "configure:9303: 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
esac
#
echo $ac_n "checking for the units of 'tickadj'""... $ac_c" 1>&6
-echo "configure:9358: checking for the units of 'tickadj'" >&5
+echo "configure:9356: 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
esac
#
echo $ac_n "checking half-heartedly for 'dosynctodr' in the kernel""... $ac_c" 1>&6
-echo "configure:9382: checking half-heartedly for 'dosynctodr' in the kernel" >&5
+echo "configure:9380: 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
esac
#
echo $ac_n "checking half-heartedly for 'noprintf' in the kernel""... $ac_c" 1>&6
-echo "configure:9435: checking half-heartedly for 'noprintf' in the kernel" >&5
+echo "configure:9433: 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
echo $ac_n "checking for a default value for 'tick'""... $ac_c" 1>&6
-echo "configure:9485: checking for a default value for 'tick'" >&5
+echo "configure:9483: 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
esac
echo $ac_n "checking for a default value for 'tickadj'""... $ac_c" 1>&6
-echo "configure:9529: checking for a default value for 'tickadj'" >&5
+echo "configure:9527: 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
# Unfortunately, there is no easy way to know if particular release
# has this "feature" or any obvious way to test for it.
case "$target" in
- *-*-sco3.2v5*|mips-sni-sysv4*) cat >> confdefs.h <<\EOF
+ mips-sni-sysv4*) cat >> confdefs.h <<\EOF
+#define RELIANTUNIX_CLOCK 1
+EOF
+ ;;
+esac
+
+case "$target" in
+ *-*-sco3.2v5*) cat >> confdefs.h <<\EOF
#define SCO5_CLOCK 1
EOF
;;
echo $ac_n "checking if we want and can make the tickadj utility""... $ac_c" 1>&6
-echo "configure:9655: checking if we want and can make the tickadj utility" >&5
+echo "configure:9660: 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
echo $ac_n "checking if we want and can make the ntptime utility""... $ac_c" 1>&6
-echo "configure:9671: checking if we want and can make the ntptime utility" >&5
+echo "configure:9676: 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
case "$target" in
- *linux*)
- ans=no
- ;;
*) case "$ac_cv_struct_ntptimeval$ac_cv_var_kernel_pll" in
yesyes)
ans=yes
esac
echo $ac_n "checking if we want UDP wildcard delivery""... $ac_c" 1>&6
-echo "configure:9700: checking if we want UDP wildcard delivery" >&5
+echo "configure:9702: 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
esac
echo $ac_n "checking if we should always slew the time""... $ac_c" 1>&6
-echo "configure:9779: checking if we should always slew the time" >&5
+echo "configure:9781: 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
esac
echo $ac_n "checking if we should step and slew the time""... $ac_c" 1>&6
-echo "configure:9819: checking if we should step and slew the time" >&5
+echo "configure:9821: 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
esac
echo $ac_n "checking if ntpdate should step the time""... $ac_c" 1>&6
-echo "configure:9862: checking if ntpdate should step the time" >&5
+echo "configure:9864: 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
esac
echo $ac_n "checking if we should sync TODR clock every hour""... $ac_c" 1>&6
-echo "configure:9893: checking if we should sync TODR clock every hour" >&5
+echo "configure:9895: 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
esac
echo $ac_n "checking if we should avoid kernel FLL bug""... $ac_c" 1>&6
-echo "configure:9926: checking if we should avoid kernel FLL bug" >&5
+echo "configure:9928: 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