From: Harlan Stenn Date: Sun, 25 Jul 1999 09:21:40 +0000 (-0000) Subject: Many files: X-Git-Tag: NTP_4_0_94b^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95589d02c6d68aa283dca0c08ae279f409d0c359;p=thirdparty%2Fntp.git Many files: * configure.in: 4.0.94b * acconfig.h: * configure.in: * libparse/Makefile.am: * libparse/parse_conf.c: * libparse/clk_varitext.c: * libparse/kclk_varitext.c: * ntpd/refclock_parse.c: VARITEXT parse clock * ntpdate/ntpdate.c: bugfix From: Tony McConnell bk: 379ad724inPPSQDH1bJpiXT-EMlHiQ --- diff --git a/ChangeLog b/ChangeLog index 5bdb13e78..a2eedec8b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +1999-07-25 Harlan Stenn + + * configure.in: 4.0.94b + + * acconfig.h: + * configure.in: + * libparse/Makefile.am: + * libparse/parse_conf.c: + * libparse/clk_varitext.c: + * libparse/kclk_varitext.c: + * ntpd/refclock_parse.c: VARITEXT parse clock + * ntpdate/ntpdate.c: bugfix + From: Tony McConnell + 1999-07-24 Harlan Stenn * include/ntp_syscall.h (ntp_gettime): Make it static diff --git a/NEWS b/NEWS index b8fdc66f1..b73e6c747 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +* NT port cleanup +* VARITEXT Parse clock added (4.0.94) * PPS updates (including ntp.config options) * Lose the old DES stuff in favor of the (optional) RSAREF stuff diff --git a/acconfig.h b/acconfig.h index a74f09798..13b43f711 100644 --- a/acconfig.h +++ b/acconfig.h @@ -73,6 +73,9 @@ /* WHARTON 400A Series protocol */ #undef CLOCK_WHARTON_400A +/* VARITEXT protocol */ +#undef CLOCK_VARITEXT + /* Diems Computime Radio Clock */ #undef CLOCK_COMPUTIME diff --git a/config.h.in b/config.h.in index 8a9cd218a..6db4f5564 100644 --- a/config.h.in +++ b/config.h.in @@ -131,6 +131,9 @@ /* WHARTON 400A Series protocol */ #undef CLOCK_WHARTON_400A +/* VARITEXT protocol */ +#undef CLOCK_VARITEXT + /* Diems Computime Radio Clock */ #undef CLOCK_COMPUTIME diff --git a/configure b/configure index 86ad4a83c..fc09576c6 100755 --- a/configure +++ b/configure @@ -103,6 +103,8 @@ ac_help="$ac_help --enable-TRIMTSIP s Trimble GPS receiver/TSIP protocol" ac_help="$ac_help --enable-WHARTON s WHARTON 400A Series clock" +ac_help="$ac_help + --enable-VARITEXT s VARITEXT clock" ac_help="$ac_help --enable-kmem s read /dev/kmem for tick and/or tickadj" ac_help="$ac_help @@ -656,7 +658,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. echo $ac_n "checking host system type""... $ac_c" 1>&6 -echo "configure:660: checking host system type" >&5 +echo "configure:662: checking host system type" >&5 if test "x$ac_cv_host" = "x" || (test "x$host" != "xNONE" && test "x$host" != "x$ac_cv_host_alias"); then # Make sure we can run config.sub. @@ -697,7 +699,7 @@ host_os=$ac_cv_host_os echo $ac_n "checking target system type""... $ac_c" 1>&6 -echo "configure:701: checking target system type" >&5 +echo "configure:703: checking target system type" >&5 if test "x$ac_cv_target" = "x" || (test "x$target" != "xNONE" && test "x$target" != "x$ac_cv_target_alias"); then # Make sure we can run config.sub. @@ -737,7 +739,7 @@ target_os=$ac_cv_target_os echo $ac_n "checking build system type""... $ac_c" 1>&6 -echo "configure:741: checking build system type" >&5 +echo "configure:743: checking build system type" >&5 if test "x$ac_cv_build" = "x" || (test "x$build" != "xNONE" && test "x$build" != "x$ac_cv_build_alias"); then # Make sure we can run config.sub. @@ -839,7 +841,7 @@ test "$program_transform_name" = "" && program_transform_name="s,x,x," # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:843: checking for a BSD compatible install" >&5 +echo "configure:845: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"\${ac_cv_path_install+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -896,7 +898,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 -echo "configure:900: checking whether build environment is sane" >&5 +echo "configure:902: checking whether build environment is sane" >&5 # Just in case sleep 1 echo timestamp > conftestfile @@ -934,7 +936,7 @@ fi rm -f conftest* echo "$ac_t""yes" 1>&6 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:938: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "configure:940: checking whether ${MAKE-make} sets \${MAKE}" >&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -964,7 +966,7 @@ fi PACKAGE=ntp -VERSION=4.0.94 +VERSION=4.0.94b if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } @@ -981,7 +983,7 @@ EOF missing_dir=`cd $ac_aux_dir && pwd` echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 -echo "configure:985: checking for working aclocal" >&5 +echo "configure:987: checking for working aclocal" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. @@ -994,7 +996,7 @@ else fi echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 -echo "configure:998: checking for working autoconf" >&5 +echo "configure:1000: checking for working autoconf" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. @@ -1007,7 +1009,7 @@ else fi echo $ac_n "checking for working automake""... $ac_c" 1>&6 -echo "configure:1011: checking for working automake" >&5 +echo "configure:1013: checking for working automake" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. @@ -1020,7 +1022,7 @@ else fi echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 -echo "configure:1024: checking for working autoheader" >&5 +echo "configure:1026: checking for working autoheader" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. @@ -1033,7 +1035,7 @@ else fi echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 -echo "configure:1037: checking for working makeinfo" >&5 +echo "configure:1039: checking for working makeinfo" >&5 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. @@ -1050,7 +1052,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1054: checking for $ac_word" >&5 +echo "configure:1056: checking for $ac_word" >&5 if eval "test \"\${ac_cv_prog_AMTAR+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1096,7 +1098,7 @@ iCFLAGS="$CFLAGS" # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1100: checking for $ac_word" >&5 +echo "configure:1102: checking for $ac_word" >&5 if eval "test \"\${ac_cv_prog_CC+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1126,7 +1128,7 @@ if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1130: checking for $ac_word" >&5 +echo "configure:1132: checking for $ac_word" >&5 if eval "test \"\${ac_cv_prog_CC+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1177,7 +1179,7 @@ fi # Extract the first word of "cl", so it can be a program name with args. set dummy cl; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1181: checking for $ac_word" >&5 +echo "configure:1183: checking for $ac_word" >&5 if eval "test \"\${ac_cv_prog_CC+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1209,7 +1211,7 @@ fi fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:1213: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" >&5 +echo "configure:1215: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -1220,12 +1222,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext << EOF -#line 1224 "configure" +#line 1226 "configure" #include "confdefs.h" main(){return(0);} EOF -if { (eval echo configure:1229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -1251,12 +1253,12 @@ if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:1255: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:1257: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:1260: checking whether we are using GNU C" >&5 +echo "configure:1262: checking whether we are using GNU C" >&5 if eval "test \"\${ac_cv_prog_gcc+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1265,7 +1267,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -1284,7 +1286,7 @@ ac_test_CFLAGS="${CFLAGS+set}" ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:1288: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:1290: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"\${ac_cv_prog_cc_g+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1316,7 +1318,7 @@ else fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:1320: checking how to run the C preprocessor" >&5 +echo "configure:1322: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -1331,13 +1333,13 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1343: \"$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 : @@ -1348,13 +1350,13 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1360: \"$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 : @@ -1365,13 +1367,13 @@ else rm -rf conftest* CPP="${CC-cc} -nologo -E" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1377: \"$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 : @@ -1429,7 +1431,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1433: checking for $ac_word" >&5 +echo "configure:1435: checking for $ac_word" >&5 if eval "test \"\${ac_cv_prog_AWK+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1459,7 +1461,7 @@ test -n "$AWK" && break done echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:1463: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "configure:1465: checking whether ${MAKE-make} sets \${MAKE}" >&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1501,7 +1503,7 @@ case "$GCC" in CFLAGS="$CFLAGS -Wstrict-prototypes" echo $ac_n "checking whether ${CC-cc} -pipe works""... $ac_c" 1>&6 -echo "configure:1505: checking whether ${CC-cc} -pipe works" >&5 +echo "configure:1507: checking whether ${CC-cc} -pipe works" >&5 if eval "test \"\${ac_cv_prog_cc_pipe+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1579,7 +1581,7 @@ esac echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 -echo "configure:1583: checking whether ln -s works" >&5 +echo "configure:1585: checking whether ln -s works" >&5 if eval "test \"\${ac_cv_prog_LN_S+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1601,13 +1603,13 @@ fi if test $ac_cv_prog_gcc = yes; then echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 -echo "configure:1605: checking whether ${CC-cc} needs -traditional" >&5 +echo "configure:1607: checking whether ${CC-cc} needs -traditional" >&5 if eval "test \"\${ac_cv_prog_gcc_traditional+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_pattern="Autoconf.*'x'" cat > conftest.$ac_ext < Autoconf TIOCGETP @@ -1625,7 +1627,7 @@ rm -f conftest* if test $ac_cv_prog_gcc_traditional = no; then cat > conftest.$ac_ext < Autoconf TCGETA @@ -1647,9 +1649,9 @@ echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 fi echo $ac_n "checking for AIX""... $ac_c" 1>&6 -echo "configure:1651: checking for AIX" >&5 +echo "configure:1653: checking for AIX" >&5 cat > conftest.$ac_ext <&6 -echo "configure:1676: checking for minix/config.h" >&5 +echo "configure:1678: checking for minix/config.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:1686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1688: \"$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* @@ -1720,7 +1722,7 @@ EOF fi echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 -echo "configure:1724: checking for POSIXized ISC" >&5 +echo "configure:1726: checking for POSIXized ISC" >&5 if test -d /etc/conf/kconfig.d && grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 then @@ -1743,7 +1745,7 @@ fi # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1747: checking for $ac_word" >&5 +echo "configure:1749: checking for $ac_word" >&5 if eval "test \"\${ac_cv_prog_RANLIB+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1773,7 +1775,7 @@ fi # Extract the first word of "sh", so it can be a program name with args. set dummy sh; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1777: checking for $ac_word" >&5 +echo "configure:1779: checking for $ac_word" >&5 if eval "test \"\${ac_cv_path_PATH_SH+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1824,7 +1826,7 @@ esac # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:1828: checking for a BSD compatible install" >&5 +echo "configure:1830: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"\${ac_cv_path_install+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1899,7 +1901,7 @@ esac case "$target" in *-pc-cygwin32) echo $ac_n "checking for main in -ladvapi32""... $ac_c" 1>&6 -echo "configure:1903: checking for main in -ladvapi32" >&5 +echo "configure:1905: checking for main in -ladvapi32" >&5 ac_lib_var=`echo advapi32'_'main | sed 'y%./+-%__p_%'` if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1907,14 +1909,14 @@ else ac_save_LIBS="$LIBS" LIBS="-ladvapi32 $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1944,7 +1946,7 @@ fi ;; esac echo $ac_n "checking for nlist in -lelf""... $ac_c" 1>&6 -echo "configure:1948: checking for nlist in -lelf" >&5 +echo "configure:1950: checking for nlist in -lelf" >&5 ac_lib_var=`echo elf'_'nlist | sed 'y%./+-%__p_%'` if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1952,7 +1954,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lelf $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1993,7 +1995,7 @@ fi case "$check_libgen" in yes) echo $ac_n "checking for openlog in -lgen""... $ac_c" 1>&6 -echo "configure:1997: checking for openlog in -lgen" >&5 +echo "configure:1999: checking for openlog in -lgen" >&5 ac_lib_var=`echo gen'_'openlog | sed 'y%./+-%__p_%'` if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2001,7 +2003,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lgen $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2042,7 +2044,7 @@ fi ;; esac echo $ac_n "checking for main in -lkvm""... $ac_c" 1>&6 -echo "configure:2046: checking for main in -lkvm" >&5 +echo "configure:2048: checking for main in -lkvm" >&5 ac_lib_var=`echo kvm'_'main | sed 'y%./+-%__p_%'` if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2050,14 +2052,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lkvm $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2084,7 +2086,7 @@ else echo "$ac_t""no" 1>&6 fi echo $ac_n "checking for nlist in -lld""... $ac_c" 1>&6 -echo "configure:2088: checking for nlist in -lld" >&5 +echo "configure:2090: checking for nlist in -lld" >&5 ac_lib_var=`echo ld'_'nlist | sed 'y%./+-%__p_%'` if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2092,7 +2094,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lld $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2131,7 +2133,7 @@ else fi echo $ac_n "checking for nlist in -lmld""... $ac_c" 1>&6 -echo "configure:2135: checking for nlist in -lmld" >&5 +echo "configure:2137: checking for nlist in -lmld" >&5 ac_lib_var=`echo mld'_'nlist | sed 'y%./+-%__p_%'` if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2139,7 +2141,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lmld $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2180,7 +2182,7 @@ fi case "$check_libnsl" in yes) echo $ac_n "checking for gethostbyaddr in -lnsl""... $ac_c" 1>&6 -echo "configure:2184: checking for gethostbyaddr in -lnsl" >&5 +echo "configure:2186: checking for gethostbyaddr in -lnsl" >&5 ac_lib_var=`echo nsl'_'gethostbyaddr | sed 'y%./+-%__p_%'` if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2188,7 +2190,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lnsl -lsocket $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2229,7 +2231,7 @@ fi ;; esac echo $ac_n "checking for sched_setscheduler in -lrt""... $ac_c" 1>&6 -echo "configure:2233: checking for sched_setscheduler in -lrt" >&5 +echo "configure:2235: checking for sched_setscheduler in -lrt" >&5 ac_lib_var=`echo rt'_'sched_setscheduler | sed 'y%./+-%__p_%'` if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2237,7 +2239,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lrt $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2274,7 +2276,7 @@ EOF else echo "$ac_t""no" 1>&6 echo $ac_n "checking for sched_setscheduler in -lposix4""... $ac_c" 1>&6 -echo "configure:2278: checking for sched_setscheduler in -lposix4" >&5 +echo "configure:2280: checking for sched_setscheduler in -lposix4" >&5 ac_lib_var=`echo posix4'_'sched_setscheduler | sed 'y%./+-%__p_%'` if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2282,7 +2284,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lposix4 $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2325,7 +2327,7 @@ fi case "$check_libsocket" in yes) echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 -echo "configure:2329: checking for socket in -lsocket" >&5 +echo "configure:2331: checking for socket in -lsocket" >&5 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2333,7 +2335,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lsocket $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -2375,12 +2377,12 @@ fi esac echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:2379: checking for ANSI C header files" >&5 +echo "configure:2381: checking for ANSI C header files" >&5 if eval "test \"\${ac_cv_header_stdc+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -2388,7 +2390,7 @@ else #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2394: \"$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* @@ -2405,7 +2407,7 @@ rm -f conftest* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -2423,7 +2425,7 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -2444,7 +2446,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -2455,7 +2457,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } EOF -if { (eval echo configure:2459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -2482,17 +2484,17 @@ for ac_hdr in bstring.h errno.h fcntl.h memory.h poll.h sched.h sgtty.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2486: checking for $ac_hdr" >&5 +echo "configure:2488: checking for $ac_hdr" >&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:2496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2498: \"$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* @@ -2522,17 +2524,17 @@ for ac_hdr in stdlib.h string.h sys/wait.h termio.h termios.h timepps.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2526: checking for $ac_hdr" >&5 +echo "configure:2528: checking for $ac_hdr" >&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:2536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2538: \"$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* @@ -2562,17 +2564,17 @@ for ac_hdr in 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 -echo "configure:2566: checking for $ac_hdr" >&5 +echo "configure:2568: checking for $ac_hdr" >&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:2576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2578: \"$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* @@ -2602,17 +2604,17 @@ for ac_hdr in arpa/nameser.h net/if.h netinet/in.h netinet/ip.h resolv.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2606: checking for $ac_hdr" >&5 +echo "configure:2608: checking for $ac_hdr" >&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:2616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2618: \"$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* @@ -2642,17 +2644,17 @@ for ac_hdr in sun/audioio.h sys/audioio.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2646: checking for $ac_hdr" >&5 +echo "configure:2648: checking for $ac_hdr" >&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:2656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2658: \"$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* @@ -2682,17 +2684,17 @@ for ac_hdr in sys/clkdefs.h sys/file.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2686: checking for $ac_hdr" >&5 +echo "configure:2688: checking for $ac_hdr" >&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:2696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2698: \"$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* @@ -2724,17 +2726,17 @@ case "$target" in do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2728: checking for $ac_hdr" >&5 +echo "configure:2730: checking for $ac_hdr" >&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:2738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2740: \"$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* @@ -2766,17 +2768,17 @@ for ac_hdr in sys/lock.h sys/mman.h sys/modem.h sys/param.h sys/ppsclock.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2770: checking for $ac_hdr" >&5 +echo "configure:2772: checking for $ac_hdr" >&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:2780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2782: \"$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* @@ -2806,17 +2808,17 @@ for ac_hdr in sys/proc.h sys/resource.h sys/sched.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2810: checking for $ac_hdr" >&5 +echo "configure:2812: checking for $ac_hdr" >&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:2820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2822: \"$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* @@ -2850,17 +2852,17 @@ case "$target" in do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2854: checking for $ac_hdr" >&5 +echo "configure:2856: checking for $ac_hdr" >&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:2864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2866: \"$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* @@ -2892,17 +2894,17 @@ done do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2896: checking for $ac_hdr" >&5 +echo "configure:2898: checking for $ac_hdr" >&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:2906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2908: \"$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* @@ -2934,17 +2936,17 @@ for ac_hdr in sys/sockio.h sys/stat.h sys/stream.h sys/stropts.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2938: checking for $ac_hdr" >&5 +echo "configure:2940: checking for $ac_hdr" >&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:2948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2950: \"$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* @@ -2974,17 +2976,17 @@ for ac_hdr in sys/sysctl.h sys/termios.h sys/time.h sys/timepps.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2978: checking for $ac_hdr" >&5 +echo "configure:2980: checking for $ac_hdr" >&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:2988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2990: \"$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* @@ -3014,17 +3016,17 @@ for ac_hdr in sys/timers.h sys/timex.h sys/tpro.h sys/types.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:3018: checking for $ac_hdr" >&5 +echo "configure:3020: checking for $ac_hdr" >&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:3028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3030: \"$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* @@ -3051,12 +3053,12 @@ fi done echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 -echo "configure:3055: checking whether time.h and sys/time.h may both be included" >&5 +echo "configure:3057: checking whether time.h and sys/time.h may both be included" >&5 if eval "test \"\${ac_cv_header_time+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -3065,7 +3067,7 @@ int main() { struct tm *tp; ; return 0; } EOF -if { (eval echo configure:3069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else @@ -3091,17 +3093,17 @@ case "$target" in do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:3095: checking for $ac_hdr" >&5 +echo "configure:3097: checking for $ac_hdr" >&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:3105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3107: \"$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* @@ -3133,17 +3135,17 @@ done do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:3137: checking for $ac_hdr" >&5 +echo "configure:3139: checking for $ac_hdr" >&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:3147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3149: \"$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* @@ -3174,17 +3176,17 @@ esac ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 -echo "configure:3178: checking for nlist.h" >&5 +echo "configure:3180: checking for nlist.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:3188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3190: \"$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* @@ -3205,19 +3207,19 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then EOF echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 -echo "configure:3209: checking for n_un in struct nlist" >&5 +echo "configure:3211: checking for n_un in struct nlist" >&5 if eval "test \"\${ac_cv_struct_nlist_n_un+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { struct nlist n; n.n_un.n_name = 0; ; return 0; } EOF -if { (eval echo configure:3221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_nlist_n_un=yes else @@ -3242,12 +3244,12 @@ else fi echo $ac_n "checking for basic volatile support""... $ac_c" 1>&6 -echo "configure:3246: checking for basic volatile support" >&5 +echo "configure:3248: checking for basic volatile support" >&5 if eval "test \"\${ac_cv_c_volatile+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:3261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_volatile=yes else @@ -3288,7 +3290,7 @@ case "$target" in echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 -echo "configure:3292: checking for ${CC-cc} option to accept ANSI C" >&5 +echo "configure:3294: checking for ${CC-cc} option to accept ANSI C" >&5 if eval "test \"\${am_cv_prog_cc_stdc+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3305,7 +3307,7 @@ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIO do CC="$ac_save_CC $ac_arg" cat > conftest.$ac_ext < #include @@ -3342,7 +3344,7 @@ return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } EOF -if { (eval echo configure:3346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* am_cv_prog_cc_stdc="$ac_arg"; break else @@ -3368,7 +3370,7 @@ esac echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 -echo "configure:3372: checking for function prototypes" >&5 +echo "configure:3374: checking for function prototypes" >&5 if test "$am_cv_prog_cc_stdc" != no; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF @@ -3381,12 +3383,12 @@ else U=_ ANSI2KNR=./ansi2knr # Ensure some checks needed by ansi2knr itself. echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:3385: checking for ANSI C header files" >&5 +echo "configure:3387: checking for ANSI C header files" >&5 if eval "test \"\${ac_cv_header_stdc+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -3394,7 +3396,7 @@ else #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3400: \"$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* @@ -3411,7 +3413,7 @@ rm -f conftest* if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -3429,7 +3431,7 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -3450,7 +3452,7 @@ if test "$cross_compiling" = yes; then : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -3461,7 +3463,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); exit (0); } EOF -if { (eval echo configure:3465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -3488,17 +3490,17 @@ fi do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:3492: checking for $ac_hdr" >&5 +echo "configure:3494: checking for $ac_hdr" >&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:3502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3504: \"$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* @@ -3529,12 +3531,12 @@ fi ;; esac echo $ac_n "checking if C compiler permits function prototypes""... $ac_c" 1>&6 -echo "configure:3533: checking if C compiler permits function prototypes" >&5 +echo "configure:3535: checking if C compiler permits function prototypes" >&5 if eval "test \"\${ac_cv_have_prototypes+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:3550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_have_prototypes=yes else @@ -3566,12 +3568,12 @@ EOF fi echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:3570: checking for working const" >&5 +echo "configure:3572: checking for working const" >&5 if eval "test \"\${ac_cv_c_const+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:3626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else @@ -3643,14 +3645,14 @@ fi case "$host" in $target) echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 -echo "configure:3647: checking whether byte ordering is bigendian" >&5 +echo "configure:3649: checking whether byte ordering is bigendian" >&5 if eval "test \"\${ac_cv_c_bigendian+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_bigendian=unknown # See if sys/param.h defines the BYTE_ORDER macro. cat > conftest.$ac_ext < #include @@ -3661,11 +3663,11 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:3665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* # It does; now see whether it defined to BIG_ENDIAN or not. cat > conftest.$ac_ext < #include @@ -3676,7 +3678,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:3680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_bigendian=yes else @@ -3696,7 +3698,7 @@ if test "$cross_compiling" = yes; then { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_c_bigendian=no else @@ -3749,12 +3751,12 @@ EOF ;; esac echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 -echo "configure:3753: checking return type of signal handlers" >&5 +echo "configure:3755: checking return type of signal handlers" >&5 if eval "test \"\${ac_cv_type_signal+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -3771,7 +3773,7 @@ int main() { int i; ; return 0; } EOF -if { (eval echo configure:3775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else @@ -3790,12 +3792,12 @@ EOF echo $ac_n "checking for off_t""... $ac_c" 1>&6 -echo "configure:3794: checking for off_t" >&5 +echo "configure:3796: checking for off_t" >&5 if eval "test \"\${ac_cv_type_off_t+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -3825,12 +3827,12 @@ EOF fi echo $ac_n "checking for size_t""... $ac_c" 1>&6 -echo "configure:3829: checking for size_t" >&5 +echo "configure:3831: checking for size_t" >&5 if eval "test \"\${ac_cv_type_size_t+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -3860,12 +3862,12 @@ EOF fi echo $ac_n "checking for time_t""... $ac_c" 1>&6 -echo "configure:3864: checking for time_t" >&5 +echo "configure:3866: checking for time_t" >&5 if eval "test \"\${ac_cv_type_time_t+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -3895,12 +3897,12 @@ EOF fi echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 -echo "configure:3899: checking whether struct tm is in sys/time.h or time.h" >&5 +echo "configure:3901: checking whether struct tm is in sys/time.h or time.h" >&5 if eval "test \"\${ac_cv_struct_tm+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -3908,7 +3910,7 @@ int main() { struct tm *tp; tp->tm_sec; ; return 0; } EOF -if { (eval echo configure:3912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_tm=time.h else @@ -3930,7 +3932,7 @@ fi echo $ac_n "checking for a fallback value for HZ""... $ac_c" 1>&6 -echo "configure:3934: checking for a fallback value for HZ" >&5 +echo "configure:3936: checking for a fallback value for HZ" >&5 if eval "test \"\${ac_cv_var_default_hz+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3952,7 +3954,7 @@ EOF echo $ac_n "checking if we need to override the system's value for HZ""... $ac_c" 1>&6 -echo "configure:3956: checking if we need to override the system's value for HZ" >&5 +echo "configure:3958: checking if we need to override the system's value for HZ" >&5 if eval "test \"\${ac_cv_var_override_hz+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3986,12 +3988,12 @@ esac echo $ac_n "checking for struct ppsclockev""... $ac_c" 1>&6 -echo "configure:3990: checking for struct ppsclockev" >&5 +echo "configure:3992: checking for struct ppsclockev" >&5 if eval "test \"\${ac_cv_struct_ppsclockev+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -4010,7 +4012,7 @@ extern struct ppsclockev *pce; return pce->serial; ; return 0; } EOF -if { (eval echo configure:4014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_ppsclockev=yes else @@ -4032,12 +4034,12 @@ EOF fi echo $ac_n "checking struct sockaddr for sa_len""... $ac_c" 1>&6 -echo "configure:4036: checking struct sockaddr for sa_len" >&5 +echo "configure:4038: checking struct sockaddr for sa_len" >&5 if eval "test \"\${ac_cv_struct_sockaddr_has_sa_len+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -4048,7 +4050,7 @@ extern struct sockaddr *ps; return ps->sa_len; ; return 0; } EOF -if { (eval echo configure:4052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_sockaddr_has_sa_len=yes else @@ -4070,12 +4072,12 @@ EOF fi echo $ac_n "checking struct clockinfo for hz""... $ac_c" 1>&6 -echo "configure:4074: checking struct clockinfo for hz" >&5 +echo "configure:4076: checking struct clockinfo for hz" >&5 if eval "test \"\${ac_cv_struct_clockinfo_has_hz+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -4085,7 +4087,7 @@ extern struct clockinfo *pc; return pc->hz; ; return 0; } EOF -if { (eval echo configure:4089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_clockinfo_has_hz=yes else @@ -4107,12 +4109,12 @@ EOF fi echo $ac_n "checking struct clockinfo for tickadj""... $ac_c" 1>&6 -echo "configure:4111: checking struct clockinfo for tickadj" >&5 +echo "configure:4113: checking struct clockinfo for tickadj" >&5 if eval "test \"\${ac_cv_struct_clockinfo_has_tickadj+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -4122,7 +4124,7 @@ extern struct clockinfo *pc; return pc->tickadj; ; return 0; } EOF -if { (eval echo configure:4126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_clockinfo_has_tickadj=yes else @@ -4144,12 +4146,12 @@ EOF fi echo $ac_n "checking struct ntptimeval for time.tv_nsec""... $ac_c" 1>&6 -echo "configure:4148: checking struct ntptimeval for time.tv_nsec" >&5 +echo "configure:4150: checking struct ntptimeval for time.tv_nsec" >&5 if eval "test \"\${ac_cv_struct_ntptimeval_tv_nsec+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <time.tv_nsec; ; return 0; } EOF -if { (eval echo configure:4176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_ntptimeval_tv_nsec=yes else @@ -4194,21 +4196,21 @@ EOF fi echo $ac_n "checking for inline""... $ac_c" 1>&6 -echo "configure:4198: checking for inline" >&5 +echo "configure:4200: checking for inline" >&5 if eval "test \"\${ac_cv_c_inline+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_inline=$ac_kw; break else @@ -4234,14 +4236,14 @@ EOF esac echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6 -echo "configure:4238: checking whether char is unsigned" >&5 +echo "configure:4240: checking whether char is unsigned" >&5 if eval "test \"\${ac_cv_c_char_unsigned+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else if test "$GCC" = yes; then # GCC predefines this symbol on systems where it applies. cat > conftest.$ac_ext <&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_c_char_unsigned=yes else @@ -4298,7 +4300,7 @@ fi case "$host" in $target) echo $ac_n "checking size of signed char""... $ac_c" 1>&6 -echo "configure:4302: checking size of signed char" >&5 +echo "configure:4304: checking size of signed char" >&5 if eval "test \"\${ac_cv_sizeof_signed_char+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4306,7 +4308,7 @@ else { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < main() @@ -4317,7 +4319,7 @@ main() exit(0); } EOF -if { (eval echo configure:4321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_signed_char=`cat conftestval` else @@ -4340,7 +4342,7 @@ EOF *) case "$target" in *-*-vxworks*) echo $ac_n "checking size of signed char""... $ac_c" 1>&6 -echo "configure:4344: checking size of signed char" >&5 +echo "configure:4346: checking size of signed char" >&5 if eval "test \"\${ac_cv_sizeof_signed_char+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4348,7 +4350,7 @@ else ac_cv_sizeof_signed_char=1 else cat > conftest.$ac_ext < main() @@ -4359,7 +4361,7 @@ main() exit(0); } EOF -if { (eval echo configure:4363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_signed_char=`cat conftestval` else @@ -4388,7 +4390,7 @@ esac case "$host" in $target) echo $ac_n "checking size of int""... $ac_c" 1>&6 -echo "configure:4392: checking size of int" >&5 +echo "configure:4394: checking size of int" >&5 if eval "test \"\${ac_cv_sizeof_int+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4396,7 +4398,7 @@ else { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < main() @@ -4407,7 +4409,7 @@ main() exit(0); } EOF -if { (eval echo configure:4411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_int=`cat conftestval` else @@ -4430,7 +4432,7 @@ EOF *) case "$target" in *-*-vxworks*) echo $ac_n "checking size of int""... $ac_c" 1>&6 -echo "configure:4434: checking size of int" >&5 +echo "configure:4436: checking size of int" >&5 if eval "test \"\${ac_cv_sizeof_int+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4438,7 +4440,7 @@ else ac_cv_sizeof_int=4 else cat > conftest.$ac_ext < main() @@ -4449,7 +4451,7 @@ main() exit(0); } EOF -if { (eval echo configure:4453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_int=`cat conftestval` else @@ -4478,7 +4480,7 @@ esac case "$host" in $target) echo $ac_n "checking size of long""... $ac_c" 1>&6 -echo "configure:4482: checking size of long" >&5 +echo "configure:4484: checking size of long" >&5 if eval "test \"\${ac_cv_sizeof_long+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4486,7 +4488,7 @@ else { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext < main() @@ -4497,7 +4499,7 @@ main() exit(0); } EOF -if { (eval echo configure:4501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_long=`cat conftestval` else @@ -4520,7 +4522,7 @@ EOF *) case "$target" in *-*-vxworks*) echo $ac_n "checking size of long""... $ac_c" 1>&6 -echo "configure:4524: checking size of long" >&5 +echo "configure:4526: checking size of long" >&5 if eval "test \"\${ac_cv_sizeof_long+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4528,7 +4530,7 @@ else ac_cv_sizeof_long=4 else cat > conftest.$ac_ext < main() @@ -4539,7 +4541,7 @@ main() exit(0); } EOF -if { (eval echo configure:4543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:4545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_sizeof_long=`cat conftestval` else @@ -4566,12 +4568,12 @@ EOF esac echo $ac_n "checking for s_char""... $ac_c" 1>&6 -echo "configure:4570: checking for s_char" >&5 +echo "configure:4572: checking for s_char" >&5 if eval "test \"\${ac_cv_type_s_char+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -4631,12 +4633,12 @@ EOF ;; esac echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 -echo "configure:4635: checking for uid_t in sys/types.h" >&5 +echo "configure:4637: checking for uid_t in sys/types.h" >&5 if eval "test \"\${ac_cv_type_uid_t+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF @@ -4670,12 +4672,12 @@ case "$target" in for ac_func in __adjtimex __ntp_gettime do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4674: checking for $ac_func" >&5 +echo "configure:4676: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4736,12 +4738,12 @@ case "$target" in *) for ac_func in clock_settime do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4740: checking for $ac_func" >&5 +echo "configure:4742: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4794,12 +4796,12 @@ esac for ac_func in daemon getbootfile getdtablesize getrusage do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4798: checking for $ac_func" >&5 +echo "configure:4800: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4850,12 +4852,12 @@ done for ac_func in gettimeofday do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4854: checking for $ac_func" >&5 +echo "configure:4856: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4909,12 +4911,12 @@ case "$target" in *) for ac_func in getuid do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4913: checking for $ac_func" >&5 +echo "configure:4915: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4967,12 +4969,12 @@ esac for ac_func in K_open kvm_open memcpy memmove memset do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4971: checking for $ac_func" >&5 +echo "configure:4973: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5027,12 +5029,12 @@ case "$target" in *) for ac_func in mkstemp do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5031: checking for $ac_func" >&5 +echo "configure:5033: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5085,12 +5087,12 @@ esac for ac_func in mktime do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5089: checking for $ac_func" >&5 +echo "configure:5091: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5153,12 +5155,12 @@ case "$target" in *) for ac_func in mlockall do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5157: checking for $ac_func" >&5 +echo "configure:5159: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5211,12 +5213,12 @@ esac for ac_func in nice nlist do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5215: checking for $ac_func" >&5 +echo "configure:5217: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5271,12 +5273,12 @@ case "$target" in *) for ac_func in ntp_adjtime ntp_gettime do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5275: checking for $ac_func" >&5 +echo "configure:5277: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5329,12 +5331,12 @@ esac for ac_func in plock pututline pututxline rtprio do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5333: checking for $ac_func" >&5 +echo "configure:5335: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5385,12 +5387,12 @@ done for ac_func in random srandom mrand48 srand48 do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5389: checking for $ac_func" >&5 +echo "configure:5391: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5448,12 +5450,12 @@ case "$target" in *) for ac_func in sched_setscheduler do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5452: checking for $ac_func" >&5 +echo "configure:5454: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5506,12 +5508,12 @@ esac for ac_func in setlinebuf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5510: checking for $ac_func" >&5 +echo "configure:5512: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5562,12 +5564,12 @@ done for ac_func in setpgid setpriority setsid settimeofday setvbuf sigaction do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5566: checking for $ac_func" >&5 +echo "configure:5568: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5618,12 +5620,12 @@ done for ac_func in sigvec sigset sigsuspend stime strchr sysconf sysctl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5622: checking for $ac_func" >&5 +echo "configure:5624: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5674,12 +5676,12 @@ done for ac_func in strerror do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5678: checking for $ac_func" >&5 +echo "configure:5680: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5742,12 +5744,12 @@ case "$target" in *) for ac_func in timer_create timer_settime do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5746: checking for $ac_func" >&5 +echo "configure:5748: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5804,12 +5806,12 @@ case "$target" in *) for ac_func in umask do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5808: checking for $ac_func" >&5 +echo "configure:5810: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5862,12 +5864,12 @@ esac for ac_func in uname updwtmp updwtmpx vsprintf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5866: checking for $ac_func" >&5 +echo "configure:5868: checking for $ac_func" >&5 if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5917,12 +5919,12 @@ done echo $ac_n "checking number of arguments to gettimeofday()""... $ac_c" 1>&6 -echo "configure:5921: checking number of arguments to gettimeofday()" >&5 +echo "configure:5923: checking number of arguments to gettimeofday()" >&5 if eval "test \"\${ac_cv_func_Xettimeofday_nargs+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { @@ -5932,7 +5934,7 @@ settimeofday((struct timeval*)0,(struct timezone*)0); ; return 0; } EOF -if { (eval echo configure:5936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_func_Xettimeofday_nargs=2 else @@ -5954,12 +5956,12 @@ EOF fi echo $ac_n "checking number of arguments taken by setpgrp()""... $ac_c" 1>&6 -echo "configure:5958: checking number of arguments taken by setpgrp()" >&5 +echo "configure:5960: checking number of arguments taken by setpgrp()" >&5 if eval "test \"\${ac_cv_func_setpgrp_nargs+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:5979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_func_setpgrp_nargs=2 else @@ -5998,12 +6000,12 @@ save_CFLAGS=$CFLAGS CFLAGS="$CFLAGS -I$srcdir/include" echo $ac_n "checking argument pointer type of qsort()'s compare function and base""... $ac_c" 1>&6 -echo "configure:6002: checking argument pointer type of qsort()'s compare function and base" >&5 +echo "configure:6004: checking argument pointer type of qsort()'s compare function and base" >&5 if eval "test \"\${ac_cv_func_qsort_argtype+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:6032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_func_qsort_argtype=void else @@ -6052,12 +6054,12 @@ esac CFLAGS=$save_CFLAGS echo $ac_n "checking if we need to declare 'errno'""... $ac_c" 1>&6 -echo "configure:6056: checking if we need to declare 'errno'" >&5 +echo "configure:6058: checking if we need to declare 'errno'" >&5 if eval "test \"\${ac_cv_decl_errno+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < @@ -6066,7 +6068,7 @@ int main() { errno = 0; ; return 0; } EOF -if { (eval echo configure:6070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_decl_errno=no else @@ -6087,12 +6089,12 @@ EOF esac echo $ac_n "checking if we may declare 'h_errno'""... $ac_c" 1>&6 -echo "configure:6091: checking if we may declare 'h_errno'" >&5 +echo "configure:6093: checking if we may declare 'h_errno'" >&5 if eval "test \"\${ac_cv_decl_h_errno+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #ifdef HAVE_NETINET_IN_H @@ -6108,7 +6110,7 @@ int main() { extern int h_errno; ; return 0; } EOF -if { (eval echo configure:6112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_decl_h_errno=yes else @@ -6129,12 +6131,12 @@ EOF esac echo $ac_n "checking if declaring 'char *sys_errlist' is ok""... $ac_c" 1>&6 -echo "configure:6133: checking if declaring 'char *sys_errlist' is ok" >&5 +echo "configure:6135: 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 @@ -6145,7 +6147,7 @@ int main() { ; return 0; } EOF -if { (eval echo configure:6149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_decl_sys_errlist=yes else @@ -6166,12 +6168,12 @@ EOF esac echo $ac_n "checking if declaring 'syscall()' is ok""... $ac_c" 1>&6 -echo "configure:6170: checking if declaring 'syscall()' is ok" >&5 +echo "configure:6172: 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:6196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_decl_syscall=yes else @@ -6457,7 +6459,7 @@ EOF esac echo $ac_n "checking if we should use a streams device for ifconfig""... $ac_c" 1>&6 -echo "configure:6461: checking if we should use a streams device for ifconfig" >&5 +echo "configure:6463: 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 @@ -6467,7 +6469,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:6471: checking if we need extra room for SO_RCVBUF" >&5 +echo "configure:6473: 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 @@ -6489,7 +6491,7 @@ EOF esac echo $ac_n "checking if we will open the broadcast socket""... $ac_c" 1>&6 -echo "configure:6493: checking if we will open the broadcast socket" >&5 +echo "configure:6495: 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 @@ -6514,7 +6516,7 @@ EOF esac echo $ac_n "checking if we want the HPUX version of FindConfig()""... $ac_c" 1>&6 -echo "configure:6518: checking if we want the HPUX version of FindConfig()" >&5 +echo "configure:6520: 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 @@ -6536,7 +6538,7 @@ EOF esac echo $ac_n "checking if process groups are set with -pid""... $ac_c" 1>&6 -echo "configure:6540: checking if process groups are set with -pid" >&5 +echo "configure:6542: 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 @@ -6572,7 +6574,7 @@ EOF esac echo $ac_n "checking if we need a ctty for F_SETOWN""... $ac_c" 1>&6 -echo "configure:6576: checking if we need a ctty for F_SETOWN" >&5 +echo "configure:6578: 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 @@ -6602,7 +6604,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:6606: checking if we'll use clock_settime or settimeofday or stime" >&5 +echo "configure:6608: 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='' @@ -6631,7 +6633,7 @@ case "$ntp_warning" in esac echo $ac_n "checking if we have a losing syscall()""... $ac_c" 1>&6 -echo "configure:6635: checking if we have a losing syscall()" >&5 +echo "configure:6637: 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 @@ -6654,7 +6656,7 @@ EOF esac echo $ac_n "checking for Streams/TLI""... $ac_c" 1>&6 -echo "configure:6658: checking for Streams/TLI" >&5 +echo "configure:6660: 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 @@ -6683,12 +6685,12 @@ EOF esac echo $ac_n "checking for SIGIO""... $ac_c" 1>&6 -echo "configure:6687: checking for SIGIO" >&5 +echo "configure:6689: 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 @@ -6711,7 +6713,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:6715: checking if we want to use signalled IO" >&5 +echo "configure:6717: 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 @@ -6762,12 +6764,12 @@ EOF esac echo $ac_n "checking for SIGPOLL""... $ac_c" 1>&6 -echo "configure:6766: checking for SIGPOLL" >&5 +echo "configure:6768: 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 @@ -6790,12 +6792,12 @@ fi echo "$ac_t""$ac_cv_hdr_def_sigpoll" 1>&6 echo $ac_n "checking for SIGSYS""... $ac_c" 1>&6 -echo "configure:6794: checking for SIGSYS" >&5 +echo "configure:6796: 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 @@ -6818,7 +6820,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:6822: checking if we can use SIGPOLL for UDP I/O" >&5 +echo "configure:6824: 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 @@ -6873,7 +6875,7 @@ EOF esac echo $ac_n "checking if we can use SIGPOLL for TTY I/O""... $ac_c" 1>&6 -echo "configure:6877: checking if we can use SIGPOLL for TTY I/O" >&5 +echo "configure:6879: 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 @@ -6928,7 +6930,7 @@ EOF esac echo $ac_n "checking if nlist() values might require extra indirection""... $ac_c" 1>&6 -echo "configure:6932: checking if nlist() values might require extra indirection" >&5 +echo "configure:6934: 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 @@ -6950,7 +6952,7 @@ EOF esac echo $ac_n "checking for a minimum recommended value of tickadj""... $ac_c" 1>&6 -echo "configure:6954: checking for a minimum recommended value of tickadj" >&5 +echo "configure:6956: 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 @@ -6973,7 +6975,7 @@ EOF esac echo $ac_n "checking if the TTY code permits PARENB and IGNPAR""... $ac_c" 1>&6 -echo "configure:6977: checking if the TTY code permits PARENB and IGNPAR" >&5 +echo "configure:6979: 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 @@ -6998,7 +7000,7 @@ EOF esac echo $ac_n "checking if we're including debugging code""... $ac_c" 1>&6 -echo "configure:7002: checking if we're including debugging code" >&5 +echo "configure:7004: 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" @@ -7016,7 +7018,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:7020: checking for a the number of minutes in a DST adjustment" >&5 +echo "configure:7022: 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" @@ -7032,7 +7034,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:7036: checking if we have the tty_clk line discipline/streams module" >&5 +echo "configure:7038: 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 @@ -7048,7 +7050,7 @@ EOF esac echo $ac_n "checking for the ppsclock streams module""... $ac_c" 1>&6 -echo "configure:7052: checking for the ppsclock streams module" >&5 +echo "configure:7054: 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 @@ -7064,7 +7066,7 @@ EOF esac echo $ac_n "checking for kernel multicast support""... $ac_c" 1>&6 -echo "configure:7068: checking for kernel multicast support" >&5 +echo "configure:7070: 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 @@ -7072,7 +7074,7 @@ else case "$target" in i386-sequent-sysv4) ;; *) cat > conftest.$ac_ext < #ifdef IP_ADD_MEMBERSHIP @@ -7099,7 +7101,7 @@ EOF esac echo $ac_n "checking availability of ntp_{adj,get}time()""... $ac_c" 1>&6 -echo "configure:7103: checking availability of ntp_{adj,get}time()" >&5 +echo "configure:7105: 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 @@ -7113,7 +7115,7 @@ else ac_cv_var_ntp_syscalls=libc ;; *) cat > conftest.$ac_ext < #if defined(SYS_ntp_gettime) && defined(SYS_ntp_adjtime) @@ -7153,12 +7155,12 @@ EOF esac echo $ac_n "checking if sys/timex.h has STA_FLL""... $ac_c" 1>&6 -echo "configure:7157: checking if sys/timex.h has STA_FLL" >&5 +echo "configure:7159: 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 @@ -7181,12 +7183,12 @@ fi echo "$ac_t""$ac_cv_var_sta_fll" 1>&6 echo $ac_n "checking for struct timespec in struct ntptimeval""... $ac_c" 1>&6 -echo "configure:7185: checking for struct timespec in struct ntptimeval" >&5 +echo "configure:7187: checking for struct timespec in struct ntptimeval" >&5 if eval "test \"\${ac_cv_struct_ntptimeval_timespec+set}\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -7194,7 +7196,7 @@ int main() { struct ntptimeval n; n.time.tv_nsec = 0; ; return 0; } EOF -if { (eval echo configure:7198: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_struct_ntptimeval_timespec=yes else @@ -7215,7 +7217,7 @@ EOF fi echo $ac_n "checking if we have kernel PLL support""... $ac_c" 1>&6 -echo "configure:7219: checking if we have kernel PLL support" >&5 +echo "configure:7221: 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 @@ -7239,7 +7241,7 @@ EOF esac echo $ac_n "checking if SIOCGIFCONF returns buffer size in the buffer""... $ac_c" 1>&6 -echo "configure:7243: checking if SIOCGIFCONF returns buffer size in the buffer" >&5 +echo "configure:7245: 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 @@ -7268,7 +7270,7 @@ esac echo $ac_n "checking if we want to use MD5 authentication""... $ac_c" 1>&6 -echo "configure:7272: checking if we want to use MD5 authentication" >&5 +echo "configure:7274: 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 @@ -7293,10 +7295,10 @@ esac # Check for ioctls TIOCGPPSEV echo $ac_n "checking ioctl TIOCGPPSEV""... $ac_c" 1>&6 -echo "configure:7297: checking ioctl TIOCGPPSEV" >&5 +echo "configure:7299: checking ioctl TIOCGPPSEV" >&5 if test "$ac_cv_header_termios_h" = "yes"; then cat > conftest.$ac_ext < #ifdef TIOCGPPSEV @@ -7329,10 +7331,10 @@ echo "$ac_t""$ntp_ok" 1>&6 # Check for ioctls TIOCSPPS echo $ac_n "checking ioctl TIOCSPPS""... $ac_c" 1>&6 -echo "configure:7333: checking ioctl TIOCSPPS" >&5 +echo "configure:7335: checking ioctl TIOCSPPS" >&5 if test "$ac_cv_header_termios_h" = "yes"; then cat > conftest.$ac_ext < #ifdef TIOCSPPS @@ -7364,10 +7366,10 @@ echo "$ac_t""$ntp_ok" 1>&6 # Check for ioctls CIOGETEV echo $ac_n "checking ioctl CIOGETEV""... $ac_c" 1>&6 -echo "configure:7368: checking ioctl CIOGETEV" >&5 +echo "configure:7370: checking ioctl CIOGETEV" >&5 if test "$ac_cv_header_sys_ppsclock_h" = "yes"; then cat > conftest.$ac_ext < #ifdef CIOGETEV @@ -7424,17 +7426,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:7428: checking for linux/serial.h" >&5 +echo "configure:7430: 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:7438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:7440: \"$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* @@ -7456,11 +7458,11 @@ else fi echo $ac_n "checking ioctl TIOCGSERIAL""... $ac_c" 1>&6 -echo "configure:7460: checking ioctl TIOCGSERIAL" >&5 +echo "configure:7462: 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; @@ -7507,7 +7509,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:7511: checking Datum/Bancomm bc635/VME interface" >&5 +echo "configure:7513: 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" @@ -7531,7 +7533,7 @@ esac #HPUX only, and only by explicit request echo $ac_n "checking TrueTime GPS receiver/VME interface""... $ac_c" 1>&6 -echo "configure:7535: checking TrueTime GPS receiver/VME interface" >&5 +echo "configure:7537: 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" @@ -7554,7 +7556,7 @@ case "$ntp_ok$target" in esac echo $ac_n "checking for PCL720 clock support""... $ac_c" 1>&6 -echo "configure:7558: checking for PCL720 clock support" >&5 +echo "configure:7560: 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 @@ -7570,7 +7572,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:7574: checking for SHM clock attached thru shared memory" >&5 +echo "configure:7576: 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" @@ -7589,7 +7591,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:7593: checking for ONCORE Motorola VP/UT Oncore GPS" >&5 +echo "configure:7595: 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" @@ -7611,7 +7613,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:7615: checking for default inclusion of all suitable non-PARSE clocks" >&5 +echo "configure:7617: 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" @@ -7623,7 +7625,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:7627: checking if we have support for PARSE clocks" >&5 +echo "configure:7629: 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 @@ -7635,14 +7637,14 @@ echo "$ac_t""$ntp_canparse" 1>&6 # Requires modem control echo $ac_n "checking ACTS modem service""... $ac_c" 1>&6 -echo "configure:7639: checking ACTS modem service" >&5 +echo "configure:7641: 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 @@ -7675,7 +7677,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking Arbiter 1088A/B GPS receiver""... $ac_c" 1>&6 -echo "configure:7679: checking Arbiter 1088A/B GPS receiver" >&5 +echo "configure:7681: 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" @@ -7694,7 +7696,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking Arcron MSF receiver""... $ac_c" 1>&6 -echo "configure:7698: checking Arcron MSF receiver" >&5 +echo "configure:7700: 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" @@ -7713,7 +7715,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking Austron 2200A/2201A GPS receiver""... $ac_c" 1>&6 -echo "configure:7717: checking Austron 2200A/2201A GPS receiver" >&5 +echo "configure:7719: 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" @@ -7732,7 +7734,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking PPS interface""... $ac_c" 1>&6 -echo "configure:7736: checking PPS interface" >&5 +echo "configure:7738: checking PPS interface" >&5 # Check whether --enable-ATOM or --disable-ATOM was given. if test "${enable_ATOM+set}" = set; then enableval="$enable_ATOM" @@ -7751,7 +7753,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking CHU modem/decoder""... $ac_c" 1>&6 -echo "configure:7755: checking CHU modem/decoder" >&5 +echo "configure:7757: checking CHU modem/decoder" >&5 # Check whether --enable-CHU or --disable-CHU was given. if test "${enable_CHU+set}" = set; then enableval="$enable_CHU" @@ -7771,7 +7773,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:7775: checking CHU audio/decoder" >&5 +echo "configure:7777: 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" @@ -7795,7 +7797,7 @@ esac # Not under HP-UX echo $ac_n "checking Datum Programmable Time System""... $ac_c" 1>&6 -echo "configure:7799: checking Datum Programmable Time System" >&5 +echo "configure:7801: 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" @@ -7821,14 +7823,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:7825: checking Heath GC-1000 WWV/WWVH receiver" >&5 +echo "configure:7827: 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 @@ -7861,7 +7863,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking HP 58503A GPS receiver""... $ac_c" 1>&6 -echo "configure:7865: checking HP 58503A GPS receiver" >&5 +echo "configure:7867: 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" @@ -7880,7 +7882,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking Sun IRIG audio decoder""... $ac_c" 1>&6 -echo "configure:7884: checking Sun IRIG audio decoder" >&5 +echo "configure:7886: 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" @@ -7908,7 +7910,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:7912: checking Leitch CSD 5300 Master Clock System Driver" >&5 +echo "configure:7914: 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" @@ -7927,7 +7929,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking local clock reference""... $ac_c" 1>&6 -echo "configure:7931: checking local clock reference" >&5 +echo "configure:7933: 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" @@ -7946,7 +7948,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking EES M201 MSF receiver""... $ac_c" 1>&6 -echo "configure:7950: checking EES M201 MSF receiver" >&5 +echo "configure:7952: 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" @@ -7966,7 +7968,7 @@ echo "$ac_t""$ntp_ok" 1>&6 # Not Ultrix echo $ac_n "checking Magnavox MX4200 GPS receiver""... $ac_c" 1>&6 -echo "configure:7970: checking Magnavox MX4200 GPS receiver" >&5 +echo "configure:7972: 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" @@ -7993,7 +7995,7 @@ case "$ntp_ok$target" in esac echo $ac_n "checking NMEA GPS receiver""... $ac_c" 1>&6 -echo "configure:7997: checking NMEA GPS receiver" >&5 +echo "configure:7999: checking NMEA GPS receiver" >&5 # Check whether --enable-NMEA or --disable-NMEA was given. if test "${enable_NMEA+set}" = set; then enableval="$enable_NMEA" @@ -8012,7 +8014,7 @@ fi echo "$ac_t""$ntp_ok" 1>&6 echo $ac_n "checking for Palisade clock""... $ac_c" 1>&6 -echo "configure:8016: checking for Palisade clock" >&5 +echo "configure:8018: checking for Palisade clock" >&5 # Check whether --enable-PALISADE or --disable-PALISADE was given. if test "${enable_PALISADE+set}" = set; then enableval="$enable_PALISADE" @@ -8038,7 +8040,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:8042: checking PST/Traconex 1020 WWV/WWVH receiver" >&5 +echo "configure:8044: 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" @@ -8058,7 +8060,7 @@ echo "$ac_t""$ntp_ok" 1>&6 # Not Ultrix echo $ac_n "checking Rockwell Jupiter GPS receiver""... $ac_c" 1>&6 -echo "configure:8062: checking Rockwell Jupiter GPS receiver" >&5 +echo "configure:8064: 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" @@ -8086,14 +8088,14 @@ esac # Requires modem control echo $ac_n "checking PTB modem service""... $ac_c" 1>&6 -echo "configure:8090: checking PTB modem service" >&5 +echo "configure:8092: 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 @@ -8126,7 +8128,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:8130: checking KSI/Odetics TPRO/S GPS receiver/IRIG interface" >&5 +echo "configure:8132: 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" @@ -8154,7 +8156,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:8158: checking TRAK 8810 GPS receiver" >&5 +echo "configure:8160: 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" @@ -8173,7 +8175,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:8177: checking Chrono-log K-series WWVB receiver" >&5 +echo "configure:8179: 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" @@ -8192,7 +8194,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:8196: checking Dumb generic hh:mm:ss local clock" >&5 +echo "configure:8198: 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" @@ -8212,7 +8214,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:8216: checking Kinemetrics/TrueTime receivers" >&5 +echo "configure:8218: checking Kinemetrics/TrueTime receivers" >&5 # Check whether --enable-TRUETIME or --disable-TRUETIME was given. if test "${enable_TRUETIME+set}" = set; then enableval="$enable_TRUETIME" @@ -8241,7 +8243,7 @@ case "$ntp_ok$target" in esac echo $ac_n "checking Spectracom 8170/Netclock/2 WWVB receiver""... $ac_c" 1>&6 -echo "configure:8245: checking Spectracom 8170/Netclock/2 WWVB receiver" >&5 +echo "configure:8247: 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" @@ -8261,14 +8263,14 @@ echo "$ac_t""$ntp_ok" 1>&6 # Requires modem control echo $ac_n "checking USNO modem service""... $ac_c" 1>&6 -echo "configure:8265: checking USNO modem service" >&5 +echo "configure:8267: 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 @@ -8301,7 +8303,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:8305: checking for default inclusion of all suitable PARSE clocks" >&5 +echo "configure:8307: 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" @@ -8331,7 +8333,7 @@ ntp_parseutil=no ntp_rawdcf=no echo $ac_n "checking Diem Computime Radio Clock""... $ac_c" 1>&6 -echo "configure:8335: checking Diem Computime Radio Clock" >&5 +echo "configure:8337: 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" @@ -8356,7 +8358,7 @@ case "$ntp_ok$ntp_canparse" in esac echo $ac_n "checking ELV/DCF7000 clock""... $ac_c" 1>&6 -echo "configure:8360: checking ELV/DCF7000 clock" >&5 +echo "configure:8362: checking ELV/DCF7000 clock" >&5 # Check whether --enable-DCF7000 or --disable-DCF7000 was given. if test "${enable_DCF7000+set}" = set; then enableval="$enable_DCF7000" @@ -8381,7 +8383,7 @@ case "$ntp_ok$ntp_canparse" in esac echo $ac_n "checking HOPF 6021 clock""... $ac_c" 1>&6 -echo "configure:8385: checking HOPF 6021 clock" >&5 +echo "configure:8387: checking HOPF 6021 clock" >&5 # Check whether --enable-HOPF6021 or --disable-HOPF6021 was given. if test "${enable_HOPF6021+set}" = set; then enableval="$enable_HOPF6021" @@ -8406,7 +8408,7 @@ case "$ntp_ok$ntp_canparse" in esac echo $ac_n "checking Meinberg clocks""... $ac_c" 1>&6 -echo "configure:8410: checking Meinberg clocks" >&5 +echo "configure:8412: checking Meinberg clocks" >&5 # Check whether --enable-MEINBERG or --disable-MEINBERG was given. if test "${enable_MEINBERG+set}" = set; then enableval="$enable_MEINBERG" @@ -8431,7 +8433,7 @@ case "$ntp_ok$ntp_canparse" in esac echo $ac_n "checking DCF77 raw time code""... $ac_c" 1>&6 -echo "configure:8435: checking DCF77 raw time code" >&5 +echo "configure:8437: 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" @@ -8460,7 +8462,7 @@ esac case "$ntp_rawdcf" in yes) echo $ac_n "checking if we must enable parity for RAWDCF""... $ac_c" 1>&6 -echo "configure:8464: checking if we must enable parity for RAWDCF" >&5 +echo "configure:8466: 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 @@ -8488,7 +8490,7 @@ EOF esac echo $ac_n "checking RCC 8000 clock""... $ac_c" 1>&6 -echo "configure:8492: checking RCC 8000 clock" >&5 +echo "configure:8494: checking RCC 8000 clock" >&5 # Check whether --enable-RCC8000 or --disable-RCC8000 was given. if test "${enable_RCC8000+set}" = set; then enableval="$enable_RCC8000" @@ -8513,7 +8515,7 @@ case "$ntp_ok$ntp_canparse" in esac echo $ac_n "checking Schmid DCF77 clock""... $ac_c" 1>&6 -echo "configure:8517: checking Schmid DCF77 clock" >&5 +echo "configure:8519: checking Schmid DCF77 clock" >&5 # Check whether --enable-SCHMID or --disable-SCHMID was given. if test "${enable_SCHMID+set}" = set; then enableval="$enable_SCHMID" @@ -8538,7 +8540,7 @@ case "$ntp_ok$ntp_canparse" in esac echo $ac_n "checking Trimble GPS receiver/TAIP protocol""... $ac_c" 1>&6 -echo "configure:8542: checking Trimble GPS receiver/TAIP protocol" >&5 +echo "configure:8544: 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" @@ -8563,7 +8565,7 @@ case "$ntp_ok$ntp_canparse" in esac echo $ac_n "checking Trimble GPS receiver/TSIP protocol""... $ac_c" 1>&6 -echo "configure:8567: checking Trimble GPS receiver/TSIP protocol" >&5 +echo "configure:8569: 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" @@ -8588,7 +8590,7 @@ case "$ntp_ok$ntp_canparse" in esac echo $ac_n "checking WHARTON 400A Series clock""... $ac_c" 1>&6 -echo "configure:8592: checking WHARTON 400A Series clock" >&5 +echo "configure:8594: 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" @@ -8612,10 +8614,35 @@ case "$ntp_ok$ntp_canparse" in ;; esac +echo $ac_n "checking VARITEXT clock""... $ac_c" 1>&6 +echo "configure:8619: checking VARITEXT clock" >&5 +# Check whether --enable-VARITEXT or --disable-VARITEXT was given. +if test "${enable_VARITEXT+set}" = set; then + enableval="$enable_VARITEXT" + ntp_ok=$enableval +else + ntp_ok=$ntp_eapc +fi + +if test "$ntp_ok" = "yes"; then + ntp_libparse=yes + ntp_refclock=yes + cat >> confdefs.h <<\EOF +#define CLOCK_VARITEXT 1 +EOF + +fi +echo "$ac_t""$ntp_ok" 1>&6 +case "$ntp_ok$ntp_canparse" in + yesno) + { echo "configure: error: That's a parse clock and this system doesn't support it!" 1>&2; exit 1; } + ;; +esac + echo $ac_n "checking if we need to make and use the parse libraries""... $ac_c" 1>&6 -echo "configure:8619: checking if we need to make and use the parse libraries" >&5 +echo "configure:8646: checking if we need to make and use the parse libraries" >&5 ans=no case "$ntp_libparse" in yes) @@ -8642,7 +8669,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:8646: checking if we need to make and use the RSAREF library" >&5 +echo "configure:8673: checking if we need to make and use the RSAREF library" >&5 ans=no if test -f $srcdir/rsaref2/source/rsa.c then @@ -8660,7 +8687,7 @@ echo "$ac_t""$ans" 1>&6 echo $ac_n "checking if we can make dcf parse utilities""... $ac_c" 1>&6 -echo "configure:8664: checking if we can make dcf parse utilities" >&5 +echo "configure:8691: checking if we can make dcf parse utilities" >&5 ans=no if test "$ntp_parseutil" = "yes"; then case "$target" in @@ -8675,7 +8702,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:8679: checking if we can build kernel streams modules for parse" >&5 +echo "configure:8706: 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 @@ -8700,7 +8727,7 @@ fi echo "$ac_t""$ans" 1>&6 echo $ac_n "checking if we need basic refclock support""... $ac_c" 1>&6 -echo "configure:8704: checking if we need basic refclock support" >&5 +echo "configure:8731: checking if we need basic refclock support" >&5 if test "$ntp_refclock" = "yes"; then cat >> confdefs.h <<\EOF #define REFCLOCK 1 @@ -8712,7 +8739,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:8716: checking if we want HP-UX adjtimed support" >&5 +echo "configure:8743: checking if we want HP-UX adjtimed support" >&5 case "$target" in *-*-hpux[56789]*) ans=yes @@ -8730,7 +8757,7 @@ fi echo "$ac_t""$ans" 1>&6 echo $ac_n "checking if we can read kmem""... $ac_c" 1>&6 -echo "configure:8734: checking if we can read kmem" >&5 +echo "configure:8761: 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 @@ -8783,7 +8810,7 @@ EOF esac echo $ac_n "checking if adjtime is accurate""... $ac_c" 1>&6 -echo "configure:8787: checking if adjtime is accurate" >&5 +echo "configure:8814: 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 @@ -8835,7 +8862,7 @@ EOF esac echo $ac_n "checking the name of 'tick' in the kernel""... $ac_c" 1>&6 -echo "configure:8839: checking the name of 'tick' in the kernel" >&5 +echo "configure:8866: 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 @@ -8879,7 +8906,7 @@ EOF esac # echo $ac_n "checking for the units of 'tick'""... $ac_c" 1>&6 -echo "configure:8883: checking for the units of 'tick'" >&5 +echo "configure:8910: 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 @@ -8903,7 +8930,7 @@ EOF esac # echo $ac_n "checking the name of 'tickadj' in the kernel""... $ac_c" 1>&6 -echo "configure:8907: checking the name of 'tickadj' in the kernel" >&5 +echo "configure:8934: 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 @@ -8956,7 +8983,7 @@ EOF esac # echo $ac_n "checking for the units of 'tickadj'""... $ac_c" 1>&6 -echo "configure:8960: checking for the units of 'tickadj'" >&5 +echo "configure:8987: 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 @@ -8980,7 +9007,7 @@ EOF esac # echo $ac_n "checking half-heartedly for 'dosynctodr' in the kernel""... $ac_c" 1>&6 -echo "configure:8984: checking half-heartedly for 'dosynctodr' in the kernel" >&5 +echo "configure:9011: 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 @@ -9033,7 +9060,7 @@ EOF esac # echo $ac_n "checking half-heartedly for 'noprintf' in the kernel""... $ac_c" 1>&6 -echo "configure:9037: checking half-heartedly for 'noprintf' in the kernel" >&5 +echo "configure:9064: 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 @@ -9083,7 +9110,7 @@ esac echo $ac_n "checking for a default value for 'tick'""... $ac_c" 1>&6 -echo "configure:9087: checking for a default value for 'tick'" >&5 +echo "configure:9114: 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 @@ -9127,7 +9154,7 @@ EOF esac echo $ac_n "checking for a default value for 'tickadj'""... $ac_c" 1>&6 -echo "configure:9131: checking for a default value for 'tickadj'" >&5 +echo "configure:9158: 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 @@ -9234,7 +9261,7 @@ esac echo $ac_n "checking if we want and can make the tickadj utility""... $ac_c" 1>&6 -echo "configure:9238: checking if we want and can make the tickadj utility" >&5 +echo "configure:9265: 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 @@ -9250,7 +9277,7 @@ esac echo $ac_n "checking if we want and can make the ntptime utility""... $ac_c" 1>&6 -echo "configure:9254: checking if we want and can make the ntptime utility" >&5 +echo "configure:9281: 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 @@ -9279,7 +9306,7 @@ case "$ac_cv_make_ntptime" in esac echo $ac_n "checking if we want UDP wildcard delivery""... $ac_c" 1>&6 -echo "configure:9283: checking if we want UDP wildcard delivery" >&5 +echo "configure:9310: 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 @@ -9358,7 +9385,7 @@ case "$host" in esac echo $ac_n "checking if we should always slew the time""... $ac_c" 1>&6 -echo "configure:9362: checking if we should always slew the time" >&5 +echo "configure:9389: 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 @@ -9398,7 +9425,7 @@ EOF esac echo $ac_n "checking if we should step and slew the time""... $ac_c" 1>&6 -echo "configure:9402: checking if we should step and slew the time" >&5 +echo "configure:9429: 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 @@ -9441,7 +9468,7 @@ EOF esac echo $ac_n "checking if ntpdate should step the time""... $ac_c" 1>&6 -echo "configure:9445: checking if ntpdate should step the time" >&5 +echo "configure:9472: 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 @@ -9472,7 +9499,7 @@ EOF esac echo $ac_n "checking if we should sync TODR clock every hour""... $ac_c" 1>&6 -echo "configure:9476: checking if we should sync TODR clock every hour" >&5 +echo "configure:9503: 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 @@ -9505,7 +9532,7 @@ EOF esac echo $ac_n "checking if we should avoid kernel FLL bug""... $ac_c" 1>&6 -echo "configure:9509: checking if we should avoid kernel FLL bug" >&5 +echo "configure:9536: 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 6aa3ae808..c28cca6af 100644 --- a/configure.in +++ b/configure.in @@ -5,7 +5,7 @@ AC_CANONICAL_SYSTEM AC_DEFINE_UNQUOTED(STR_SYSTEM, "$target") AM_CONFIG_HEADER(config.h) AC_ARG_PROGRAM -AM_INIT_AUTOMAKE(ntp, 4.0.94) +AM_INIT_AUTOMAKE(ntp, 4.0.94b) AC_PREREQ(2.13) ac_cv_var_oncore_ok=no @@ -2057,6 +2057,21 @@ case "$ntp_ok$ntp_canparse" in AC_MSG_ERROR(That's a parse clock and this system doesn't support it!) ;; esac + +AC_MSG_CHECKING(VARITEXT clock) +AC_ARG_ENABLE(VARITEXT, [ --enable-VARITEXT s VARITEXT clock], + [ntp_ok=$enableval], [ntp_ok=$ntp_eapc]) +if test "$ntp_ok" = "yes"; then + ntp_libparse=yes + ntp_refclock=yes + AC_DEFINE(CLOCK_VARITEXT) +fi +AC_MSG_RESULT($ntp_ok) +case "$ntp_ok$ntp_canparse" in + yesno) + AC_MSG_ERROR(That's a parse clock and this system doesn't support it!) + ;; +esac AC_SUBST(LIBPARSE) AC_SUBST(MAKE_LIBPARSE) AC_SUBST(MAKE_LIBPARSE_KERNEL) diff --git a/html/parsedata.htm b/html/parsedata.htm index aa7dd63fe..a756079ce 100644 --- a/html/parsedata.htm +++ b/html/parsedata.htm @@ -151,7 +151,7 @@ pos: 0 00 00 0 00 0 11 111 1 111 12 2 22 2 22 2 2 2 3 3 3

From "Zur Zeit", Physikalisch-Technische Bundesanstalt (PTB), Braunschweig -und Berlin, M„rz 1989 +und Berlin, März 1989

 	Timecode transmission:
diff --git a/libparse/Makefile.am b/libparse/Makefile.am
index b794703f1..c0f838b79 100644
--- a/libparse/Makefile.am
+++ b/libparse/Makefile.am
@@ -26,6 +26,7 @@ libparse_a_SOURCES = parse.c \
                      clk_hopf6021.c \
 	             clk_computime.c \
 		     clk_wharton.c \
+		     clk_varitext.c \
                      data_mbg.c \
 		     info_trimble.c \
 		     trim_info.c
@@ -41,7 +42,8 @@ libparse_kernel_a_SOURCES = kparse.c \
                             kclk_rcc8000.c \
                             kclk_hopf6021.c \
 	                    kclk_computime.c \
-		     	    kclk_wharton.c
+		     	    kclk_wharton.c \
+		     	    kclk_varitext.c
 
 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/kernel
 ETAGS_ARGS = Makefile.am
@@ -73,6 +75,7 @@ kclk_rcc8000.o: clk_rcc8000.c
 kclk_hopf6021.o: clk_hopf6021.c
 kclk_computime.o: clk_computime.c
 kclk_wharton.o: clk_wharton.c
+kclk_varitext.o: clk_varitext.c
 
 parsestreams.loadable_module.o: $(parsestreams_OBJECTS) libparse_kernel.a ../libntp/libntp.a
 	$(LD) -r -o $@ $(parsestreams_OBJECTS) libparse_kernel.a ../libntp/libntp.a
diff --git a/libparse/Makefile.in b/libparse/Makefile.in
index fad09a6bf..a96743d99 100644
--- a/libparse/Makefile.in
+++ b/libparse/Makefile.in
@@ -123,6 +123,7 @@ libparse_a_SOURCES = parse.c \
                      clk_hopf6021.c \
 	             clk_computime.c \
 		     clk_wharton.c \
+		     clk_varitext.c \
                      data_mbg.c \
 		     info_trimble.c \
 		     trim_info.c
@@ -139,7 +140,8 @@ libparse_kernel_a_SOURCES = kparse.c \
                             kclk_rcc8000.c \
                             kclk_hopf6021.c \
 	                    kclk_computime.c \
-		     	    kclk_wharton.c
+		     	    kclk_wharton.c \
+		     	    kclk_varitext.c
 
 
 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/kernel
@@ -161,13 +163,14 @@ libparse_a_LIBADD =
 am_libparse_a_OBJECTS =  parse$U.o parse_conf$U.o clk_meinberg$U.o \
 clk_schmid$U.o clk_rawdcf$U.o clk_trimtsip$U.o clk_dcf7000$U.o \
 clk_trimtaip$U.o clk_rcc8000$U.o clk_hopf6021$U.o clk_computime$U.o \
-clk_wharton$U.o data_mbg$U.o info_trimble$U.o trim_info$U.o
+clk_wharton$U.o clk_varitext$U.o data_mbg$U.o info_trimble$U.o \
+trim_info$U.o
 libparse_a_OBJECTS =  $(am_libparse_a_OBJECTS)
 libparse_kernel_a_LIBADD = 
 am_libparse_kernel_a_OBJECTS =  kparse$U.o kparse_conf$U.o \
 kclk_meinberg$U.o kclk_schmid$U.o kclk_rawdcf$U.o kclk_trimtsip$U.o \
 kclk_dcf7000$U.o kclk_trimtaip$U.o kclk_rcc8000$U.o kclk_hopf6021$U.o \
-kclk_computime$U.o kclk_wharton$U.o
+kclk_computime$U.o kclk_wharton$U.o kclk_varitext$U.o
 libparse_kernel_a_OBJECTS =  $(am_libparse_kernel_a_OBJECTS)
 AR = ar
 PROGRAMS =  $(noinst_PROGRAMS)
@@ -196,13 +199,14 @@ GZIP_ENV = --best
 DEP_FILES =  .deps/clk_computime.P .deps/clk_dcf7000.P \
 .deps/clk_hopf6021.P .deps/clk_meinberg.P .deps/clk_rawdcf.P \
 .deps/clk_rcc8000.P .deps/clk_schmid.P .deps/clk_trimtaip.P \
-.deps/clk_trimtsip.P .deps/clk_wharton.P .deps/data_mbg.P \
-.deps/info_trimble.P .deps/kclk_computime.P .deps/kclk_dcf7000.P \
-.deps/kclk_hopf6021.P .deps/kclk_meinberg.P .deps/kclk_rawdcf.P \
-.deps/kclk_rcc8000.P .deps/kclk_schmid.P .deps/kclk_trimtaip.P \
-.deps/kclk_trimtsip.P .deps/kclk_wharton.P .deps/kparse.P \
-.deps/kparse_conf.P .deps/parse.P .deps/parse_conf.P \
-.deps/parsesolaris.P .deps/parsestreams.P .deps/trim_info.P
+.deps/clk_trimtsip.P .deps/clk_varitext.P .deps/clk_wharton.P \
+.deps/data_mbg.P .deps/info_trimble.P .deps/kclk_computime.P \
+.deps/kclk_dcf7000.P .deps/kclk_hopf6021.P .deps/kclk_meinberg.P \
+.deps/kclk_rawdcf.P .deps/kclk_rcc8000.P .deps/kclk_schmid.P \
+.deps/kclk_trimtaip.P .deps/kclk_trimtsip.P .deps/kclk_varitext.P \
+.deps/kclk_wharton.P .deps/kparse.P .deps/kparse_conf.P .deps/parse.P \
+.deps/parse_conf.P .deps/parsesolaris.P .deps/parsestreams.P \
+.deps/trim_info.P
 SOURCES = $(libparse_a_SOURCES) $(libparse_kernel_a_SOURCES) parsesolaris.c parsestreams.c
 OBJECTS = $(am_libparse_a_OBJECTS) $(am_libparse_kernel_a_OBJECTS) parsesolaris$U.o parsestreams$U.o
 
@@ -262,6 +266,7 @@ clk_rcc8000$U.o:
 clk_hopf6021$U.o:
 clk_computime$U.o:
 clk_wharton$U.o:
+clk_varitext$U.o:
 data_mbg$U.o:
 info_trimble$U.o:
 trim_info$U.o:
@@ -282,6 +287,7 @@ kclk_rcc8000$U.o:
 kclk_hopf6021$U.o:
 kclk_computime$U.o:
 kclk_wharton$U.o:
+kclk_varitext$U.o:
 
 libparse_kernel.a: $(libparse_kernel_a_OBJECTS) $(libparse_kernel_a_DEPENDENCIES)
 	-rm -f libparse_kernel.a
@@ -324,6 +330,8 @@ clk_trimtaip_.c: clk_trimtaip.c $(ANSI2KNR)
 	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_trimtaip.c; then echo $(srcdir)/clk_trimtaip.c; else echo clk_trimtaip.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_trimtaip_.c
 clk_trimtsip_.c: clk_trimtsip.c $(ANSI2KNR)
 	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_trimtsip.c; then echo $(srcdir)/clk_trimtsip.c; else echo clk_trimtsip.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_trimtsip_.c
+clk_varitext_.c: clk_varitext.c $(ANSI2KNR)
+	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_varitext.c; then echo $(srcdir)/clk_varitext.c; else echo clk_varitext.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_varitext_.c
 clk_wharton_.c: clk_wharton.c $(ANSI2KNR)
 	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/clk_wharton.c; then echo $(srcdir)/clk_wharton.c; else echo clk_wharton.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > clk_wharton_.c
 data_mbg_.c: data_mbg.c $(ANSI2KNR)
@@ -348,6 +356,8 @@ kclk_trimtaip_.c: kclk_trimtaip.c $(ANSI2KNR)
 	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/kclk_trimtaip.c; then echo $(srcdir)/kclk_trimtaip.c; else echo kclk_trimtaip.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > kclk_trimtaip_.c
 kclk_trimtsip_.c: kclk_trimtsip.c $(ANSI2KNR)
 	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/kclk_trimtsip.c; then echo $(srcdir)/kclk_trimtsip.c; else echo kclk_trimtsip.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > kclk_trimtsip_.c
+kclk_varitext_.c: kclk_varitext.c $(ANSI2KNR)
+	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/kclk_varitext.c; then echo $(srcdir)/kclk_varitext.c; else echo kclk_varitext.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > kclk_varitext_.c
 kclk_wharton_.c: kclk_wharton.c $(ANSI2KNR)
 	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/kclk_wharton.c; then echo $(srcdir)/kclk_wharton.c; else echo kclk_wharton.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > kclk_wharton_.c
 kparse_.c: kparse.c $(ANSI2KNR)
@@ -366,12 +376,12 @@ trim_info_.c: trim_info.c $(ANSI2KNR)
 	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/trim_info.c; then echo $(srcdir)/trim_info.c; else echo trim_info.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > trim_info_.c
 clk_computime_.o clk_dcf7000_.o clk_hopf6021_.o clk_meinberg_.o \
 clk_rawdcf_.o clk_rcc8000_.o clk_schmid_.o clk_trimtaip_.o \
-clk_trimtsip_.o clk_wharton_.o data_mbg_.o info_trimble_.o \
-kclk_computime_.o kclk_dcf7000_.o kclk_hopf6021_.o kclk_meinberg_.o \
-kclk_rawdcf_.o kclk_rcc8000_.o kclk_schmid_.o kclk_trimtaip_.o \
-kclk_trimtsip_.o kclk_wharton_.o kparse_.o kparse_conf_.o parse_.o \
-parse_conf_.o parsesolaris_.o parsestreams_.o trim_info_.o : \
-$(ANSI2KNR)
+clk_trimtsip_.o clk_varitext_.o clk_wharton_.o data_mbg_.o \
+info_trimble_.o kclk_computime_.o kclk_dcf7000_.o kclk_hopf6021_.o \
+kclk_meinberg_.o kclk_rawdcf_.o kclk_rcc8000_.o kclk_schmid_.o \
+kclk_trimtaip_.o kclk_trimtsip_.o kclk_varitext_.o kclk_wharton_.o \
+kparse_.o kparse_conf_.o parse_.o parse_conf_.o parsesolaris_.o \
+parsestreams_.o trim_info_.o : $(ANSI2KNR)
 
 tags: TAGS
 
@@ -557,6 +567,7 @@ kclk_rcc8000.o: clk_rcc8000.c
 kclk_hopf6021.o: clk_hopf6021.c
 kclk_computime.o: clk_computime.c
 kclk_wharton.o: clk_wharton.c
+kclk_varitext.o: clk_varitext.c
 
 parsestreams.loadable_module.o: $(parsestreams_OBJECTS) libparse_kernel.a ../libntp/libntp.a
 	$(LD) -r -o $@ $(parsestreams_OBJECTS) libparse_kernel.a ../libntp/libntp.a
diff --git a/libparse/clk_varitext.c b/libparse/clk_varitext.c
new file mode 100644
index 000000000..34113a907
--- /dev/null
+++ b/libparse/clk_varitext.c
@@ -0,0 +1,239 @@
+#ifdef HAVE_CONFIG_H
+#include 
+#endif
+
+#if defined(REFCLOCK) && defined(CLOCK_PARSE) && defined(CLOCK_VARITEXT)
+/*
+ * clk_varitext.c,v 1.0 1997/01/19 A.McConnell
+ * 
+ * Supports Varitext's Radio Clock
+ * 
+ * Used the Meinberg/Computime clock as a template for Varitext Radio Clock
+ *
+ * Copyright (C) 1992-1996 by Frank Kardel
+ * Friedrich-Alexander Universitt Erlangen-Nrnberg, Germany
+ * 
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.
+ * 
+ */
+
+#include "sys/types.h"
+#include "sys/time.h"
+#include "sys/errno.h"
+#include "ntp_fp.h"
+#include "ntp_unixtime.h"
+#include "ntp_calendar.h"
+
+#include "parse.h"
+
+#ifndef PARSESTREAM
+#include "ntp_stdlib.h"
+#include 
+#else
+#include "sys/parsestreams.h"
+extern void printf P((const char *, ...));
+#endif
+
+static const u_char VT_INITIALISED      = 0x01;
+static const u_char VT_SYNCHRONISED     = 0x02;
+static const u_char VT_ALARM_STATE      = 0x04;
+static const u_char VT_BST              = 0x08;
+static const u_char VT_SEASON_CHANGE    = 0x10;
+static const u_char VT_LAST_TELEGRAM_OK = 0x20;
+
+/*
+ * The Varitext receiver sends a datagram in the following format every minute
+ * 
+ * Timestamp	T:YY:MM:MD:WD:HH:MM:SSCRLFSTXXX 
+ * Pos          0123456789012345678901 2 3 4567
+ *              0000000000111111111122 2 2 2222
+ * Parse        T:  :  :  :  :  :  :  \r\n    
+ * 
+ * T	Startcharacter "T" specifies start of the timestamp 
+ * YY	Year MM	Month 1-12 
+ * MD	Day of the month 
+ * WD	Day of week 
+ * HH	Hour 
+ * MM   Minute 
+ * SS   Second
+ * CR   Carriage return 
+ * LF   Linefeed
+ * ST	Status character
+ *	Bit 0 - Set= Initialised; Reset=Time Invalid (DO NOT USE)
+ *	Bit 1 - Set= Synchronised; Reset= Unsynchronised 
+ * 	Bit 2 - Set= Alarm state; Reset= No alarm
+ * 	Bit 3 - Set= BST; Reset= GMT
+ * 	Bit 4 - Set= Seasonal change in approx hour; Reset= No seasonal change expected
+ *	Bit 5 - Set= Last MSF telegram was OK; Reset= Last telegram was in error;
+ * 	Bit 6 - Always set
+ *	Bit 7 - Unused
+ * XXX	Checksum calculated using Fletcher's method (ignored for now). 
+ */
+
+static struct format varitext_fmt =
+{
+  {
+    {8, 2},  {5,  2}, {2,  2},	/* day, month, year */
+    {14, 2}, {17, 2}, {20, 2},	/* hour, minute, second */
+    {11, 2}, {24, 1}		/* dayofweek, status */
+  },
+  (const unsigned char*)"T:  :  :  :  :  :  :  \r\n    ",
+  0
+};
+
+static u_long   cvt_varitext P((unsigned char *, int, struct format *, clocktime_t *, void *));
+static u_long   inp_varitext P((parse_t *, unsigned int, timestamp_t *));
+
+struct varitext {
+  unsigned char start_found;
+  unsigned char end_found;
+  unsigned char end_count;
+  unsigned char previous_ch;
+  timestamp_t   tstamp;
+};
+
+clockformat_t   clock_varitext =
+{
+  inp_varitext,			/* Because of the strange format we need to parse it ourselves */
+  cvt_varitext,			/* Varitext conversion */
+  0,				/* no PPS monitoring */
+  (void *)&varitext_fmt,	/* conversion configuration */
+  "Varitext Radio Clock",	/* Varitext Radio Clock */
+  30,				/* string buffer */
+  sizeof(struct varitext),	/* Private data size required to hold current parse state */
+};
+
+/*
+ * cvt_varitext
+ * 
+ * convert simple type format
+ */
+static          u_long
+cvt_varitext(
+	     unsigned char	*buffer,
+	     int    		size,
+	     struct format	*format,
+	     clocktime_t	*clock_time,
+	     void		*local
+	     )
+{
+
+  if (!Strok(buffer, format->fixed_string)) { 
+    return CVT_NONE;
+  } else {
+    if (Stoi(&buffer[format->field_offsets[O_DAY].offset], &clock_time->day,
+	     format->field_offsets[O_DAY].length) ||
+	Stoi(&buffer[format->field_offsets[O_MONTH].offset], &clock_time->month,
+	     format->field_offsets[O_MONTH].length) ||
+	Stoi(&buffer[format->field_offsets[O_YEAR].offset], &clock_time->year,
+	     format->field_offsets[O_YEAR].length) ||
+	Stoi(&buffer[format->field_offsets[O_HOUR].offset], &clock_time->hour,
+	     format->field_offsets[O_HOUR].length) ||
+	Stoi(&buffer[format->field_offsets[O_MIN].offset], &clock_time->minute,
+	     format->field_offsets[O_MIN].length) ||
+	Stoi(&buffer[format->field_offsets[O_SEC].offset], &clock_time->second,
+	     format->field_offsets[O_SEC].length)) { 
+      return CVT_FAIL | CVT_BADFMT;
+    } else {
+      u_char *f = (u_char*) &buffer[format->field_offsets[O_FLAGS].offset];
+
+      clock_time->flags = 0;
+      clock_time->utcoffset = 0;
+
+      if (((*f) & VT_BST))	/* BST flag is set so set to indicate daylight saving time is active and utc offset */
+	{
+	  clock_time->utcoffset = -1*60*60;
+	  clock_time->flags |= PARSEB_DST;
+	}
+      /*
+	 if (!((*f) & VT_INITIALISED))  Clock not initialised 
+	 clock_time->flags |= PARSEB_POWERUP;
+	 
+	 if (!((*f) & VT_SYNCHRONISED))   Clock not synchronised 
+	 clock_time->flags |= PARSEB_NOSYNC;
+	 
+	 if (((*f) & VT_SEASON_CHANGE))  Seasonal change expected in the next hour 
+	 clock_time->flags |= PARSEB_ANNOUNCE;
+	 */
+      return CVT_OK; 
+    }
+  }
+}
+
+static u_long 
+inp_varitext(
+	     parse_t	 *parseio,
+	     unsigned int ch,
+	     timestamp_t *tstamp
+	     )
+{
+  struct varitext *t = (struct varitext *)parseio->parse_pdata;
+  int    rtc;
+
+  parseprintf(DD_PARSE, ("inp_varitext(0x%x, 0x%x, ...)\n", (int)parseio, (int)ch));
+
+  if (!t) 
+    return PARSE_INP_SKIP;	/* local data not allocated - sigh! */
+
+  if (ch == 'T') 
+    t->tstamp = *tstamp;
+
+  if ((t->previous_ch == 'T') && (ch == ':'))
+    {
+      parseprintf(DD_PARSE, ("inp_varitext: START seen\n"));
+
+      parseio->parse_data[0] = 'T';
+      parseio->parse_index=1;
+      parseio->parse_dtime.parse_stime = t->tstamp; /* Time stamp at packet start */
+      t->start_found = 1;
+      t->end_found = 0;
+      t->end_count = 0;
+    }
+
+  if (t->start_found)
+    {
+      if ((rtc = parse_addchar(parseio, ch)) != PARSE_INP_SKIP)
+	{
+	  parseprintf(DD_PARSE, ("inp_varitext: ABORTED due to too many characters\n"));
+
+	  memset(t, 0, sizeof(struct varitext));
+	  return rtc;
+	}
+
+      if (t->end_found) 
+	{
+	  if (++(t->end_count) == 4) /* Finally found the end of the message */
+	    {
+	      parseprintf(DD_PARSE, ("inp_varitext: END seen\n"));
+
+	      memset(t, 0, sizeof(struct varitext));
+	      if ((rtc = parse_addchar(parseio, 0)) == PARSE_INP_SKIP)
+		return parse_end(parseio);
+	      else
+		return rtc;
+	    }	
+	}
+
+      if ((t->previous_ch == '\r') && (ch == '\n')) 
+	{
+	  t->end_found = 1;
+	}
+
+    }
+ 
+  t->previous_ch = ch;
+
+  return PARSE_INP_SKIP;
+}
+
+#else /* not (REFCLOCK && CLOCK_PARSE && CLOCK_VARITEXT) */
+int clk_varitext_bs;
+#endif /* not (REFCLOCK && CLOCK_PARSE && CLOCK_VARITEXT) */
+
+/*
+ * Revision 1.0  1997/06/02 13:16:30  McConnell
+ * File created
+ *
+ */
diff --git a/libparse/kclk_varitext.c b/libparse/kclk_varitext.c
new file mode 100644
index 000000000..e4de7c049
--- /dev/null
+++ b/libparse/kclk_varitext.c
@@ -0,0 +1,28 @@
+/*
+ * $Header$
+ *
+ * $Created: Sat Jun 13 09:58:27 1998 $
+ *
+ * Copyright (C) 1998 by Frank Kardel
+ */
+#define PARSESTREAM
+#include "clk_varitext.c"
+/*
+ * $Log$
+ * Revision 1.1  1999/07/25 09:21:16  stenn
+ * * configure.in: 4.0.94b
+ *
+ * * acconfig.h:
+ * * configure.in:
+ * * libparse/Makefile.am:
+ * * libparse/parse_conf.c:
+ * * libparse/clk_varitext.c:
+ * * libparse/kclk_varitext.c:
+ * * ntpd/refclock_parse.c: VARITEXT parse clock
+ * * ntpdate/ntpdate.c: bugfix
+ * From: Tony McConnell 
+ *
+ * Revision 4.1  1998/06/13 12:09:27  kardel
+ * hack to compile the source for kernel/user-land
+ *
+ */
diff --git a/libparse/parse_conf.c b/libparse/parse_conf.c
index b8519f2b6..934d96772 100644
--- a/libparse/parse_conf.c
+++ b/libparse/parse_conf.c
@@ -75,6 +75,10 @@ extern clockformat_t clock_computime;
 extern clockformat_t clock_wharton_400a;
 #endif
 
+#ifdef CLOCK_VARITEXT
+extern clockformat_t clock_varitext;
+#endif
+
 /*
  * format definitions
  */
@@ -111,6 +115,9 @@ clockformat_t *clockformats[] =
 #endif
 #ifdef CLOCK_WHARTON_400A
 	&clock_wharton_400a,
+#endif
+#ifdef CLOCK_VARITEXT
+        &clock_varitext,
 #endif
 	0};
 
diff --git a/ntpd/refclock_parse.c b/ntpd/refclock_parse.c
index fb44d8a7d..5274cd002 100644
--- a/ntpd/refclock_parse.c
+++ b/ntpd/refclock_parse.c
@@ -48,6 +48,7 @@
  *
  *   - RCC8000 MSF Receiver                                 (MSF)
  *   - WHARTON 400A Series clock			    (DCF)
+ *   - VARITEXT clock					    (MSF)
  */
 
 /*
@@ -771,6 +772,25 @@ static poll_info_t rcc8000_pollinfo = { RCC_POLLRATE, RCC_POLLCMD, RCC_CMDSIZE }
 #define COMPUTIME_SAMPLES     5
 #define COMPUTIME_KEEP        3
 
+/*
+ * Varitext Radio Clock Receiver
+ */
+#define VARITEXT_FLAGS       0
+#define VARITEXT_ROOTDELAY   0.0
+#define VARITEXT_BASEDELAY   0.0
+#define VARITEXT_ID          "MSF"
+#define VARITEXT_DESCRIPTION "Varitext receiver"
+#define VARITEXT_FORMAT      "Varitext Radio Clock"
+#define VARITEXT_TYPE        DCF_TYPE
+#define VARITEXT_MAXUNSYNC   (60*60)       /* only trust clock for 1 hour */
+#define VARITEXT_SPEED       (B9600)
+#define VARITEXT_CFLAG       (CS7|CREAD|CLOCAL|PARENB|PARODD)
+#define VARITEXT_IFLAG       (IGNPAR|IGNBRK|INPCK) /*|ISTRIP)*/
+#define VARITEXT_OFLAG       0
+#define VARITEXT_LFLAG       0
+#define VARITEXT_SAMPLES     32
+#define VARITEXT_KEEP        20
+
 static struct parse_clockinfo
 {
 	u_long  cl_flags;		/* operation flags (io modes) */
@@ -1174,7 +1194,30 @@ static struct parse_clockinfo
 	0,				/* terminal local flags */
 	5/*?*/,				/* samples for median filter */
 	3/*?*/,				/* samples for median filter to keep */
-	}
+	},
+        {                            /* mode 16 */
+                VARITEXT_FLAGS,
+                NO_POLL,
+                NO_INIT,
+                NO_EVENT,
+                NO_END,
+                NO_MESSAGE,
+                NO_DATA,
+                VARITEXT_ROOTDELAY,
+                VARITEXT_BASEDELAY,
+                VARITEXT_ID,
+                VARITEXT_DESCRIPTION,
+                VARITEXT_FORMAT,
+                VARITEXT_TYPE,
+                VARITEXT_MAXUNSYNC,
+                VARITEXT_SPEED,
+                VARITEXT_CFLAG,
+                VARITEXT_IFLAG,
+                VARITEXT_OFLAG,
+                VARITEXT_LFLAG,
+                VARITEXT_SAMPLES,
+                VARITEXT_KEEP
+        }
 };
 
 static int ncltypes = sizeof(parse_clockinfo) / sizeof(struct parse_clockinfo);
diff --git a/ntpdate/ntpdate.c b/ntpdate/ntpdate.c
index f1bc0c6dd..9f4e0a8f0 100644
--- a/ntpdate/ntpdate.c
+++ b/ntpdate/ntpdate.c
@@ -1816,7 +1816,8 @@ l_step_systime(
 	if (debug)
 		return 1;
 #ifdef FORCE_NTPDATE_STEP
-	return step_systime(ts);
+	LFPTOD(ts, dtemp);
+	return step_systime(dtemp);
 #else
 	l_adj_systime(ts);
 	return 1;