]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Many files:
authorHarlan Stenn <stenn@ntp.org>
Thu, 31 Aug 2000 18:14:46 +0000 (18:14 -0000)
committerHarlan Stenn <stenn@ntp.org>
Thu, 31 Aug 2000 18:14:46 +0000 (18:14 -0000)
  * configure.in: 4.0.99k8
  * configure.in: The PPSAPI headers use "inline", so require a STDC
  compiler.
  * ntpd/refclock_atom.c (atom_shutdown): Typo
  From Dave Mills

bk: 39aea096n__EnE1Dr0p5x-KM6JqBJg

18 files changed:
ChangeLog
aclocal.m4
adjtimed/Makefile.in
clockstuff/Makefile.in
config.h.in
configure
configure.in
kernel/Makefile.in
kernel/sys/Makefile.in
libparse/Makefile.in
ntpd/Makefile.in
ntpd/refclock_atom.c
ntpdate/Makefile.in
ntpdc/Makefile.in
ntpq/Makefile.in
ntptrace/Makefile.in
parseutil/Makefile.in
util/Makefile.in

index a3d5fbaff2cac355df2689597bcb5f24048fb937..d555dc2ffd6862e555769a4a85ef0e8ee19a9553 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
 2000-08-31  Harlan Stenn  <stenn@whimsy.udel.edu>
 
+       * configure.in: 4.0.99k8
+
+       Revert to the older automake.
+
+       * configure.in: The PPSAPI headers use "inline", so require a STDC
+       compiler.
+
+       * ntpd/refclock_atom.c (atom_shutdown): Typo
+       From Dave Mills
+
+       * configure.in: Convert to autoconf-2.49
+
        * ntpd/refclock_atom.c: Header cleanup Comment cleanup.  Lose the
        TTYCLK stuff.  Convert to PPSAPI.
        * ntpd/ntp_refclock.c (refclock_newpeer): Move refclock_unpeer().
index 83d0709ae95d92bbda2017bce22a9bf163dcd18b..f11b81f887856c493e75caf26f08b704c0f782a3 100644 (file)
@@ -1,6 +1,6 @@
-dnl aclocal.m4 generated automatically by aclocal 1.4
+dnl aclocal.m4 generated automatically by aclocal 1.4a
 
-dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+dnl Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -49,54 +49,78 @@ AC_DEFUN(AC_DEFINE_DIR, [
 
 # Like AC_CONFIG_HEADER, but automatically create stamp file.
 
-AC_DEFUN(AM_CONFIG_HEADER,
-[AC_PREREQ([2.12])
-AC_CONFIG_HEADER([$1])
-dnl When config.status generates a header, we must update the stamp-h file.
-dnl This file resides in the same directory as the config header
-dnl that is generated.  We must strip everything past the first ":",
-dnl and everything past the last "/".
-AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl
-ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>,
-<<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>,
-<<am_indx=1
-for am_file in <<$1>>; do
-  case " <<$>>CONFIG_HEADERS " in
-  *" <<$>>am_file "*<<)>>
-    echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx
-    ;;
-  esac
-  am_indx=`expr "<<$>>am_indx" + 1`
-done<<>>dnl>>)
-changequote([,]))])
+# serial 3
+
+# When config.status generates a header, we must update the stamp-h file.
+# This file resides in the same directory as the config header
+# that is generated.  We must strip everything past the first ":",
+# and everything past the last "/".
+
+AC_PREREQ([2.12])
+
+AC_DEFUN([AM_CONFIG_HEADER],
+[AC_CONFIG_HEADER([$1])
+  AC_OUTPUT_COMMANDS(
+   ifelse(patsubst([$1], [[^ ]], []),
+         [],
+         [test -z "$CONFIG_HEADERS" || echo timestamp >dnl
+          patsubst([$1], [^\([^:]*/\)?.*], [\1])stamp-h]),
+  [am_indx=1
+  for am_file in $1; do
+    case " $CONFIG_HEADERS " in
+    *" $am_file "*)
+      echo timestamp > `echo $am_file | sed 's%:.*%%;s%[^/]*$%%'`stamp-h$am_indx
+      ;;
+    esac
+    am_indx=\`expr \$am_indx + 1\`
+  done])
+])
 
 # Do all the work for Automake.  This macro actually does too much --
 # some checks are only needed if your package does certain things.
 # But this isn't really a big deal.
 
-# serial 1
-
-dnl Usage:
-dnl AM_INIT_AUTOMAKE(package,version, [no-define])
+# serial 3
 
-AC_DEFUN(AM_INIT_AUTOMAKE,
-[AC_REQUIRE([AC_PROG_INSTALL])
-dnl We require 2.13 because we rely on SHELL being computed by configure.
 AC_PREREQ([2.13])
-PACKAGE=[$1]
-AC_SUBST(PACKAGE)
-VERSION=[$2]
-AC_SUBST(VERSION)
-dnl test to see if srcdir already configured
+
+# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
+# -----------------------------------------------------------
+# If MACRO-NAME is provided do IF-PROVIDED, else IF-NOT-PROVIDED.
+# The purpose of this macro is to provide the user with a means to
+# check macros which are provided without letting her know how the
+# information is coded.
+# If this macro is not defined by Autoconf, define it here.
+ifdef([AC_PROVIDE_IFELSE],
+      [],
+      [define([AC_PROVIDE_IFELSE],
+              [ifdef([AC_PROVIDE_$1],
+                     [$2], [$3])])])
+
+
+# AM_INIT_AUTOMAKE(PACKAGE,VERSION, [NO-DEFINE])
+# ----------------------------------------------
+AC_DEFUN([AM_INIT_AUTOMAKE],
+[dnl We require 2.13 because we rely on SHELL being computed by configure.
+AC_REQUIRE([AC_PROG_INSTALL])dnl
+# test to see if srcdir already configured
 if test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" &&
    test -f $srcdir/config.status; then
   AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 fi
+
+# Define the identity of the package.
+PACKAGE=$1
+AC_SUBST(PACKAGE)dnl
+VERSION=$2
+AC_SUBST(VERSION)dnl
 ifelse([$3],,
-AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
-AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
-AC_REQUIRE([AM_SANITY_CHECK])
-AC_REQUIRE([AC_ARG_PROGRAM])
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
+AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
+
+# Some tools Automake needs.
+AC_REQUIRE([AM_SANITY_CHECK])dnl
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
 AM_MISSING_PROG(ACLOCAL, aclocal)
 AM_MISSING_PROG(AUTOCONF, autoconf)
 AM_MISSING_PROG(AUTOMAKE, automake)
@@ -104,23 +128,27 @@ AM_MISSING_PROG(AUTOHEADER, autoheader)
 AM_MISSING_PROG(MAKEINFO, makeinfo)
 AM_MISSING_PROG(AMTAR, tar)
 AM_MISSING_INSTALL_SH
-dnl We need awk for the "check" target.  The system "awk" is bad on
-dnl some platforms.
-AC_REQUIRE([AC_PROG_AWK])
-AC_REQUIRE([AC_PROG_MAKE_SET])
-AC_REQUIRE([AM_DEP_TRACK])
-AC_REQUIRE([AM_SET_DEPDIR])
-ifdef([AC_PROVIDE_AC_PROG_CC], [AM_DEPENDENCIES(CC)], [
-   define([AC_PROG_CC], defn([AC_PROG_CC])[AM_DEPENDENCIES(CC)])])
-ifdef([AC_PROVIDE_AC_PROG_CXX], [AM_DEPENDENCIES(CXX)], [
-   define([AC_PROG_CXX], defn([AC_PROG_CXX])[AM_DEPENDENCIES(CXX)])])
+# We need awk for the "check" target.  The system "awk" is bad on
+# some platforms.
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+AC_REQUIRE([AM_DEP_TRACK])dnl
+AC_REQUIRE([AM_SET_DEPDIR])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CC],
+                  [AM_DEPENDENCIES(CC)],
+                  [define([AC_PROG_CC],
+                          defn([AC_PROG_CC])[AM_DEPENDENCIES(CC)])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+                  [AM_DEPENDENCIES(CXX)],
+                  [define([AC_PROG_CXX],
+                          defn([AC_PROG_CXX])[AM_DEPENDENCIES(CXX)])])dnl
 ])
 
 #
 # Check to make sure that the build environment is sane.
 #
 
-AC_DEFUN(AM_SANITY_CHECK,
+AC_DEFUN([AM_SANITY_CHECK],
 [AC_MSG_CHECKING([whether build environment is sane])
 # Just in case
 sleep 1
@@ -159,15 +187,15 @@ fi
 rm -f conftest*
 AC_MSG_RESULT(yes)])
 
-dnl AM_MISSING_PROG(NAME, PROGRAM)
-AC_DEFUN(AM_MISSING_PROG, [
+# AM_MISSING_PROG(NAME, PROGRAM)
+AC_DEFUN([AM_MISSING_PROG], [
 AC_REQUIRE([AM_MISSING_HAS_RUN])
 $1=${$1-"${am_missing_run}$2"}
 AC_SUBST($1)])
 
-dnl Like AM_MISSING_PROG, but only looks for install-sh.
-dnl AM_MISSING_INSTALL_SH()
-AC_DEFUN(AM_MISSING_INSTALL_SH, [
+# Like AM_MISSING_PROG, but only looks for install-sh.
+# AM_MISSING_INSTALL_SH()
+AC_DEFUN([AM_MISSING_INSTALL_SH], [
 AC_REQUIRE([AM_MISSING_HAS_RUN])
 if test -z "$install_sh"; then
    install_sh="$ac_aux_dir/install-sh"
@@ -179,13 +207,13 @@ if test -z "$install_sh"; then
 fi
 AC_SUBST(install_sh)])
 
-dnl AM_MISSING_HAS_RUN.
-dnl Define MISSING if not defined so far and test if it supports --run.
-dnl If it does, set am_missing_run to use it, otherwise, to nothing.
+# AM_MISSING_HAS_RUN.
+# Define MISSING if not defined so far and test if it supports --run.
+# If it does, set am_missing_run to use it, otherwise, to nothing.
 AC_DEFUN([AM_MISSING_HAS_RUN], [
 test x"${MISSING+set}" = xset || \
   MISSING="\${SHELL} `CDPATH=: && cd $ac_aux_dir && pwd`/missing"
-dnl Use eval to expand $SHELL
+# Use eval to expand $SHELL
 if eval "$MISSING --run :"; then
   am_missing_run="$MISSING --run "
 else
@@ -195,14 +223,14 @@ else
 fi
 ])
 
-dnl See how the compiler implements dependency checking.
-dnl Usage:
-dnl AM_DEPENDENCIES(NAME)
-dnl NAME is "CC", "CXX" or "OBJC".
+# See how the compiler implements dependency checking.
+# Usage:
+# AM_DEPENDENCIES(NAME)
+# NAME is "CC", "CXX" or "OBJC".
 
-dnl We try a few techniques and use that to set a single cache variable.
+# We try a few techniques and use that to set a single cache variable.
 
-AC_DEFUN(AM_DEPENDENCIES,[
+AC_DEFUN([AM_DEPENDENCIES],[
 AC_REQUIRE([AM_SET_DEPDIR])
 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])
 ifelse([$1],CC,[
@@ -238,10 +266,13 @@ if test -z "$AMDEP"; then
       ;;
     none) break ;;
     esac
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
+    # mode.  It turns out that the SunPro C++ compiler does not properly
+    # handle `-M -o', and we need to detect this.
     if depmode="$depmode" \
        source=conftest.c object=conftest.o \
        depfile=conftest.Po tmpdepfile=conftest.TPo \
-       $SHELL $am_depcomp $depcc -c conftest.c 2>/dev/null &&
+       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o 2>/dev/null &&
        grep conftest.h conftest.Po > /dev/null 2>&1; then
       am_cv_[$1]_dependencies_compiler_type="$depmode"
       break
@@ -258,10 +289,10 @@ AC_MSG_RESULT($am_cv_[$1]_dependencies_compiler_type)
 AC_SUBST([$1]DEPMODE)
 ])
 
-dnl Choose a directory name for dependency files.
-dnl This macro is AC_REQUIREd in AM_DEPENDENCIES
+# Choose a directory name for dependency files.
+# This macro is AC_REQUIREd in AM_DEPENDENCIES
 
-AC_DEFUN(AM_SET_DEPDIR,[
+AC_DEFUN([AM_SET_DEPDIR],[
 if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
   DEPDIR=.deps
 else
@@ -270,7 +301,7 @@ fi
 AC_SUBST(DEPDIR)
 ])
 
-AC_DEFUN(AM_DEP_TRACK,[
+AC_DEFUN([AM_DEP_TRACK],[
 AC_ARG_ENABLE(dependency-tracking,
 [  --disable-dependency-tracking Speeds up one-time builds
   --enable-dependency-tracking  Do not reject slow dependency extractors])
@@ -295,16 +326,16 @@ subst(AMDEPBACKSLASH)
 popdef([subst])
 ])
 
-dnl Generate code to set up dependency tracking.
-dnl This macro should only be invoked once -- use via AC_REQUIRE.
-dnl Usage:
-dnl AM_OUTPUT_DEPENDENCY_COMMANDS
+# Generate code to set up dependency tracking.
+# This macro should only be invoked once -- use via AC_REQUIRE.
+# Usage:
+# AM_OUTPUT_DEPENDENCY_COMMANDS
 
-dnl
-dnl This code is only required when automatic dependency tracking
-dnl is enabled.  FIXME.  This creates each `.P' file that we will
-dnl need in order to bootstrap the dependency handling code.
-AC_DEFUN(AM_OUTPUT_DEPENDENCY_COMMANDS,[
+#
+# This code is only required when automatic dependency tracking
+# is enabled.  FIXME.  This creates each `.P' file that we will
+# need in order to bootstrap the dependency handling code.
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],[
 AC_OUTPUT_COMMANDS([
 test x"$AMDEP" != x"" ||
 for mf in $CONFIG_FILES; do
@@ -349,7 +380,7 @@ ac_aux_dir="$ac_aux_dir"])])
 
 # serial 1
 
-AC_DEFUN(AM_C_PROTOTYPES,
+AC_DEFUN([AM_C_PROTOTYPES],
 [AC_REQUIRE([AM_PROG_CC_STDC])
 AC_REQUIRE([AC_PROG_CPP])
 AC_MSG_CHECKING([for function prototypes])
@@ -386,7 +417,7 @@ AC_SUBST(ANSI2KNR)dnl
 # program @code{ansi2knr}, which comes with Ghostscript.
 # @end defmac
 
-AC_DEFUN(AM_PROG_CC_STDC,
+AC_DEFUN([AM_PROG_CC_STDC],
 [AC_REQUIRE([AC_PROG_CC])
 AC_BEFORE([$0], [AC_C_INLINE])
 AC_BEFORE([$0], [AC_C_CONST])
index 9dd2d7b9535759c87af2811dcd58f42e4d8e3830..12044372188dda0db21338b5964e158c24106576 100644 (file)
@@ -1,6 +1,6 @@
 # Makefile.in generated automatically by automake 1.4a from Makefile.am
 
-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -133,14 +133,14 @@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CF
 CCLD = $(CC)
 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
 DIST_SOURCES =  adjtimed.c
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-DEP_FILES =  @AMDEP@ $(DEPDIR)/adjtimed$U.Po
 DIST_COMMON =  README Makefile.am Makefile.in
 
 
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
 GZIP_ENV = --best
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+DEP_FILES =  @AMDEP@ $(DEPDIR)/adjtimed$U.Po
 SOURCES = adjtimed.c
 OBJECTS = adjtimed$U.o
 
@@ -150,7 +150,7 @@ all: all-redirect
 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
        cd $(top_srcdir) && $(AUTOMAKE) --gnu adjtimed/Makefile
 
-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
        cd $(top_builddir) \
          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
@@ -248,6 +248,20 @@ distclean-tags:
 
 maintainer-clean-tags:
 
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+
+distdir: $(DISTFILES)
+       @for file in $(DISTFILES); do \
+         d=$(srcdir); \
+         if test -d $$d/$$file; then \
+           cp -pR $$d/$$file $(distdir); \
+         else \
+           test -f $(distdir)/$$file \
+           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+           || cp -p $$d/$$file $(distdir)/$$file || :; \
+         fi; \
+       done
+
 @AMDEP@include $(DEPDIR)/adjtimed$U.Po
 
 mostlyclean-depend:
@@ -267,21 +281,6 @@ maintainer-clean-depend:
 @AMDEP@        $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
        $(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
 
-
-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
-
-distdir: $(DISTFILES)
-       @for file in $(DISTFILES); do \
-         d=$(srcdir); \
-         if test -d $$d/$$file; then \
-           cp -pR $$d/$$file $(distdir) \
-           || exit 1; \
-         else \
-           test -f $(distdir)/$$file \
-           || cp -p $$d/$$file $(distdir)/$$file \
-           || exit 1; \
-         fi; \
-       done
 info-am:
 info: info-am
 dvi-am:
@@ -350,9 +349,9 @@ maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
 mostlyclean-compile distclean-compile clean-compile \
 maintainer-clean-compile mostlyclean-kr distclean-kr clean-kr \
 maintainer-clean-kr tags mostlyclean-tags distclean-tags clean-tags \
-maintainer-clean-tags mostlyclean-depend distclean-depend clean-depend \
-maintainer-clean-depend distdir info-am info dvi-am dvi check check-am \
-installcheck-am installcheck install-exec-am install-exec \
+maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
+clean-depend maintainer-clean-depend info-am info dvi-am dvi check \
+check-am installcheck-am installcheck install-exec-am install-exec \
 install-data-am install-data install-am install uninstall-am uninstall \
 all-redirect all-am all install-strip installdirs mostlyclean-generic \
 distclean-generic clean-generic maintainer-clean-generic clean \
index fa2b1cf2b16e3c98dfa376f0c7973f0674e1df43..88473532ac7dee5132e1d9a68833b9ed53ac0dcd 100644 (file)
@@ -1,6 +1,6 @@
 # Makefile.in generated automatically by automake 1.4a from Makefile.am
 
-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -143,15 +143,15 @@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CF
 CCLD = $(CC)
 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
 DIST_SOURCES =  chutest.c clktest.c propdelay.c
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-DEP_FILES =  @AMDEP@ $(DEPDIR)/chutest$U.Po $(DEPDIR)/clktest$U.Po \
-$(DEPDIR)/propdelay$U.Po
 DIST_COMMON =  README Makefile.am Makefile.in
 
 
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
 GZIP_ENV = --best
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+DEP_FILES =  @AMDEP@ $(DEPDIR)/chutest$U.Po $(DEPDIR)/clktest$U.Po \
+$(DEPDIR)/propdelay$U.Po
 SOURCES = chutest.c clktest.c propdelay.c
 OBJECTS = chutest$U.o clktest$U.o propdelay$U.o
 
@@ -161,7 +161,7 @@ all: all-redirect
 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
        cd $(top_srcdir) && $(AUTOMAKE) --gnu clockstuff/Makefile
 
-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
        cd $(top_builddir) \
          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
@@ -244,6 +244,20 @@ distclean-tags:
 
 maintainer-clean-tags:
 
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+
+distdir: $(DISTFILES)
+       @for file in $(DISTFILES); do \
+         d=$(srcdir); \
+         if test -d $$d/$$file; then \
+           cp -pR $$d/$$file $(distdir); \
+         else \
+           test -f $(distdir)/$$file \
+           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+           || cp -p $$d/$$file $(distdir)/$$file || :; \
+         fi; \
+       done
+
 @AMDEP@include $(DEPDIR)/chutest$U.Po
 @AMDEP@include $(DEPDIR)/clktest$U.Po
 @AMDEP@include $(DEPDIR)/propdelay$U.Po
@@ -265,21 +279,6 @@ maintainer-clean-depend:
 @AMDEP@        $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
        $(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
 
-
-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
-
-distdir: $(DISTFILES)
-       @for file in $(DISTFILES); do \
-         d=$(srcdir); \
-         if test -d $$d/$$file; then \
-           cp -pR $$d/$$file $(distdir) \
-           || exit 1; \
-         else \
-           test -f $(distdir)/$$file \
-           || cp -p $$d/$$file $(distdir)/$$file \
-           || exit 1; \
-         fi; \
-       done
 info-am:
 info: info-am
 dvi-am:
@@ -347,9 +346,9 @@ clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
 mostlyclean-compile distclean-compile clean-compile \
 maintainer-clean-compile mostlyclean-kr distclean-kr clean-kr \
 maintainer-clean-kr tags mostlyclean-tags distclean-tags clean-tags \
-maintainer-clean-tags mostlyclean-depend distclean-depend clean-depend \
-maintainer-clean-depend distdir info-am info dvi-am dvi check check-am \
-installcheck-am installcheck install-exec-am install-exec \
+maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
+clean-depend maintainer-clean-depend info-am info dvi-am dvi check \
+check-am installcheck-am installcheck install-exec-am install-exec \
 install-data-am install-data install-am install uninstall-am uninstall \
 all-redirect all-am all install-strip installdirs mostlyclean-generic \
 distclean-generic clean-generic maintainer-clean-generic clean \
index 8a1e70a8dff6c7de40864bd64191fc229324b144..3a9faebee06afcfc0200896859ce1fe0359d788d 100644 (file)
@@ -1,4 +1,9 @@
 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
+/* Package */
+#undef PACKAGE
+
+/* Version */
+#undef VERSION
 
 /* debugging code */
 #undef DEBUG
@@ -6,6 +11,9 @@
 /* Minutes per DST adjustment */
 #undef DSTMINUTES
 
+/* MD5 authentication */
+#undef MD5
+
 /* DES authentication (COCOM only) */
 #undef DES
 
 /* define if struct clockinfo has tickadj */
 #undef HAVE_TICKADJ_IN_STRUCT_CLOCKINFO
 
+/* define if struct ntptimeval uses time.tv_nsec instead of time.tv_usec */ 
+#undef HAVE_TV_NSEC_IN_NTPTIMEVAL 
+
 /* Does a system header defind struct ppsclockev? */
 #undef HAVE_STRUCT_PPSCLOCKEV
 
 /* can we use SIGPOLL for tty IO? */
 #undef USE_TTY_SIGPOLL
 
+/* should we use clock_settime()? */
+#undef USE_CLOCK_SETTIME
+
 /* do we want the CHU driver? */
 #undef CLOCK_CHU
 
 /* do we need an s_char typedef? */
 #undef NEED_S_CHAR_TYPEDEF
 
+/* include the GDT Surveying code? */
+#undef GDT_SURVEYING
+
 /* does SIOCGIFCONF return size in the buffer? */
 #undef SIZE_RETURNED_IN_BUFFER
 
 /* Do we have support for SHMEM_STATUS? */
 #undef ONCORE_SHMEM_STATUS
 
+/***/
+
+/* Which way should we declare... */
+
 /* adjtime()? */
 #undef DECL_ADJTIME_0
 
 /* memmove()? */
 #undef DECL_MEMMOVE_0
 
+/* memset()? */
+#undef DECL_MEMSET_0
+
 /* mkstemp()? */
 #undef DECL_MKSTEMP_0
 
 /* Do we have struct ntptimeval? */
 #undef HAVE_STRUCT_NTPTIMEVAL
 
-/* Define if `tv_nsec' is member of `struct ntptimeval'. */
+/* Define if `time.tv_nsec' is member of `struct ntptimeval'. */
 #undef HAVE_STRUCT_NTPTIMEVAL_TIME_TV_NSEC
 
 /* Define if you have the <sun/audioio.h> header file. */
 /* Define as the return type of signal handlers (`int' or `void'). */
 #undef RETSIGTYPE
 
-/* The number of bytes in a `int'. */
+/* The size of a `int', as computed by sizeof. */
 #undef SIZEOF_INT
 
-/* The number of bytes in a `long'. */
+/* The size of a `long', as computed by sizeof. */
 #undef SIZEOF_LONG
 
-/* The number of bytes in a `signed char'. */
+/* The size of a `signed char', as computed by sizeof. */
 #undef SIZEOF_SIGNED_CHAR
 
 /* Define if you have the ANSI C header files. */
 # undef __CHAR_UNSIGNED__
 #endif
 
-/* Define to empty if the keyword `const' is not conform to ANSI C. */
+/* Define to empty if `const' does not conform to ANSI C. */
 #undef const
 
 /* Define to `int' if <sys/types.h> doesn't define. */
index a13e2a58bde16f199c612fbf032e548dc41c3d68..8850a5b078fc7ee1c7f2dd2c913df3a88b561ba6 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,17 +1,35 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated automatically using Autoconf version 2.14a
-# Copyright (C) 1992, 93, 94, 95, 96, 98, 1999 Free Software Foundation, Inc.
+# Generated by Autoconf 2.49a.
 #
+# Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
+# Free Software Foundation, Inc.
 # This configure script is free software; the Free Software Foundation
 # gives unlimited permission to copy, distribute and modify it.
 
-# Defaults:
-ac_arg_with_help=
-ac_arg_enable_help=
-ac_arg_var_help=
+#
+# Initializations.
+#
 ac_default_prefix=/usr/local
-# Factorizing default headers for most tests.
+cross_compiling=no
+subdirs=
+MFLAGS= MAKEFLAGS=
+SHELL=${CONFIG_SHELL-/bin/sh}
+# Maximum number of lines to put in a shell here document.
+# This variable seems obsolete.  It should probably be removed, and
+# only ac_max_sed_lines should be used.
+: ${ac_max_here_lines=38}
+# Sed expression to map a string onto a valid sh and CPP variable names.
+ac_tr_sh='sed y%*+%pp%;s%[^a-zA-Z0-9_]%_%g'
+ac_tr_cpp='sed y%*abcdefghijklmnopqrstuvwxyz%PABCDEFGHIJKLMNOPQRSTUVWXYZ%;s%[^A-Z0-9_]%_%g'
+
+# By default always use an empty string as the executable extension.
+# Only change it if the script calls AC_EXEEXT.
+ac_exeext=
+# By default assume that objects files use an extension of .o.  Only
+# change it if the script calls AC_OBJEXT.
+ac_objext=o
+# Factoring default headers for most tests.
 ac_includes_default="\
 #include <stdio.h>
 #include <sys/types.h>
@@ -33,151 +51,22 @@ ac_includes_default="\
 #  include <strings.h>
 # endif
 #endif
+#if HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
 #if HAVE_UNISTD_H
 # include <unistd.h>
 #endif"
-# Any additions from configure.in:
-ac_arg_enable_help="$ac_arg_enable_help
-  --disable-dependency-tracking Speeds up one-time builds
-  --enable-dependency-tracking  Do not reject slow dependency extractors"
-ac_arg_var_help="$ac_arg_var_help
-  CFLAGS      Extra flags for the C compiler"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-debugging      + include debugging code"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-dst-minutes=60 + minutes per DST adjustment"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-BANCOMM        - Datum/Bancomm bc635/VME interface"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-GPSVME         - TrueTime GPS receiver/VME interface"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-SHM            - SHM clock attached thru shared memory"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-all-clocks     + include all suitable non-PARSE clocks:"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-ACTS           + ACTS modem service"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-ARBITER        + Arbiter 1088A/B GPS receiver"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-ARCRON-MSF     + Arcron MSF receiver"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-AS2201         + Austron 2200A/2201A GPS receiver"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-ATOM           + PPS interface"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-CHU            - CHU modem/decoder"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-AUDIO-CHU      s CHU audio/decoder"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-DATUM          s Datum Programmable Time System"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-FG             + Forum Graphic GPS"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-HEATH          s Heath GC-1000 WWV/WWVH receiver"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-HPGPS          + HP 58503A GPS receiver"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-IRIG           s Sun IRIG audio decoder"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-LEITCH         + Leitch CSD 5300 Master Clock System Driver"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-LOCAL-CLOCK    + local clock reference"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-MSFEES         + EES M201 MSF receiver"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-MX4200         s Magnavox MX4200 GPS receiver"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-NMEA           + NMEA GPS receiver"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-ONCORE         + Motorola VP/UT Oncore GPS receiver"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-PALISADE       + Palisade clock"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-PST            + PST/Traconex 1020 WWV/WWVH receiver"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-JUPITER        s Rockwell Jupiter GPS receiver"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-PTBACTS        s PTB modem service"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-TPRO           s KSI/Odetics TPRO/S GPS receiver/IRIG interface"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-TRAK           + TRAK 8810 GPS receiver"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-CHRONOLOG      + Chrono-log K-series WWVB receiver"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-DUMBCLOCK      + Dumb generic hh:mm:ss local clock"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-PCF            + Conrad parallel port radio clock"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-SPECTRACOM     + Spectracom 8170/Netclock/2 WWVB receiver"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-TRUETIME       s Kinemetrics/TrueTime receivers"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-ULINK          + Ultralink WWVB receiver"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-WWV            + WWV Audio receiver"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-USNO           s USNO modem service"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-parse-clocks   - include all suitable PARSE clocks:"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-COMPUTIME      s Diem Computime Radio Clock"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-DCF7000        s ELV/DCF7000 clock"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-HOPF6021       s HOPF 6021 clock"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-MEINBERG       s Meinberg clocks"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-RAWDCF         s DCF77 raw time code"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-RCC8000        s RCC 8000 clock"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-SCHMID         s Schmid DCF77 clock"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-TRIMTAIP       s Trimble GPS receiver/TAIP protocol"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-TRIMTSIP       s Trimble GPS receiver/TSIP protocol"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-WHARTON        s WHARTON 400A Series clock"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-VARITEXT       s VARITEXT clock"
-ac_arg_with_help="$ac_arg_with_help
-  --with-crypto           + ={autokey,rsaref}"
-ac_arg_with_help="$ac_arg_with_help
-  --with-electricfence    -"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-kmem           s read /dev/kmem for tick and/or tickadj"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-accurate-adjtime
-                          s the adjtime() call is accurate"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-tick=VALUE     s force a value for 'tick'"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-tickadj=VALUE  s force a value for 'tickadj'"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-udp-wildcard   s use UDP wildcard delivery"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-slew-always    s always slew the time"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-step-slew      s step and slew the time"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-ntpdate-step   s if ntpdate should step the time"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-hourly-todr-sync
-                          s if we should sync TODR hourly"
-ac_arg_enable_help="$ac_arg_enable_help
-  --enable-kernel-fll-bug s if we should avoid a kernel FLL bug"
+ac_unique_file="ntpd/ntp_refclock.c"
 
 # Initialize some variables set by options.
+ac_init_help=
+ac_init_version=false
 # The variables have the same names as the options, with
 # dashes changed to underlines.
-build=NONE
-cache_file=./config.cache
+cache_file=/dev/null
 exec_prefix=NONE
-host=NONE
 no_create=
-nonopt=NONE
 no_recursion=
 prefix=NONE
 program_prefix=NONE
@@ -186,7 +75,6 @@ program_transform_name=s,x,x,
 silent=
 site=
 srcdir=
-target=NONE
 verbose=
 x_includes=NONE
 x_libraries=NONE
@@ -203,16 +91,6 @@ oldincludedir='/usr/include'
 infodir='${prefix}/info'
 mandir='${prefix}/man'
 
-# Initialize some other variables.
-subdirs=
-MFLAGS= MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-# Maximum number of lines to put in a shell here document.
-: ${ac_max_here_lines=12}
-# Sed expression to map a string onto a valid sh and CPP variable names.
-ac_tr_sh='sed -e y%*+%pp%;s%[^a-zA-Z0-9_]%_%g'
-ac_tr_cpp='sed -e y%*abcdefghijklmnopqrstuvwxyz%PABCDEFGHIJKLMNOPQRSTUVWXYZ%;s%[^A-Z0-9_]%_%g'
-
 ac_prev=
 for ac_option
 do
@@ -223,56 +101,57 @@ do
     continue
   fi
 
-  ac_optarg=`echo "$ac_option" | sed -n 's/^[^=]*=//p'`
+  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
   # Accept the important Cygnus configure options, so we can diagnose typos.
 
-  case "$ac_option" in
+  case $ac_option in
 
   -bindir | --bindir | --bindi | --bind | --bin | --bi)
     ac_prev=bindir ;;
   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
-    bindir="$ac_optarg" ;;
+    bindir=$ac_optarg ;;
 
   -build | --build | --buil | --bui | --bu)
-    ac_prev=build ;;
+    ac_prev=build_alias ;;
   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
-    build="$ac_optarg" ;;
+    build_alias=$ac_optarg ;;
 
   -cache-file | --cache-file | --cache-fil | --cache-fi \
   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
     ac_prev=cache_file ;;
   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
-    cache_file="$ac_optarg" ;;
+    cache_file=$ac_optarg ;;
+
+  --config-cache | -C)
+    cache_file=config.cache ;;
 
   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     ac_prev=datadir ;;
   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
   | --da=*)
-    datadir="$ac_optarg" ;;
+    datadir=$ac_optarg ;;
 
   -disable-* | --disable-*)
-    ac_feature=`echo "$ac_option"|sed -e 's/-*disable-//'`
+    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     # Reject names that are not valid shell variable names.
-    if echo "$ac_feature" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then
-      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
-    fi
-    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
-    eval "enable_${ac_feature}=no" ;;
+    expr "x$ac_feature" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
+      { echo "configure: error: invalid feature name: $ac_feature" >&2; exit 1; }
+    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
+    eval "enable_$ac_feature=no" ;;
 
   -enable-* | --enable-*)
-    ac_feature=`echo "$ac_option"|sed -e 's/-*enable-//' -e 's/=.*//'`
+    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     # Reject names that are not valid shell variable names.
-    if echo "$ac_feature" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then
-      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
-    fi
-    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
-    case "$ac_option" in
+    expr "x$ac_feature" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
+      { echo "configure: error: invalid feature name: $ac_feature" >&2; exit 1; }
+    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
+    case $ac_option in
       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
       *) ac_optarg=yes ;;
     esac
-    eval "enable_${ac_feature}='$ac_optarg'" ;;
+    eval "enable_$ac_feature='$ac_optarg'" ;;
 
   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
@@ -281,113 +160,47 @@ do
   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   | --exec=* | --exe=* | --ex=*)
-    exec_prefix="$ac_optarg" ;;
+    exec_prefix=$ac_optarg ;;
 
   -gas | --gas | --ga | --g)
     # Obsolete; use --with-gas.
     with_gas=yes ;;
 
   -help | --help | --hel | --he | -h)
-    # Omit some internal or obsolete options to make the list less imposing.
-    # This message is too long to be a string in the A/UX 3.1 sh.
-    cat <<\EOF
-`configure' configures software source code packages to adapt to many kinds
-of systems.
-
-Usage: configure [OPTION]... [VAR=VALUE]... [HOST]
-
-To safely assign special values to environment variables (e.g., CC,
-CFLAGS...), give to `configure' the definition as VAR=VALUE.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
-  -h, --help              print this message
-      --version           print the version of autoconf that created configure
-  -q, --quiet, --silent   do not print \`checking...' messages
-      --cache-file=FILE   cache test results in FILE
-  -n, --no-create         do not create output files
-
-Directories:
-  --prefix=PREFIX         install architecture-independent files in PREFIX
-                          [$ac_default_prefix]
-  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
-                          [same as prefix]
-  --bindir=DIR            user executables in DIR [EPREFIX/bin]
-  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
-  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
-  --datadir=DIR           read-only architecture-independent data in DIR
-                          [PREFIX/share]
-  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
-  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
-                          [PREFIX/com]
-  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
-  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
-  --includedir=DIR        C header files in DIR [PREFIX/include]
-  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
-  --infodir=DIR           info documentation in DIR [PREFIX/info]
-  --mandir=DIR            man documentation in DIR [PREFIX/man]
-  --srcdir=DIR            find the sources in DIR [configure dir or ..]
-
-Program names:
-  --program-prefix=PREFIX prepend PREFIX to installed program names
-  --program-suffix=SUFFIX append SUFFIX to installed program names
-  --program-transform-name=PROGRAM
-                          run sed PROGRAM on installed program names
-
-EOF
-    cat <<\EOF
-Host type:
-  --build=BUILD      configure for building on BUILD [BUILD=HOST]
-  --host=HOST        configure for HOST [guessed]
-  --target=TARGET    configure for TARGET [TARGET=HOST]
-
-X features:
-  --x-includes=DIR    X include files are in DIR
-  --x-libraries=DIR   X library files are in DIR
-EOF
-    test -n "$ac_arg_enable_help" && echo "
-Optional features:
-  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
-  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]\
-$ac_arg_enable_help"
-    test -n "$ac_arg_with_help" && echo "
-Optional packages:
-  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
-  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)\
-$ac_arg_with_help"
-    test -n "$ac_arg_var_help" && echo "
-Some influent environment variables:$ac_arg_var_help"
-    exit 0 ;;
+    ac_init_help=long ;;
+  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
+    ac_init_help=recursive ;;
+  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
+    ac_init_help=short ;;
 
   -host | --host | --hos | --ho)
-    ac_prev=host ;;
+    ac_prev=host_alias ;;
   -host=* | --host=* | --hos=* | --ho=*)
-    host="$ac_optarg" ;;
+    host_alias=$ac_optarg ;;
 
   -includedir | --includedir | --includedi | --included | --include \
   | --includ | --inclu | --incl | --inc)
     ac_prev=includedir ;;
   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   | --includ=* | --inclu=* | --incl=* | --inc=*)
-    includedir="$ac_optarg" ;;
+    includedir=$ac_optarg ;;
 
   -infodir | --infodir | --infodi | --infod | --info | --inf)
     ac_prev=infodir ;;
   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
-    infodir="$ac_optarg" ;;
+    infodir=$ac_optarg ;;
 
   -libdir | --libdir | --libdi | --libd)
     ac_prev=libdir ;;
   -libdir=* | --libdir=* | --libdi=* | --libd=*)
-    libdir="$ac_optarg" ;;
+    libdir=$ac_optarg ;;
 
   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   | --libexe | --libex | --libe)
     ac_prev=libexecdir ;;
   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   | --libexe=* | --libex=* | --libe=*)
-    libexecdir="$ac_optarg" ;;
+    libexecdir=$ac_optarg ;;
 
   -localstatedir | --localstatedir | --localstatedi | --localstated \
   | --localstate | --localstat | --localsta | --localst \
@@ -396,12 +209,12 @@ Some influent environment variables:$ac_arg_var_help"
   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
-    localstatedir="$ac_optarg" ;;
+    localstatedir=$ac_optarg ;;
 
   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
     ac_prev=mandir ;;
   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
-    mandir="$ac_optarg" ;;
+    mandir=$ac_optarg ;;
 
   -nfp | --nfp | --nf)
     # Obsolete; use --without-fp.
@@ -422,26 +235,26 @@ Some influent environment variables:$ac_arg_var_help"
   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
-    oldincludedir="$ac_optarg" ;;
+    oldincludedir=$ac_optarg ;;
 
   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
     ac_prev=prefix ;;
   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
-    prefix="$ac_optarg" ;;
+    prefix=$ac_optarg ;;
 
   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   | --program-pre | --program-pr | --program-p)
     ac_prev=program_prefix ;;
   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
-    program_prefix="$ac_optarg" ;;
+    program_prefix=$ac_optarg ;;
 
   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   | --program-suf | --program-su | --program-s)
     ac_prev=program_suffix ;;
   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
-    program_suffix="$ac_optarg" ;;
+    program_suffix=$ac_optarg ;;
 
   -program-transform-name | --program-transform-name \
   | --program-transform-nam | --program-transform-na \
@@ -458,7 +271,7 @@ Some influent environment variables:$ac_arg_var_help"
   | --program-transfo=* | --program-transf=* \
   | --program-trans=* | --program-tran=* \
   | --progr-tra=* | --program-tr=* | --program-t=*)
-    program_transform_name="$ac_optarg" ;;
+    program_transform_name=$ac_optarg ;;
 
   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   | -silent | --silent | --silen | --sile | --sil)
@@ -468,7 +281,7 @@ Some influent environment variables:$ac_arg_var_help"
     ac_prev=sbindir ;;
   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   | --sbi=* | --sb=*)
-    sbindir="$ac_optarg" ;;
+    sbindir=$ac_optarg ;;
 
   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
@@ -479,58 +292,55 @@ Some influent environment variables:$ac_arg_var_help"
   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   | --sha=* | --sh=*)
-    sharedstatedir="$ac_optarg" ;;
+    sharedstatedir=$ac_optarg ;;
 
   -site | --site | --sit)
     ac_prev=site ;;
   -site=* | --site=* | --sit=*)
-    site="$ac_optarg" ;;
+    site=$ac_optarg ;;
 
   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
     ac_prev=srcdir ;;
   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
-    srcdir="$ac_optarg" ;;
+    srcdir=$ac_optarg ;;
 
   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   | --syscon | --sysco | --sysc | --sys | --sy)
     ac_prev=sysconfdir ;;
   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
-    sysconfdir="$ac_optarg" ;;
+    sysconfdir=$ac_optarg ;;
 
   -target | --target | --targe | --targ | --tar | --ta | --t)
-    ac_prev=target ;;
+    ac_prev=target_alias ;;
   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
-    target="$ac_optarg" ;;
+    target_alias=$ac_optarg ;;
 
   -v | -verbose | --verbose | --verbos | --verbo | --verb)
     verbose=yes ;;
 
-  -version | --version | --versio | --versi | --vers)
-    echo "configure generated by autoconf version 2.14a"
-    exit 0 ;;
+  -version | --version | --versio | --versi | --vers | -V)
+    ac_init_version=: ;;
 
   -with-* | --with-*)
-    ac_package=`echo "$ac_option"|sed -e 's/-*with-//' -e 's/=.*//'`
+    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     # Reject names that are not valid shell variable names.
-    if echo "$ac_feature" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then
-      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
-    fi
+    expr "x$ac_package" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
+      { echo "configure: error: invalid package name: $ac_package" >&2; exit 1; }
     ac_package=`echo $ac_package| sed 's/-/_/g'`
-    case "$ac_option" in
+    case $ac_option in
       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
       *) ac_optarg=yes ;;
     esac
-    eval "with_${ac_package}='$ac_optarg'" ;;
+    eval "with_$ac_package='$ac_optarg'" ;;
 
   -without-* | --without-*)
-    ac_package=`echo "$ac_option"|sed -e 's/-*without-//'`
+    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     # Reject names that are not valid shell variable names.
-    if echo "$ac_feature" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then
-      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
-    fi
-    ac_package=`echo $ac_package| sed 's/-/_/g'`
-    eval "with_${ac_package}=no" ;;
+    expr "x$ac_package" : ".*[^-a-zA-Z0-9_]" >/dev/null &&
+      { echo "configure: error: invalid package name: $ac_package" >&2; exit 1; }
+    ac_package=`echo $ac_package | sed 's/-/_/g'`
+    eval "with_$ac_package=no" ;;
 
   --x)
     # Obsolete; use --with-x.
@@ -541,47 +351,393 @@ Some influent environment variables:$ac_arg_var_help"
     ac_prev=x_includes ;;
   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
-    x_includes="$ac_optarg" ;;
+    x_includes=$ac_optarg ;;
 
   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
     ac_prev=x_libraries ;;
   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
-    x_libraries="$ac_optarg" ;;
+    x_libraries=$ac_optarg ;;
 
-  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
+  -*) { echo "configure: error: unrecognized option: $ac_option
+Try \`configure --help' for more information." >&2; exit 1; }
     ;;
 
   *=*)
-    ac_envvar=`echo "$ac_option" | sed -e 's/=.*//'`
+    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
     # Reject names that are not valid shell variable names.
-    if echo "$ac_envvar" | grep '[^a-zA-Z0-9_]' >/dev/null 2>&1; then
-      { echo "configure: error: $ac_envvar: invalid variable name" 1>&2; exit 1; }
-    fi
+    expr "x$ac_envvar" : ".*[^a-zA-Z0-9_]" >/dev/null &&
+      { echo "configure: error: invalid variable name: $ac_envvar" >&2; exit 1; }
     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
     eval "$ac_envvar='$ac_optarg'"
     export $ac_envvar ;;
 
   *)
-    if echo "$ac_feature" | grep '[^-a-zA-Z0-9.]' >/dev/null 2>&1; then
-      echo "configure: warning: $ac_option: invalid host type" 1>&2
-    fi
-    if test "x$nonopt" != xNONE; then
-      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
-    fi
-    nonopt="$ac_option"
+    # FIXME: should be removed in autoconf 3.0.
+    echo "configure: WARNING: you should use --build, --host, --target" >&2
+    expr "x$ac_option" : ".*[^a-zA-Z0-9.]" >/dev/null &&
+      echo "configure: WARNING: invalid host type: $ac_option" >&2
+    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     ;;
 
   esac
 done
 
 if test -n "$ac_prev"; then
-  { echo "configure: error: missing argument to --\`echo $ac_prev | sed 's/_/-/g'\`" 1>&2; exit 1; }
+  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+  { echo "configure: error: missing argument to $ac_option" >&2; exit 1; }
+fi
+
+# Be sure to have absolute paths.
+for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
+              localstatedir libdir includedir oldincludedir infodir mandir \
+              exec_prefix prefix
+do
+  eval ac_val=$`echo $ac_var`
+  case $ac_val in
+    [\\/$]* | ?:[\\/]* ) ;;
+    NONE ) ;;
+    *)  { echo "configure: error: expected an absolute path for --$ac_var: $ac_val" >&2; exit 1; };;
+  esac
+done
+
+# There might be people who depend on the old broken behavior: `$host'
+# used to hold the argument of --host etc.
+build=$build_alias
+host=$host_alias
+target=$target_alias
+
+# FIXME: should be removed in autoconf 3.0.
+if test "x$host_alias" != x; then
+  if test "x$build_alias" = x; then
+    cross_compiling=maybe
+    echo "configure: WARNING: If you wanted to set the --build type, don't use --host.
+    If a cross compiler is detected then cross compile mode will be used." >&2
+  elif test "x$build_alias" != "x$host_alias"; then
+    cross_compiling=yes
+  fi
+fi
+
+ac_tool_prefix=
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
+
+# Find the source files, if location was not specified.
+if test -z "$srcdir"; then
+  ac_srcdir_defaulted=yes
+  # Try the directory containing this script, then its parent.
+  ac_prog=$0
+  ac_confdir=`echo "$ac_prog" | sed 's%/[^/][^/]*$%%'`
+  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
+  srcdir=$ac_confdir
+  if test ! -r $srcdir/$ac_unique_file; then
+    srcdir=..
+  fi
+else
+  ac_srcdir_defaulted=no
+fi
+if test ! -r $srcdir/$ac_unique_file; then
+  if test "$ac_srcdir_defaulted" = yes; then
+    { echo "configure: error: cannot find sources in $ac_confdir or .." >&2; exit 1; }
+  else
+    { echo "configure: error: cannot find sources in $srcdir" >&2; exit 1; }
+  fi
+fi
+srcdir=`echo "$srcdir" | sed 's%\([^/]\)/*$%\1%'`
+ac_env_build_alias_set=${build_alias+set}
+ac_env_build_alias_value=$build_alias
+ac_cv_env_build_alias_set=${build_alias+set}
+ac_cv_env_build_alias_value=$build_alias
+ac_env_host_alias_set=${host_alias+set}
+ac_env_host_alias_value=$host_alias
+ac_cv_env_host_alias_set=${host_alias+set}
+ac_cv_env_host_alias_value=$host_alias
+ac_env_target_alias_set=${target_alias+set}
+ac_env_target_alias_value=$target_alias
+ac_cv_env_target_alias_set=${target_alias+set}
+ac_cv_env_target_alias_value=$target_alias
+ac_env_CC_set=${CC+set}
+ac_env_CC_value=$CC
+ac_cv_env_CC_set=${CC+set}
+ac_cv_env_CC_value=$CC
+ac_env_CFLAGS_set=${CFLAGS+set}
+ac_env_CFLAGS_value=$CFLAGS
+ac_cv_env_CFLAGS_set=${CFLAGS+set}
+ac_cv_env_CFLAGS_value=$CFLAGS
+ac_env_CPPFLAGS_set=${CPPFLAGS+set}
+ac_env_CPPFLAGS_value=$CPPFLAGS
+ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
+ac_cv_env_CPPFLAGS_value=$CPPFLAGS
+ac_env_LDFLAGS_set=${LDFLAGS+set}
+ac_env_LDFLAGS_value=$LDFLAGS
+ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
+ac_cv_env_LDFLAGS_value=$LDFLAGS
+
+#
+# Report the --help message.
+#
+if test "$ac_init_help" = "long"; then
+  # Omit some internal or obsolete options to make the list less imposing.
+  # This message is too long to be a string in the A/UX 3.1 sh.
+  cat <<EOF
+\`configure' configures this package to adapt to many kinds of systems.
+
+Usage: $0 [OPTION]... [VAR=VALUE]...
+
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
+VAR=VALUE.  See below for descriptions of some of the useful variables.
+
+Defaults for the options are specified in brackets.
+
+Configuration:
+  -h, --help              display this help and exit
+      --help=short        display options specific to this package
+      --help=recursive    display the short help of all the included packages
+  -V, --version           display version information and exit
+  -q, --quiet, --silent   do not print \`checking...' messages
+      --cache-file=FILE   cache test results in FILE [disabled]
+  -C, --config-cache      alias for \`--cache-file=config.cache'
+  -n, --no-create         do not create output files
+      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
+
+EOF
+
+  cat <<EOF
+Installation directories:
+  --prefix=PREFIX         install architecture-independent files in PREFIX
+                          [$ac_default_prefix]
+  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
+                          [PREFIX]
+
+By default, \`make install' will install all the files in
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
+for instance \`--prefix=\$HOME'.
+
+For better control, use the options below.
+
+Fine tuning of the installation directories:
+  --bindir=DIR           user executables [EPREFIX/bin]
+  --sbindir=DIR          system admin executables [EPREFIX/sbin]
+  --libexecdir=DIR       program executables [EPREFIX/libexec]
+  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
+  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
+  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
+  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
+  --libdir=DIR           object code libraries [EPREFIX/lib]
+  --includedir=DIR       C header files [PREFIX/include]
+  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
+  --infodir=DIR          info documentation [PREFIX/info]
+  --mandir=DIR           man documentation [PREFIX/man]
+EOF
+
+  cat <<\EOF
+
+Program names:
+  --program-prefix=PREFIX            prepend PREFIX to installed program names
+  --program-suffix=SUFFIX            append SUFFIX to installed program names
+  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
+
+System types:
+  --build=BUILD     configure for building on BUILD [guessed]
+  --host=HOST       build programs to run on HOST [BUILD]
+  --target=TARGET   configure for building compilers for TARGET [HOST]
+EOF
+fi
+
+if test -n "$ac_init_help"; then
+
+  cat <<\EOF
+
+Optional Features:
+  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
+  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
+  --disable-dependency-tracking Speeds up one-time builds
+  --enable-dependency-tracking  Do not reject slow dependency extractors
+  --enable-debugging      + include debugging code
+  --enable-dst-minutes=60 + minutes per DST adjustment
+  --enable-BANCOMM        - Datum/Bancomm bc635/VME interface
+  --enable-GPSVME         - TrueTime GPS receiver/VME interface
+  --enable-SHM            - SHM clock attached thru shared memory
+  --enable-all-clocks     + include all suitable non-PARSE clocks:
+  --enable-ACTS           + ACTS modem service
+  --enable-ARBITER        + Arbiter 1088A/B GPS receiver
+  --enable-ARCRON-MSF     + Arcron MSF receiver
+  --enable-AS2201         + Austron 2200A/2201A GPS receiver
+  --enable-ATOM           + PPS interface
+  --enable-CHU            - CHU modem/decoder
+  --enable-AUDIO-CHU      s CHU audio/decoder
+  --enable-DATUM          s Datum Programmable Time System
+  --enable-FG             + Forum Graphic GPS
+  --enable-HEATH          s Heath GC-1000 WWV/WWVH receiver
+  --enable-HPGPS          + HP 58503A GPS receiver
+  --enable-IRIG           s Sun IRIG audio decoder
+  --enable-LEITCH         + Leitch CSD 5300 Master Clock System Driver
+  --enable-LOCAL-CLOCK    + local clock reference
+  --enable-MSFEES         + EES M201 MSF receiver
+  --enable-MX4200         s Magnavox MX4200 GPS receiver
+  --enable-NMEA           + NMEA GPS receiver
+  --enable-ONCORE         + Motorola VP/UT Oncore GPS receiver
+  --enable-PALISADE       + Palisade clock
+  --enable-PST            + PST/Traconex 1020 WWV/WWVH receiver
+  --enable-JUPITER        s Rockwell Jupiter GPS receiver
+  --enable-PTBACTS        s PTB modem service
+  --enable-TPRO           s KSI/Odetics TPRO/S GPS receiver/IRIG interface
+  --enable-TRAK           + TRAK 8810 GPS receiver
+  --enable-CHRONOLOG      + Chrono-log K-series WWVB receiver
+  --enable-DUMBCLOCK      + Dumb generic hh:mm:ss local clock
+  --enable-PCF            + Conrad parallel port radio clock
+  --enable-SPECTRACOM     + Spectracom 8170/Netclock/2 WWVB receiver
+  --enable-TRUETIME       s Kinemetrics/TrueTime receivers
+  --enable-ULINK          + Ultralink WWVB receiver
+  --enable-WWV            + WWV Audio receiver
+  --enable-USNO           s USNO modem service
+  --enable-parse-clocks   - include all suitable PARSE clocks:
+  --enable-COMPUTIME      s Diem Computime Radio Clock
+  --enable-DCF7000        s ELV/DCF7000 clock
+  --enable-HOPF6021       s HOPF 6021 clock
+  --enable-MEINBERG       s Meinberg clocks
+  --enable-RAWDCF         s DCF77 raw time code
+  --enable-RCC8000        s RCC 8000 clock
+  --enable-SCHMID         s Schmid DCF77 clock
+  --enable-TRIMTAIP       s Trimble GPS receiver/TAIP protocol
+  --enable-TRIMTSIP       s Trimble GPS receiver/TSIP protocol
+  --enable-WHARTON        s WHARTON 400A Series clock
+  --enable-VARITEXT       s VARITEXT clock
+  --enable-kmem           s read /dev/kmem for tick and/or tickadj
+  --enable-accurate-adjtime
+                          s the adjtime() call is accurate
+  --enable-tick=VALUE     s force a value for 'tick'
+  --enable-tickadj=VALUE  s force a value for 'tickadj'
+  --enable-udp-wildcard   s use UDP wildcard delivery
+  --enable-slew-always    s always slew the time
+  --enable-step-slew      s step and slew the time
+  --enable-ntpdate-step   s if ntpdate should step the time
+  --enable-hourly-todr-sync
+                          s if we should sync TODR hourly
+  --enable-kernel-fll-bug s if we should avoid a kernel FLL bug
+
+Optional Packages:
+  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
+  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
+  --with-crypto           + ={autokey,rsaref}
+  --with-electricfence    -
+
+Some influential environment variables:
+  CC          C compiler command
+  CFLAGS      C compiler flags
+  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
+              headers in a nonstandard directory <include dir>
+  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
+              nonstandard directory <lib dir>
+
+Use these variables to override the choices made by `configure' or to help
+it to find libraries and programs with nonstandard names/locations.
+
+EOF
+fi
+
+if test "$ac_init_help" = "recursive"; then
+  # If there are subdirs, report their specific --help.
+  ac_popdir=`pwd`
+  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
+    cd $ac_subdir
+    # A "../" for each directory in /$ac_subdir.
+    ac_dots=`echo $ac_subdir |
+             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
+
+    case $srcdir in
+    .) # No --srcdir option.  We are building in place.
+      ac_sub_srcdir=$srcdir ;;
+    [\\/]* | ?:[\\/]* ) # Absolute path.
+      ac_sub_srcdir=$srcdir/$ac_subdir ;;
+    *) # Relative path.
+      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
+    esac
+
+    # Check for guested configure; otherwise get Cygnus style configure.
+    if test -f $ac_sub_srcdir/configure; then
+      echo
+      $SHELL $ac_sub_srcdir/configure  --help=recursive
+    elif test -f $ac_sub_srcdir/configure.in; then
+      echo
+      $ac_configure --help
+    else
+      echo "configure: WARNING: no configuration information is in $ac_subdir" >&2
+    fi
+    cd $ac_popdir
+  done
+fi
+
+test -n "$ac_init_help" && exit 0
+if $ac_init_version; then
+  cat <<\EOF
+
+Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
+Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+EOF
+  exit 0
+fi
+# Be Bourne compatible
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+  emulate sh
+  NULLCMD=:
+elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
+  set -o posix
+fi
+
+# Support unset when possible.
+if (unset FOO) >/dev/null 2>&1; then
+  ac_unset=unset
+else
+  ac_unset=false
 fi
 
+# NLS nuisances.
+$ac_unset LANG || test "${LANG+set}" != set || LANG=C && export LANG
+$ac_unset LC_ALL || test "${LC_ALL+set}" != set || LC_ALL=C && export LC_ALL
+$ac_unset LC_TIME || test "${LC_TIME+set}" != set || LC_TIME=C && export LC_TIME
+$ac_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || LC_CTYPE=C && export LC_CTYPE
+$ac_unset LANGUAGE || test "${LANGUAGE+set}" != set || LANGUAGE=C && export LANGUAGE
+$ac_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || LC_COLLATE=C && export LC_COLLATE
+$ac_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || LC_NUMERIC=C && export LC_NUMERIC
+$ac_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || LC_MESSAGES=C && export LC_MESSAGES
+
+# IFS
+# We need space, tab and new line, in precisely that order.
+ac_nl='
+'
+IFS="  $ac_nl"
+
+# CDPATH.
+$ac_unset CDPATH || test "${CDPATH+set}" != set || CDPATH=: && export CDPATH
+
 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
 
+# Keep a trace of the command line.
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Also quote any args containing shell meta-characters.
+ac_configure_args=
+ac_sep=
+for ac_arg
+do
+  case $ac_arg in
+  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+  | --no-cr | --no-c) ;;
+  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
+  *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
+    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
+    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
+    ac_sep=" " ;;
+  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
+     ac_sep=" " ;;
+  esac
+  # Get rid of the leading space.
+done
+
 # File descriptor usage:
 # 0 standard input
 # 1 file creation
@@ -600,67 +756,17 @@ exec 5>./config.log
 echo "\
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
-" 1>&5
-
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Also quote any args containing shell meta-characters.
-ac_configure_args=
-for ac_arg
-do
-  case "$ac_arg" in
-  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
-  | --no-cr | --no-c) ;;
-  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
-  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
-  *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
-  ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
-  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
-  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
-  esac
-done
 
-# NLS nuisances.
-# Only set these to C if already set.  These must not be set unconditionally
-# because not all systems understand e.g. LANG=C (notably SCO).
-# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
-# Non-C LC_CTYPE values break the ctype check.
-if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
-if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
-if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
-if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
+It was created by configure  2.49a, executed with
+ > $0 $ac_configure_args
+" >&5
 
 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 rm -rf conftest* confdefs.h
 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
 echo >confdefs.h
 
-# A filename unique to this package, relative to the directory that
-# configure is in, which we can look for to find out if srcdir is correct.
-ac_unique_file=ntpd/ntp_refclock.c
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
-  ac_srcdir_defaulted=yes
-  # Try the directory containing this script, then its parent.
-  ac_prog=$0
-  ac_confdir=`echo "$ac_prog"|sed 's%/[^/][^/]*$%%'`
-  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
-  srcdir=$ac_confdir
-  if test ! -r $srcdir/$ac_unique_file; then
-    srcdir=..
-  fi
-else
-  ac_srcdir_defaulted=no
-fi
-if test ! -r $srcdir/$ac_unique_file; then
-  if test "$ac_srcdir_defaulted" = yes; then
-    { echo "configure: error: cannot find sources in $ac_confdir or .." 1>&2; exit 1; }
-  else
-    { echo "configure: error: cannot find sources in $srcdir" 1>&2; exit 1; }
-  fi
-fi
-srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
-
+# Let the site file select an alternate cache file if it wants to.
 # Prefer explicitly selected file to automatically selected ones.
 if test -z "$CONFIG_SITE"; then
   if test "x$prefix" != xNONE; then
@@ -677,33 +783,63 @@ for ac_site_file in $CONFIG_SITE; do
 done
 
 if test -r "$cache_file"; then
-  echo "loading cache $cache_file"
-      test -f "$cache_file" && . $cache_file
+  # Some versions of bash will fail to source /dev/null (special
+  # files actually), so we avoid doing that.
+  if test -f "$cache_file"; then
+    echo "loading cache $cache_file"
+    case $cache_file in
+      [\\/]* | ?:[\\/]* ) . $cache_file;;
+      *)                      . ./$cache_file;;
+    esac
+  fi
 else
   echo "creating cache $cache_file"
   >$cache_file
 fi
 
+# Check that the precious variables saved in the cache have kept the same
+# value.
+ac_suggest_removing_cache=false
+for ac_var in `(set) 2>&1 |
+               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
+  eval ac_old_set=\$ac_cv_env_${ac_var}_set
+  eval ac_new_set=\$ac_env_${ac_var}_set
+  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
+  eval ac_new_val="\$ac_env_${ac_var}_value"
+  case $ac_old_set,$ac_new_set in
+    set,)
+      echo "configure: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2
+      ac_suggest_removing_cache=: ;;
+    ,set)
+      echo "configure: WARNING: \`$ac_var' was not set in the previous run" >&2
+      ac_suggest_removing_cache=: ;;
+    ,);;
+    *)
+      if test "x$ac_old_val" != "x$ac_new_val"; then
+        echo "configure: WARNING: \`$ac_var' has changed since the previous run:" >&2
+        echo "configure: WARNING:   former value:  $ac_old_val" >&2
+        echo "configure: WARNING:   current value: $ac_new_val" >&2
+        ac_suggest_removing_cache=:
+      fi;;
+  esac
+done
+if $ac_suggest_removing_cache; then
+  echo "configure: WARNING: changes in the environment can compromise the build" >&2
+  echo "configure: WARNING: consider removing $cache_file and starting over" >&2
+fi
+
 ac_ext=c
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
 ac_cpp='$CPP $CPPFLAGS'
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cc_cross
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_gnu_compiler=$ac_cv_prog_gcc
 
-ac_exeext=
-ac_objext=o
-if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
-  # Stardent Vistra SVR4 grep lacks -e, says Kaveh Ghazi
-  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
-    ac_n= ac_c='
-' ac_t='       '
-  else
-    ac_n=-n ac_c= ac_t=
-  fi
-else
-  ac_n= ac_c='\c' ac_t=
-fi
+case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
+  *c*,-n*) ECHO_N= ECHO_C='
+' ECHO_T='     ' ;;
+  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
+  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
+esac
 
 ac_aux_dir=
 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
@@ -722,155 +858,94 @@ for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
   fi
 done
 if test -z "$ac_aux_dir"; then
-  { echo "configure: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
+  { echo "configure: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2; exit 1; }
 fi
 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 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:733: checking host system type" 1>&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.
-  if $ac_config_sub sun4 >/dev/null 2>&1; then :; else
-    { echo "configure: error: cannot run $ac_config_sub" 1>&2; exit 1; }
-  fi
-
-  ac_cv_host_alias=$host
-  case "$ac_cv_host_alias" in
-  NONE)
-    case $nonopt in
-    NONE)
-      if ac_cv_host_alias=`$ac_config_guess`; then :
-      else { echo "configure: error: cannot guess host type; you must specify one" 1>&2; exit 1; }
-      fi ;;    *) ac_cv_host_alias=$nonopt ;;
-    esac ;;
-  esac
+# Make sure we can run config.sub.
+$ac_config_sub sun4 >/dev/null 2>&1 ||
+  { echo "configure: error: cannot run $ac_config_sub" >&2; exit 1; }
 
-  ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || exit 1
-  ac_cv_host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
-  ac_cv_host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
-  ac_cv_host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+echo "configure:871: checking build system type" >&5
+echo $ECHO_N "checking build system type... $ECHO_C" >&6
+if test "${ac_cv_build+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  echo $ac_n "(cached) $ac_c" 1>&6
+  ac_cv_build_alias=$build_alias
+test -z "$ac_cv_build_alias" &&
+  ac_cv_build_alias=`$ac_config_guess`
+test -z "$ac_cv_build_alias" &&
+  { echo "configure: error: cannot guess build type; you must specify one" >&2; exit 1; }
+ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || exit 1
+
 fi
+echo "configure:884: result: $ac_cv_build" >&5
+echo "${ECHO_T}$ac_cv_build" >&6
+build=$ac_cv_build
+build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
-echo "$ac_t""$ac_cv_host" 1>&6
+echo "configure:891: checking host system type" >&5
+echo $ECHO_N "checking host system type... $ECHO_C" >&6
+if test "${ac_cv_host+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  ac_cv_host_alias=$host_alias
+test -z "$ac_cv_host_alias" &&
+  ac_cv_host_alias=$ac_cv_build_alias
+ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || exit 1
 
+fi
+echo "configure:902: result: $ac_cv_host" >&5
+echo "${ECHO_T}$ac_cv_host" >&6
 host=$ac_cv_host
-host_alias=$ac_cv_host_alias
-host_cpu=$ac_cv_host_cpu
-host_vendor=$ac_cv_host_vendor
-host_os=$ac_cv_host_os
-
-echo $ac_n "checking target system type... $ac_c" 1>&6
-echo "configure:769: checking target system type" 1>&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.
-  if $ac_config_sub sun4 >/dev/null 2>&1; then :; else
-    { echo "configure: error: cannot run $ac_config_sub" 1>&2; exit 1; }
-  fi
-
-  ac_cv_target_alias=$target
-  case "$ac_cv_target_alias" in
-  NONE)
-    case $nonopt in
-    NONE)
-      ac_cv_target_alias=$host_alias ;;
-    *) ac_cv_target_alias=$nonopt ;;
-    esac ;;
-  esac
+host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
-  ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || exit 1
-  ac_cv_target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
-  ac_cv_target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
-  ac_cv_target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+echo "configure:909: checking target system type" >&5
+echo $ECHO_N "checking target system type... $ECHO_C" >&6
+if test "${ac_cv_target+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  echo $ac_n "(cached) $ac_c" 1>&6
-fi
-
-echo "$ac_t""$ac_cv_target" 1>&6
-
-target=$ac_cv_target
-target_alias=$ac_cv_target_alias
-target_cpu=$ac_cv_target_cpu
-target_vendor=$ac_cv_target_vendor
-target_os=$ac_cv_target_os
-
-echo $ac_n "checking build system type... $ac_c" 1>&6
-echo "configure:804: checking build system type" 1>&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.
-  if $ac_config_sub sun4 >/dev/null 2>&1; then :; else
-    { echo "configure: error: cannot run $ac_config_sub" 1>&2; exit 1; }
-  fi
-
-  ac_cv_build_alias=$build
-  case "$ac_cv_build_alias" in
-  NONE)
-    case $nonopt in
-    NONE)
-      ac_cv_build_alias=$host_alias ;;
-    *) ac_cv_build_alias=$nonopt ;;
-    esac ;;
-  esac
+  ac_cv_target_alias=$target_alias
+test "x$ac_cv_target_alias" = "x" &&
+  ac_cv_target_alias=$ac_cv_host_alias
+ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || exit 1
 
-  ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || exit 1
-  ac_cv_build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
-  ac_cv_build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
-  ac_cv_build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
-else
-  echo $ac_n "(cached) $ac_c" 1>&6
 fi
-
-echo "$ac_t""$ac_cv_build" 1>&6
-
-build=$ac_cv_build
-build_alias=$ac_cv_build_alias
-build_cpu=$ac_cv_build_cpu
-build_vendor=$ac_cv_build_vendor
-build_os=$ac_cv_build_os
-
-# Do some error checking and defaulting for the host and target type.
-# The inputs are:
-#    configure --host=HOST --target=TARGET --build=BUILD NONOPT
-#
-# The rules are:
-# 1. You are not allowed to specify --host, --target, and nonopt at the
-#    same time.
-# 2. Host defaults to nonopt.
-# 3. If nonopt is not specified, then host defaults to the current host,
-#    as determined by config.guess.
-# 4. Target and build default to nonopt.
-# 5. If nonopt is not specified, then target and build default to host.
+echo "configure:920: result: $ac_cv_target" >&5
+echo "${ECHO_T}$ac_cv_target" >&6
+target=$ac_cv_target
+target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
 # The aliases save the names the user supplied, while $host etc.
 # will get canonicalized.
-case $host---$target---$nonopt in
-NONE---*---* | *---NONE---* | *---*---NONE) ;;
-*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
-esac
-
-test "$host_alias" != "$target_alias" &&
+test -n "$target_alias" &&
   test "$program_prefix$program_suffix$program_transform_name" = \
     NONENONEs,x,x, &&
   program_prefix=${target_alias}-
-
 cat >>confdefs.h <<EOF
 #define STR_SYSTEM "$target"
 EOF
 
+ac_config_headers="$ac_config_headers config.h"
+
+  ac_config_commands="$ac_config_commands default-1"
+
 if test "$program_transform_name" = s,x,x,; then
   program_transform_name=
 else
   # Double any \ or $.  echo might interpret backslashes.
-  cat <<\EOF_SED >conftestsed
+  cat <<\EOF >conftestsed
 s,\\,\\\\,g; s,\$,$$,g
-EOF_SED
-  program_transform_name=`echo $program_transform_name|sed -f conftestsed`
+EOF
+  program_transform_name=`echo $program_transform_name | sed -f conftestsed`
   rm -f conftestsed
 fi
 test "$program_prefix" != NONE &&
@@ -880,7 +955,7 @@ test "$program_suffix" != NONE &&
   program_transform_name="s,\$\$,${program_suffix},;$program_transform_name"
 
 # sed with no file args requires a program.
-test "$program_transform_name" = "" && program_transform_name="s,x,x,"
+test -z "$program_transform_name" && program_transform_name="s,x,x,"
 
 # Find a good install program.  We prefer a C program (faster),
 # so one script is as good as another.  But avoid the broken or
@@ -893,16 +968,16 @@ test "$program_transform_name" = "" && program_transform_name="s,x,x,"
 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 # 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:898: checking for a BSD compatible install" 1>&5
+echo "configure:971: checking for a BSD compatible install" >&5
+echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
 if test -z "$INSTALL"; then
 if test "${ac_cv_path_install+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-    IFS="${IFS=        }"; ac_save_IFS="$IFS"; IFS=":"
+    ac_save_IFS=$IFS; IFS=':'
   for ac_dir in $PATH; do
     # Account for people who put trailing slashes in PATH elements.
-    case "$ac_dir/" in
+    case $ac_dir/ in
     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
     *)
       # OSF1 and SCO ODT 3.0 have their own names for install.
@@ -927,20 +1002,21 @@ else
       ;;
     esac
   done
-  IFS="$ac_save_IFS"
+  IFS=$ac_save_IFS
 
 fi
   if test "${ac_cv_path_install+set}" = set; then
-    INSTALL="$ac_cv_path_install"
+    INSTALL=$ac_cv_path_install
   else
     # As a last resort, use the slow shell script.  We don't cache a
     # path for INSTALL within a source directory, because that will
     # break other packages using the cache if that directory is
     # removed, or if the path is relative.
-    INSTALL="$ac_install_sh"
+    INSTALL=$ac_install_sh
   fi
 fi
-echo "$ac_t""$INSTALL" 1>&6
+echo "configure:1018: result: $INSTALL" >&5
+echo "${ECHO_T}$INSTALL" >&6
 
 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 # It thinks the first close brace ends the variable substitution.
@@ -950,8 +1026,8 @@ 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:955: checking whether build environment is sane" 1>&5
+echo "configure:1029: checking whether build environment is sane" >&5
+echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 # Just in case
 sleep 1
 echo timestamp > conftestfile
@@ -974,7 +1050,7 @@ if (
       # broken ls alias from the environment.  This has actually
       # happened.  Such a system could not be considered "sane".
       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
-alias in your environment" 1>&2; exit 1; }
+alias in your environment" >&2; exit 1; }
    fi
 
    test "$2" = conftestfile
@@ -984,60 +1060,66 @@ then
    :
 else
    { echo "configure: error: newly created file is older than distributed files!
-Check your system clock" 1>&2; exit 1; }
+Check your system clock" >&2; exit 1; }
 fi
 rm -f conftest*
-echo "$ac_t""yes" 1>&6
+echo "configure:1066: result: yes" >&5
+echo "${ECHO_T}yes" >&6
 
 test x"${MISSING+set}" = xset || \
   MISSING="\${SHELL} `CDPATH=: && cd $ac_aux_dir && pwd`/missing"
+# Use eval to expand $SHELL
 if eval "$MISSING --run :"; then
   am_missing_run="$MISSING --run "
 else
   am_missing_run=
   am_backtick='`'
-  echo "configure: warning: ${am_backtick}missing' script is too old or missing" 1>&2
+  echo "configure: WARNING: ${am_backtick}missing' script is too old or missing" >&2
 fi
 
 for ac_prog in mawk gawk nawk awk
 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:1008: checking for $ac_word" 1>&5
+echo "configure:1084: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_AWK+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   if test -n "$AWK"; then
   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 else
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
-  ac_dummy="$PATH"
-  for ac_dir in $ac_dummy; do
-    test -z "$ac_dir" && ac_dir=.
-    if test -f $ac_dir/$ac_word; then
-      ac_cv_prog_AWK="$ac_prog"
-      break
-    fi
-  done
-  IFS="$ac_save_ifs"
+
+  ac_save_IFS=$IFS; IFS=':'
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+  IFS=$ac_save_IFS
+  test -z "$ac_dir" && ac_dir=.
+  test -f $ac_dir/$ac_word || continue
+
+ac_cv_prog_AWK="$ac_prog"
+break
+done
+
 fi
 fi
-AWK="$ac_cv_prog_AWK"
+AWK=$ac_cv_prog_AWK
 if test -n "$AWK"; then
-  echo "$ac_t""$AWK" 1>&6
+  echo "configure:1108: result: $AWK" >&5
+echo "${ECHO_T}$AWK" >&6
 else
-  echo "$ac_t""no" 1>&6
+  echo "configure:1111: result: no" >&5
+echo "${ECHO_T}no" >&6
 fi
 
 test -n "$AWK" && break
 done
 
-echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}... $ac_c" 1>&6
-echo "configure:1038: checking whether ${MAKE-make} sets \${MAKE}" 1>&5
-set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
+echo "configure:1118: checking whether ${MAKE-make} sets \${MAKE}" >&5
+echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
+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
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftestmake <<\EOF
 all:
@@ -1053,19 +1135,20 @@ fi
 rm -f conftestmake
 fi
 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
-  echo "$ac_t""yes" 1>&6
+  echo "configure:1138: result: yes" >&5
+echo "${ECHO_T}yes" >&6
   SET_MAKE=
 else
-  echo "$ac_t""no" 1>&6
+  echo "configure:1142: result: no" >&5
+echo "${ECHO_T}no" >&6
   SET_MAKE="MAKE=${MAKE-make}"
 fi
 
 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 if test "${enable_dependency_tracking+set}" = set; then
   enableval="$enable_dependency_tracking"
-  :
-fi
 
+fi
 if test "x$enable_dependency_tracking" = xno; then
   AMDEP="#"
 else
@@ -1089,14 +1172,17 @@ else
   DEPDIR=_deps
 fi
 
-PACKAGE=ntp
-
-VERSION=4.0.99k7
-
+# test to see if srcdir already configured
 if test "`CDPATH=: && 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; }
+  { echo "configure: error: source directory already configured; run \"make distclean\" there first" >&2; exit 1; }
 fi
+
+# Define the identity of the package.
+PACKAGE=ntp
+
+VERSION=4.0.99k8
+
 cat >>confdefs.h <<EOF
 #define PACKAGE "$PACKAGE"
 EOF
@@ -1105,6 +1191,8 @@ cat >>confdefs.h <<EOF
 #define VERSION "$VERSION"
 EOF
 
+# Some tools Automake needs.
+
 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
 
 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
@@ -1124,228 +1212,405 @@ if test -z "$install_sh"; then
          install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"
 fi
 
-   
-
-   
+# We need awk for the "check" target.  The system "awk" is bad on
+# some platforms.
 
 ac_cv_var_oncore_ok=no
 
 iCFLAGS="$CFLAGS"
 
-case "${CFLAGS+set} $ac_configure_args" in
- *" CFLAGS="* );;
- "set "*) ac_configure_args="CFLAGS='$CFLAGS' $ac_configure_args";;
-esac
-
-  # 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:1144: checking for $ac_word" 1>&5
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_gnu_compiler=$ac_cv_prog_gcc
+
+# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+echo "configure:1230: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_CC+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   if test -n "$CC"; then
   ac_cv_prog_CC="$CC" # Let the user override the test.
 else
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
-  ac_dummy="$PATH"
-  for ac_dir in $ac_dummy; do
-    test -z "$ac_dir" && ac_dir=.
-    if test -f $ac_dir/$ac_word; then
-      ac_cv_prog_CC="gcc"
-      break
-    fi
-  done
-  IFS="$ac_save_ifs"
+
+  ac_save_IFS=$IFS; IFS=':'
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+  IFS=$ac_save_IFS
+  test -z "$ac_dir" && ac_dir=.
+  test -f $ac_dir/$ac_word || continue
+
+ac_cv_prog_CC="${ac_tool_prefix}gcc"
+break
+done
+
 fi
 fi
-CC="$ac_cv_prog_CC"
+CC=$ac_cv_prog_CC
 if test -n "$CC"; then
-  echo "$ac_t""$CC" 1>&6
+  echo "configure:1254: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6
 else
-  echo "$ac_t""no" 1>&6
+  echo "configure:1257: result: no" >&5
+echo "${ECHO_T}no" >&6
 fi
 
-  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:1174: checking for $ac_word" 1>&5
-if test "${ac_cv_prog_CC+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+if test -z "$ac_cv_prog_CC"; then
+  if test -n "$ac_tool_prefix"; then
+    # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+echo "configure:1265: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  if test -n "$CC"; then
-  ac_cv_prog_CC="$CC" # Let the user override the test.
+  if test -n "$ac_ct_CC"; then
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+
+  ac_save_IFS=$IFS; IFS=':'
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+  IFS=$ac_save_IFS
+  test -z "$ac_dir" && ac_dir=.
+  test -f $ac_dir/$ac_word || continue
+
+ac_cv_prog_ac_ct_CC="gcc"
+break
+done
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+  echo "configure:1289: result: $ac_ct_CC" >&5
+echo "${ECHO_T}$ac_ct_CC" >&6
+else
+  echo "configure:1292: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+    CC="$ac_ct_CC"
+  else
+    CC=""
+  fi
+fi
+
+if test -z "$CC"; then
+  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+echo "configure:1305: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_CC+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$CC"; then
+  ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+
+  ac_save_IFS=$IFS; IFS=':'
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+  IFS=$ac_save_IFS
+  test -z "$ac_dir" && ac_dir=.
+  test -f $ac_dir/$ac_word || continue
+
+ac_cv_prog_CC="${ac_tool_prefix}cc"
+break
+done
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+  echo "configure:1329: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6
+else
+  echo "configure:1332: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+if test -z "$ac_cv_prog_CC"; then
+  if test -n "$ac_tool_prefix"; then
+    # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+echo "configure:1340: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$ac_ct_CC"; then
+  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+
+  ac_save_IFS=$IFS; IFS=':'
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+  IFS=$ac_save_IFS
+  test -z "$ac_dir" && ac_dir=.
+  test -f $ac_dir/$ac_word || continue
+
+ac_cv_prog_ac_ct_CC="cc"
+break
+done
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+  echo "configure:1364: result: $ac_ct_CC" >&5
+echo "${ECHO_T}$ac_ct_CC" >&6
+else
+  echo "configure:1367: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+    CC="$ac_ct_CC"
+  else
+    CC=""
+  fi
+fi
+
+fi
+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 "configure:1381: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_CC+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$CC"; then
+  ac_cv_prog_CC="$CC" # Let the user override the test.
 else
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
   ac_prog_rejected=no
-  ac_dummy="$PATH"
-  for ac_dir in $ac_dummy; do
-    test -z "$ac_dir" && ac_dir=.
-    if test -f $ac_dir/$ac_word; then
-      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
-        ac_prog_rejected=yes
-       continue
-      fi
-      ac_cv_prog_CC="cc"
-      break
-    fi
-  done
-  IFS="$ac_save_ifs"
+  ac_save_IFS=$IFS; IFS=':'
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+  IFS=$ac_save_IFS
+  test -z "$ac_dir" && ac_dir=.
+  test -f $ac_dir/$ac_word || continue
+if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
+  ac_prog_rejected=yes
+  continue
+fi
+ac_cv_prog_CC="cc"
+break
+done
+
 if test $ac_prog_rejected = yes; then
   # We found a bogon in the path, so make sure we never use it.
   set dummy $ac_cv_prog_CC
   shift
-  if test $# -gt 0; then
+  if test $# != 0; then
     # We chose a different compiler from the bogus one.
     # However, it has the same basename, so the bogon will be chosen
     # first if we set CC to just the basename; use the full file name.
     shift
-    set dummy "$ac_dir/$ac_word" "$@"
+    set dummy "$ac_dir/$ac_word" ${1+"$@"}
     shift
     ac_cv_prog_CC="$@"
   fi
 fi
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+  echo "configure:1423: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6
+else
+  echo "configure:1426: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+fi
+if test -z "$CC"; then
+  for ac_prog in cl
+do
+  # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+echo "configure:1436: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_CC+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$CC"; then
+  ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+
+  ac_save_IFS=$IFS; IFS=':'
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+  IFS=$ac_save_IFS
+  test -z "$ac_dir" && ac_dir=.
+  test -f $ac_dir/$ac_word || continue
+
+ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+break
+done
+
 fi
 fi
-CC="$ac_cv_prog_CC"
+CC=$ac_cv_prog_CC
 if test -n "$CC"; then
-  echo "$ac_t""$CC" 1>&6
+  echo "configure:1460: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6
 else
-  echo "$ac_t""no" 1>&6
+  echo "configure:1463: result: no" >&5
+echo "${ECHO_T}no" >&6
 fi
 
-    if test -z "$CC"; then
-      for ac_prog in cl
+  test "$CC" != "" && break
+done
+if test "$CC" = ""; then
+  for ac_prog in cl
 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:1225: checking for $ac_word" 1>&5
+echo "configure:1474: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_CC+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   if test -n "$CC"; then
   ac_cv_prog_CC="$CC" # Let the user override the test.
 else
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
-  ac_dummy="$PATH"
-  for ac_dir in $ac_dummy; do
-    test -z "$ac_dir" && ac_dir=.
-    if test -f $ac_dir/$ac_word; then
-      ac_cv_prog_CC="$ac_prog"
-      break
-    fi
-  done
-  IFS="$ac_save_ifs"
+
+  ac_save_IFS=$IFS; IFS=':'
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+  IFS=$ac_save_IFS
+  test -z "$ac_dir" && ac_dir=.
+  test -f $ac_dir/$ac_word || continue
+
+ac_cv_prog_CC="$ac_prog"
+break
+done
+
 fi
 fi
-CC="$ac_cv_prog_CC"
+CC=$ac_cv_prog_CC
 if test -n "$CC"; then
-  echo "$ac_t""$CC" 1>&6
+  echo "configure:1498: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6
 else
-  echo "$ac_t""no" 1>&6
+  echo "configure:1501: result: no" >&5
+echo "${ECHO_T}no" >&6
 fi
 
 test -n "$CC" && break
 done
 
-    fi
-  fi
-
-test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
-
-echo $ac_n "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works... $ac_c" 1>&6
-echo "configure:1260: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" 1>&5
+fi
 
-ac_ext=c
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cc_cross
+fi
 
-cat >conftest.$ac_ext <<EOF
+test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" >&2; exit 1; }
 
-#line 1271 "configure"
+echo "configure:1514: checking whether the C compiler works" >&5
+echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line 1517 "configure"
 #include "confdefs.h"
 
-int main(){return(0);}
-EOF
-if { (eval echo configure:1276: \"$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
-    ac_cv_prog_cc_cross=no
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:1528: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+  # FIXME: these cross compiler hacks should be removed for autoconf 3.0
+# If not cross compiling, check that we can run a simple program.
+if test "$cross_compiling" != yes; then
+  if { ac_try='./conftest'; { (eval echo configure:1532: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; }; then
+    cross_compiling=no
   else
-    ac_cv_prog_cc_cross=yes
+    if test "$cross_compiling" = maybe; then
+      cross_compiling=yes
+    else
+      { echo "configure: error: cannot run C compiled programs.
+To enable cross compilation, use \`--host'." >&2; exit 1; }
+    fi
   fi
+fi
+echo "configure:1543: result: yes" >&5
+echo "${ECHO_T}yes" >&6
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  ac_cv_prog_cc_works=no
+  echo "configure:1548: result: no" >&5
+echo "${ECHO_T}no" >&6
+{ echo "configure: error: C compiler cannot create executables" >&2; exit 77; }
 fi
-rm -fr conftest*
-ac_ext=c
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cc_cross
-
-echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
-if test $ac_cv_prog_cc_works = no; then
-  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 77; }
-fi
-echo $ac_n "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler... $ac_c" 1>&6
-echo "configure:1302: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" 1>&5
-echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
-cross_compiling=$ac_cv_prog_cc_cross
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_extecho "configure:1552: checking whether we are cross compiling" >&5
+echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
+echo "configure:1554: result: $cross_compiling" >&5
+echo "${ECHO_T}$cross_compiling" >&6
 
-echo $ac_n "checking whether we are using GNU C... $ac_c" 1>&6
-echo "configure:1307: checking whether we are using GNU C" 1>&5
+echo "configure:1557: checking whether we are using GNU C" >&5
+echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
 if test "${ac_cv_prog_gcc+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.c <<EOF
+  # The semicolon is to pacify NeXT's syntax-checking cpp.
+cat >conftest.$ac_ext <<_ACEOF
 #ifdef __GNUC__
   yes;
 #endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+_ACEOF
+if { ac_try='${CC-cc} -E conftest.$ac_ext'; { (eval echo configure:1568: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }; } | grep yes >/dev/null; then
   ac_cv_prog_gcc=yes
 else
   ac_cv_prog_gcc=no
 fi
 fi
-echo "$ac_t""$ac_cv_prog_gcc" 1>&6
-
-if test $ac_cv_prog_gcc = yes; then
+echo "configure:1574: result: $ac_cv_prog_gcc" >&5
+echo "${ECHO_T}$ac_cv_prog_gcc" >&6
+ac_gnu_compiler=$ac_cv_prog_gcc
+if test $ac_gnu_compiler = yes; then
   GCC=yes
 else
   GCC=
 fi
-
-ac_test_CFLAGS="${CFLAGS+set}"
-ac_save_CFLAGS="$CFLAGS"
+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:1334: checking whether ${CC-cc} accepts -g" 1>&5
+echo "configure:1585: checking whether ${CC-cc} accepts -g" >&5
+echo $ECHO_N "checking whether ${CC-cc} accepts -g... $ECHO_C" >&6
 if test "${ac_cv_prog_cc_g+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  echo 'void f(){}' >conftest.c
-if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
-  ac_cv_prog_cc_g=yes
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
+  cat >conftest.$ac_ext <<_ACEOF
+#line 1591 "configure"
+#include "confdefs.h"
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ${CC-cc} -g -c conftest.$ac_ext 2>&1 | grep . >/dev/null; then
   ac_cv_prog_cc_g=no
+else
+  ac_cv_prog_cc_g=yes
 fi
 rm -f conftest*
 
 fi
-echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
+echo "configure:1610: result: $ac_cv_prog_cc_g" >&5
+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 if test "$ac_test_CFLAGS" = set; then
-  CFLAGS="$ac_save_CFLAGS"
+  CFLAGS=$ac_save_CFLAGS
 elif test $ac_cv_prog_cc_g = yes; then
   if test "$GCC" = yes; then
     CFLAGS="-g -O2"
@@ -1359,72 +1624,246 @@ else
     CFLAGS=
   fi
 fi
+echo "configure:1627: checking for Cygwin environment" >&5
+echo $ECHO_N "checking for Cygwin environment... $ECHO_C" >&6
+if test "${ac_cv_cygwin+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line 1633 "configure"
+#include "confdefs.h"
+
+int
+main ()
+{
+#ifndef __CYGWIN__
+# define __CYGWIN__ __CYGWIN32__
+#endif
+return __CYGWIN__;
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:1647: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_cv_cygwin=yes
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_cv_cygwin=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+fi
+echo "configure:1656: result: $ac_cv_cygwin" >&5
+echo "${ECHO_T}$ac_cv_cygwin" >&6
+test "$ac_cv_cygwin" = yes && CYGWIN=yes
+echo "configure:1659: checking for mingw32 environment" >&5
+echo $ECHO_N "checking for mingw32 environment... $ECHO_C" >&6
+if test "${ac_cv_mingw32+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line 1665 "configure"
+#include "confdefs.h"
+
+int
+main ()
+{
+return __MINGW32__;
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:1676: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_cv_mingw32=yes
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_cv_mingw32=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+fi
+echo "configure:1685: result: $ac_cv_mingw32" >&5
+echo "${ECHO_T}$ac_cv_mingw32" >&6
+test "$ac_cv_mingw32" = yes && MINGW32=yes
+echo "configure:1688: checking for EMX OS/2 environment" >&5
+echo $ECHO_N "checking for EMX OS/2 environment... $ECHO_C" >&6
+if test "${ac_cv_emxos2+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line 1694 "configure"
+#include "confdefs.h"
+
+int
+main ()
+{
+return __EMX__;
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:1705: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_cv_emxos2=yes
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_cv_emxos2=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+fi
+echo "configure:1714: result: $ac_cv_emxos2" >&5
+echo "${ECHO_T}$ac_cv_emxos2" >&6
+test "$ac_cv_emxos2" = yes && EMXOS2=yes
+echo "configure:1717: checking for executable suffix" >&5
+echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
+if test "${ac_cv_exeext+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then
+  ac_cv_exeext=.exe
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line 1726 "configure"
+#include "confdefs.h"
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:1737: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+  for ac_file in conftest.*; do
+     case $ac_file in
+       *.$ac_ext | *.o | *.obj | *.xcoff) ;;
+       *) ac_cv_exeext=`echo $ac_file | sed s/conftest//` ;;
+     esac
+   done
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  { echo "configure: error: cannot compile and link" >&2; exit 1; }
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+  test -n "$ac_cv_exeext" && ac_cv_exeext=no
+fi
+fi
+echo "configure:1753: result: $ac_cv_exeext" >&5
+echo "${ECHO_T}$ac_cv_exeext" >&6
+EXEEXT=
+test "$ac_cv_exeext" != no && EXEEXT=$ac_cv_exeext
+ac_exeext=$EXEEXT
+
+echo "configure:1759: checking for object suffix" >&5
+echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
+if test "${ac_cv_objext+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line 1765 "configure"
+#include "confdefs.h"
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:1776: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  for ac_file in conftest.*; do
+    case $ac_file in
+      *.$ac_ext) ;;
+      *) ac_cv_objext=`echo $ac_file | sed s/conftest.//` ;;
+    esac
+  done
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  { echo "configure: error: cannot compile" >&2; exit 1; }
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+fi
+echo "configure:1790: result: $ac_cv_objext" >&5
+echo "${ECHO_T}$ac_cv_objext" >&6
+OBJEXT=$ac_cv_objext
+ac_objext=$ac_cv_objext
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='${CC-cc} -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_gnu_compiler=$ac_cv_prog_gcc
+
+ac_config_commands="$ac_config_commands default-2"
 
-echo $ac_n "checking how to run the C preprocessor... $ac_c" 1>&6
-echo "configure:1365: checking how to run the C preprocessor" 1>&5
+echo "configure:1803: checking how to run the C preprocessor" >&5
+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 # On Suns, sometimes $CPP names a directory.
 if test -n "$CPP" && test -d "$CPP"; then
   CPP=
 fi
 if test -z "$CPP"; then
 if test "${ac_cv_prog_CPP+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
     # This must be in double quotes, not single quotes, because CPP may get
   # substituted into the Makefile and "${CC-cc}" will confuse make.
   CPP="${CC-cc} -E"
   # On the NeXT, cc -E runs the code through the compiler's parser,
   # not just through cpp.
-  cat >conftest.$ac_ext <<EOF
-#line 1380 "configure"
+  # Use a header file that comes with gcc, so configuring glibc
+  # with a fresh cross-compiler works.
+  cat >conftest.$ac_ext <<_ACEOF
+#line 1821 "configure"
 #include "confdefs.h"
 #include <assert.h>
 Syntax Error
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:1827: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.$ac_ext\$"`
 if test -z "$ac_err"; then
   :
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   CPP="${CC-cc} -E -traditional-cpp"
-  cat >conftest.$ac_ext <<EOF
-#line 1397 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 1837 "configure"
 #include "confdefs.h"
 #include <assert.h>
 Syntax Error
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:1843: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.$ac_ext\$"`
 if test -z "$ac_err"; then
   :
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   CPP="${CC-cc} -nologo -E"
-  cat >conftest.$ac_ext <<EOF
-#line 1414 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 1853 "configure"
 #include "confdefs.h"
 #include <assert.h>
 Syntax Error
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1420: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:1859: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.$ac_ext\$"`
 if test -z "$ac_err"; then
   :
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   CPP=/lib/cpp
 fi
 rm -f conftest*
@@ -1432,22 +1871,23 @@ fi
 rm -f conftest*
 fi
 rm -f conftest*
-  ac_cv_prog_CPP="$CPP"
+  ac_cv_prog_CPP=$CPP
 fi
-  CPP="$ac_cv_prog_CPP"
+  CPP=$ac_cv_prog_CPP
 else
-  ac_cv_prog_CPP="$CPP"
+  ac_cv_prog_CPP=$CPP
 fi
-echo "$ac_t""$CPP" 1>&6
+echo "configure:1880: result: $CPP" >&5
+echo "${ECHO_T}$CPP" >&6
 
 depcc="$CC"
 depcpp="$CPP"
-echo $ac_n "checking dependency style of $depcc... $ac_c" 1>&6
-echo "configure:1447: checking dependency style of $depcc" 1>&5
+echo "configure:1885: checking dependency style of $depcc" >&5
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  
+
 if test -z "$AMDEP"; then
   echo '#include "conftest.h"' > conftest.c
   echo 'int i;' > conftest.h
@@ -1466,10 +1906,13 @@ if test -z "$AMDEP"; then
       ;;
     none) break ;;
     esac
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
+    # mode.  It turns out that the SunPro C++ compiler does not properly
+    # handle `-M -o', and we need to detect this.
     if depmode="$depmode" \
        source=conftest.c object=conftest.o \
        depfile=conftest.Po tmpdepfile=conftest.TPo \
-       $SHELL $am_depcomp $depcc -c conftest.c 2>/dev/null &&
+       $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o 2>/dev/null &&
        grep conftest.h conftest.Po > /dev/null 2>&1; then
       am_cv_CC_dependencies_compiler_type="$depmode"
       break
 
 fi
 
-echo "$ac_t""$am_cv_CC_dependencies_compiler_type" 1>&6
+echo "configure:1929: result: $am_cv_CC_dependencies_compiler_type" >&5
+echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
 
-echo $ac_n "checking how to run the C preprocessor... $ac_c" 1>&6
-echo "configure:1491: checking how to run the C preprocessor" 1>&5
-# On Suns, sometimes $CPP names a directory.
-if test -n "$CPP" && test -d "$CPP"; then
-  CPP=
-fi
-if test -z "$CPP"; then
-if test "${ac_cv_prog_CPP+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-    # This must be in double quotes, not single quotes, because CPP may get
-  # substituted into the Makefile and "${CC-cc}" will confuse make.
-  CPP="${CC-cc} -E"
-  # On the NeXT, cc -E runs the code through the compiler's parser,
-  # not just through cpp.
-  cat >conftest.$ac_ext <<EOF
-#line 1506 "configure"
-#include "confdefs.h"
-#include <assert.h>
-Syntax Error
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1512: \"$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
-  :
+echo "configure:1933: checking for ${CC-cc} option to accept ANSI C" >&5
+echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
+if test "${ac_cv_prog_cc_stdc+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  echo "$ac_err" >&5
-  echo "configure: failed program was:" >&5
-  cat conftest.$ac_ext >&5
-  rm -rf conftest*
-  CPP="${CC-cc} -E -traditional-cpp"
-  cat >conftest.$ac_ext <<EOF
-#line 1523 "configure"
+  ac_cv_prog_cc_stdc=no
+ac_save_CC=$CC
+# Don't try gcc -ansi; that turns off useful extensions and
+# breaks some systems' header files.
+# AIX                  -qlanglvl=ansi
+# Ultrix and OSF/1     -std1
+# HP-UX 10.20 and later        -Ae
+# HP-UX older versions -Aa -D_HPUX_SOURCE
+# SVR4                 -Xc -D__EXTENSIONS__
+for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+  CC="$ac_save_CC $ac_arg"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 1951 "configure"
 #include "confdefs.h"
-#include <assert.h>
-Syntax Error
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1529: \"$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
-  :
-else
-  echo "$ac_err" >&5
-  echo "configure: failed program was:" >&5
+#include <stdarg.h>
+#include <stdio.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+     char **p;
+     int i;
+{
+  return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+  char *s;
+  va_list v;
+  va_start (v,p);
+  s = g (p, va_arg (v,int));
+  va_end (v);
+  return s;
+}
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:1989: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_cv_prog_cc_stdc=$ac_arg; break
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+done
+CC=$ac_save_CC
+
+fi
+
+case "x$ac_cv_prog_cc_stdc" in
+  x|xno)
+    echo "configure:2004: result: none needed" >&5
+echo "${ECHO_T}none needed" >&6 ;;
+  *)
+    echo "configure:2007: result: $ac_cv_prog_cc_stdc" >&5
+echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
+    CC="$CC $ac_cv_prog_cc_stdc" ;;
+esac
+
+echo "configure:2012: checking how to run the C preprocessor" >&5
+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+  CPP=
+fi
+if test -z "$CPP"; then
+if test "${ac_cv_prog_CPP+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+    # This must be in double quotes, not single quotes, because CPP may get
+  # substituted into the Makefile and "${CC-cc}" will confuse make.
+  CPP="${CC-cc} -E"
+  # On the NeXT, cc -E runs the code through the compiler's parser,
+  # not just through cpp.
+  # Use a header file that comes with gcc, so configuring glibc
+  # with a fresh cross-compiler works.
+  cat >conftest.$ac_ext <<_ACEOF
+#line 2030 "configure"
+#include "confdefs.h"
+#include <assert.h>
+Syntax Error
+_ACEOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:2036: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.$ac_ext\$"`
+if test -z "$ac_err"; then
+  :
+else
+  echo "$ac_err" >&5
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  CPP="${CC-cc} -E -traditional-cpp"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 2046 "configure"
+#include "confdefs.h"
+#include <assert.h>
+Syntax Error
+_ACEOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:2052: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.$ac_ext\$"`
+if test -z "$ac_err"; then
+  :
+else
+  echo "$ac_err" >&5
+  echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   CPP="${CC-cc} -nologo -E"
-  cat >conftest.$ac_ext <<EOF
-#line 1540 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 2062 "configure"
 #include "confdefs.h"
 #include <assert.h>
 Syntax Error
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1546: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:2068: \"$ac_try\") >&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.$ac_ext\$"`
 if test -z "$ac_err"; then
   :
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   CPP=/lib/cpp
 fi
 rm -f conftest*
@@ -1558,13 +2080,14 @@ fi
 rm -f conftest*
 fi
 rm -f conftest*
-  ac_cv_prog_CPP="$CPP"
+  ac_cv_prog_CPP=$CPP
 fi
-  CPP="$ac_cv_prog_CPP"
+  CPP=$ac_cv_prog_CPP
 else
-  ac_cv_prog_CPP="$CPP"
+  ac_cv_prog_CPP=$CPP
 fi
-echo "$ac_t""$CPP" 1>&6
+echo "configure:2089: result: $CPP" >&5
+echo "${ECHO_T}$CPP" >&6
 
 case "$target" in
  *-pc-cygwin*)
@@ -1593,7 +2116,7 @@ case "$host" in
      *-*-vxworks*)
        # Quick and dirty sanity check
        case "$VX_KERNEL" in
-        '') { echo "configure: error: Please follow the directions in html/vxworks.html!" 1>&2; exit 1; }
+        '') { echo "configure: error: Please follow the directions in html/vxworks.html!" >&2; exit 1; }
            ;;
        esac
         CFLAGS="$CFLAGS -DSYS_VXWORKS"
@@ -1606,41 +2129,45 @@ for ac_prog in mawk gawk nawk awk
 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:1611: checking for $ac_word" 1>&5
+echo "configure:2132: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_AWK+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   if test -n "$AWK"; then
   ac_cv_prog_AWK="$AWK" # Let the user override the test.
 else
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
-  ac_dummy="$PATH"
-  for ac_dir in $ac_dummy; do
-    test -z "$ac_dir" && ac_dir=.
-    if test -f $ac_dir/$ac_word; then
-      ac_cv_prog_AWK="$ac_prog"
-      break
-    fi
-  done
-  IFS="$ac_save_ifs"
+
+  ac_save_IFS=$IFS; IFS=':'
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+  IFS=$ac_save_IFS
+  test -z "$ac_dir" && ac_dir=.
+  test -f $ac_dir/$ac_word || continue
+
+ac_cv_prog_AWK="$ac_prog"
+break
+done
+
 fi
 fi
-AWK="$ac_cv_prog_AWK"
+AWK=$ac_cv_prog_AWK
 if test -n "$AWK"; then
-  echo "$ac_t""$AWK" 1>&6
+  echo "configure:2156: result: $AWK" >&5
+echo "${ECHO_T}$AWK" >&6
 else
-  echo "$ac_t""no" 1>&6
+  echo "configure:2159: result: no" >&5
+echo "${ECHO_T}no" >&6
 fi
 
 test -n "$AWK" && break
 done
 
-echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}... $ac_c" 1>&6
-echo "configure:1641: checking whether ${MAKE-make} sets \${MAKE}" 1>&5
-set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
+echo "configure:2166: checking whether ${MAKE-make} sets \${MAKE}" >&5
+echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
+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
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   cat >conftestmake <<\EOF
 all:
@@ -1656,10 +2183,12 @@ fi
 rm -f conftestmake
 fi
 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
-  echo "$ac_t""yes" 1>&6
+  echo "configure:2186: result: yes" >&5
+echo "${ECHO_T}yes" >&6
   SET_MAKE=
 else
-  echo "$ac_t""no" 1>&6
+  echo "configure:2190: result: no" >&5
+echo "${ECHO_T}no" >&6
   SET_MAKE="MAKE=${MAKE-make}"
 fi
 
@@ -1677,10 +2206,10 @@ case "$GCC" in
     # CFLAGS="$CFLAGS -Wcast-align"
     CFLAGS="$CFLAGS -Wstrict-prototypes"
 
-    echo $ac_n "checking whether ${CC-cc} -pipe works... $ac_c" 1>&6
-echo "configure:1682: checking whether ${CC-cc} -pipe works" 1>&5
+    echo "configure:2209: checking whether ${CC-cc} -pipe works" >&5
+echo $ECHO_N "checking whether ${CC-cc} -pipe works... $ECHO_C" >&6
 if test "${ac_cv_prog_cc_pipe+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   echo 'void f(){}' > conftest.c
     if test -z "`${CC-cc} -pipe -c conftest.c 2>&1`" -a -s conftest.o; then
@@ -1689,9 +2218,10 @@ else
       ac_cv_prog_cc_pipe=no
     fi
     rm -f conftest*
-    
+
 fi
-echo "$ac_t""$ac_cv_prog_cc_pipe" 1>&6
+echo "configure:2223: result: $ac_cv_prog_cc_pipe" >&5
+echo "${ECHO_T}$ac_cv_prog_cc_pipe" >&6
 
     case "$ac_cv_prog_cc_pipe" in
      yes)
@@ -1740,130 +2270,129 @@ case "$ac_busted_vpath_in_make$srcdir" in
  yes.) ;;
  *) case "`${MAKE-make} -v -f /dev/null 2>/dev/null | sed -e 's/GNU Make version \(1-9.]*\).*/\1/' -e q`" in
      '')
-       { echo "configure: error: building outside of the main directory requires GNU make" 1>&2; exit 1; }
+       { echo "configure: error: building outside of the main directory requires GNU make" >&2; exit 1; }
        ;;
      *) ;;
     esac
     ;;
 esac
 
-echo $ac_n "checking whether ln -s works... $ac_c" 1>&6
-echo "configure:1752: checking whether ln -s works" 1>&5
+echo "configure:2280: checking whether ln -s works" >&5
+echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 if test "${ac_cv_prog_LN_S+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  rm -f conftestdata
-if ln -s X conftestdata 2>/dev/null
-then
-  rm -f conftestdata
+  rm -f conftest.sym conftest.file
+echo >conftest.file
+if ln -s conftest.file conftest.sym 2>/dev/null; then
   ac_cv_prog_LN_S="ln -s"
 else
   ac_cv_prog_LN_S=ln
 fi
 fi
-LN_S="$ac_cv_prog_LN_S"
+LN_S=$ac_cv_prog_LN_S
 if test "$ac_cv_prog_LN_S" = "ln -s"; then
-  echo "$ac_t""yes" 1>&6
+  echo "configure:2295: result: yes" >&5
+echo "${ECHO_T}yes" >&6
 else
-  echo "$ac_t""no" 1>&6
+  echo "configure:2298: result: no" >&5
+echo "${ECHO_T}no" >&6
 fi
 
 if test $ac_cv_prog_gcc = yes; then
-    echo $ac_n "checking whether ${CC-cc} needs -traditional... $ac_c" 1>&6
-echo "configure:1774: checking whether ${CC-cc} needs -traditional" 1>&5
+    echo "configure:2303: checking whether ${CC-cc} needs -traditional" >&5
+echo $ECHO_N "checking whether ${CC-cc} needs -traditional... $ECHO_C" >&6
 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
     ac_pattern="Autoconf.*'x'"
-  cat >conftest.$ac_ext <<EOF
-#line 1780 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 2310 "configure"
 #include "confdefs.h"
 #include <sgtty.h>
 Autoconf TIOCGETP
-EOF
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "$ac_pattern" >/dev/null 2>&1; then
-  rm -rf conftest*
   ac_cv_prog_gcc_traditional=yes
 else
-  rm -rf conftest*
   ac_cv_prog_gcc_traditional=no
 fi
 rm -f conftest*
 
   if test $ac_cv_prog_gcc_traditional = no; then
-    cat >conftest.$ac_ext <<EOF
-#line 1797 "configure"
+    cat >conftest.$ac_ext <<_ACEOF
+#line 2325 "configure"
 #include "confdefs.h"
 #include <termio.h>
 Autoconf TCGETA
-EOF
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "$ac_pattern" >/dev/null 2>&1; then
-  rm -rf conftest*
   ac_cv_prog_gcc_traditional=yes
+
 fi
 rm -f conftest*
 
   fi
 fi
-echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
+echo "configure:2339: result: $ac_cv_prog_gcc_traditional" >&5
+echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
   if test $ac_cv_prog_gcc_traditional = yes; then
     CC="$CC -traditional"
   fi
 fi
 
-echo $ac_n "checking for AIX... $ac_c" 1>&6
-echo "configure:1818: checking for AIX" 1>&5
-cat >conftest.$ac_ext <<EOF
-#line 1820 "configure"
+echo "configure:2346: checking for AIX" >&5
+echo $ECHO_N "checking for AIX... $ECHO_C" >&6
+cat >conftest.$ac_ext <<_ACEOF
+#line 2349 "configure"
 #include "confdefs.h"
 #ifdef _AIX
   yes
 #endif
 
-EOF
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "yes" >/dev/null 2>&1; then
-  rm -rf conftest*
-  echo "$ac_t""yes" 1>&6
+  echo "configure:2358: result: yes" >&5
+echo "${ECHO_T}yes" >&6
 cat >>confdefs.h <<\EOF
 #define _ALL_SOURCE 1
 EOF
 
 else
-  rm -rf conftest*
-  echo "$ac_t""no" 1>&6
+  echo "configure:2365: result: no" >&5
+echo "${ECHO_T}no" >&6
 fi
 rm -f conftest*
 
-echo $ac_n "checking for minix/config.h... $ac_c" 1>&6
-echo "configure:1842: checking for minix/config.h" 1>&5
+echo "configure:2370: checking for minix/config.h" >&5
+echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
 if test "${ac_cv_header_minix_config_h+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 1847 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 2376 "configure"
 #include "confdefs.h"
 #include <minix/config.h>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:2382: \"$ac_try\") >&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*
   ac_cv_header_minix_config_h=yes
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_header_minix_config_h=no
 fi
 rm -f conftest*
 fi
-echo "$ac_t""$ac_cv_header_minix_config_h" 1>&6
+echo "configure:2394: result: $ac_cv_header_minix_config_h" >&5
+echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
 if test $ac_cv_header_minix_config_h = yes; then
   MINIX=yes
 else
@@ -1871,28 +2400,31 @@ else
 fi
 
 if test "$MINIX" = yes; then
-  cat >>confdefs.h <<\EOF
+
+cat >>confdefs.h <<\EOF
 #define _POSIX_SOURCE 1
 EOF
 
-  cat >>confdefs.h <<\EOF
+cat >>confdefs.h <<\EOF
 #define _POSIX_1_SOURCE 2
 EOF
 
-  cat >>confdefs.h <<\EOF
+cat >>confdefs.h <<\EOF
 #define _MINIX 1
 EOF
 
 fi
 
-echo $ac_n "checking for POSIXized ISC... $ac_c" 1>&6
-echo "configure:1890: checking for POSIXized ISC" 1>&5
+echo "configure:2418: checking for POSIXized ISC" >&5
+echo $ECHO_N "checking for POSIXized ISC... $ECHO_C" >&6
 if test -d /etc/conf/kconfig.d &&
    grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
 then
-  echo "$ac_t""yes" 1>&6
+  echo "configure:2423: result: yes" >&5
+echo "${ECHO_T}yes" >&6
   ISC=yes # If later tests want to check for ISC.
-  cat >>confdefs.h <<\EOF
+
+cat >>confdefs.h <<\EOF
 #define _POSIX_SOURCE 1
 EOF
 
@@ -1902,137 +2434,185 @@ EOF
     CC="$CC -Xp"
   fi
 else
-  echo "$ac_t""no" 1>&6
+  echo "configure:2437: result: no" >&5
+echo "${ECHO_T}no" >&6
   ISC=
 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:1913: checking for $ac_word" 1>&5
+# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+echo "configure:2444: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_RANLIB+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   if test -n "$RANLIB"; then
   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 else
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
-  ac_dummy="$PATH"
-  for ac_dir in $ac_dummy; do
-    test -z "$ac_dir" && ac_dir=.
-    if test -f $ac_dir/$ac_word; then
-      ac_cv_prog_RANLIB="ranlib"
-      break
-    fi
-  done
-  IFS="$ac_save_ifs"
-  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
+
+  ac_save_IFS=$IFS; IFS=':'
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+  IFS=$ac_save_IFS
+  test -z "$ac_dir" && ac_dir=.
+  test -f $ac_dir/$ac_word || continue
+
+ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+break
+done
+
 fi
 fi
-RANLIB="$ac_cv_prog_RANLIB"
+RANLIB=$ac_cv_prog_RANLIB
 if test -n "$RANLIB"; then
-  echo "$ac_t""$RANLIB" 1>&6
+  echo "configure:2468: result: $RANLIB" >&5
+echo "${ECHO_T}$RANLIB" >&6
+else
+  echo "configure:2471: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+if test -z "$ac_cv_prog_RANLIB"; then
+  if test -n "$ac_tool_prefix"; then
+    # Extract the first word of "ranlib", so it can be a program name with args.
+set dummy ranlib; ac_word=$2
+echo "configure:2479: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$ac_ct_RANLIB"; then
+  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 else
-  echo "$ac_t""no" 1>&6
+
+  ac_save_IFS=$IFS; IFS=':'
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+  IFS=$ac_save_IFS
+  test -z "$ac_dir" && ac_dir=.
+  test -f $ac_dir/$ac_word || continue
+
+ac_cv_prog_ac_ct_RANLIB="ranlib"
+break
+done
+
+  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
+fi
+fi
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+if test -n "$ac_ct_RANLIB"; then
+  echo "configure:2504: result: $ac_ct_RANLIB" >&5
+echo "${ECHO_T}$ac_ct_RANLIB" >&6
+else
+  echo "configure:2507: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+    RANLIB="$ac_ct_RANLIB"
+  else
+    RANLIB=":"
+  fi
 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:1943: checking for $ac_word" 1>&5
+echo "configure:2519: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_path_PATH_SH+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  case "$PATH_SH" in
-  /* | ?:/*)
+  case $PATH_SH in
+  [\\/]* | ?:[\\/]*)
   ac_cv_path_PATH_SH="$PATH_SH" # Let the user override the test with a path.
   ;;
   *)
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
-  ac_dummy="$PATH"
-  for ac_dir in $ac_dummy; do
-    test -z "$ac_dir" && ac_dir=.
-    if test -f "$ac_dir/$ac_word"; then
-      ac_cv_path_PATH_SH="$ac_dir/$ac_word"
-      break
-    fi
-  done
-  IFS="$ac_save_ifs"
+  ac_save_IFS=$IFS; IFS=':'
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+  IFS=$ac_save_IFS
+  test -z "$ac_dir" && ac_dir=.
+  if test -f "$ac_dir/$ac_word"; then
+   ac_cv_path_PATH_SH=$ac_dir/$ac_word
+   break
+fi
+done
+
   ;;
 esac
 fi
-PATH_SH="$ac_cv_path_PATH_SH"
+PATH_SH=$ac_cv_path_PATH_SH
 if test -n "$PATH_SH"; then
-  echo "$ac_t""$PATH_SH" 1>&6
+  echo "configure:2545: result: $PATH_SH" >&5
+echo "${ECHO_T}$PATH_SH" >&6
 else
-  echo "$ac_t""no" 1>&6
+  echo "configure:2548: result: no" >&5
+echo "${ECHO_T}no" >&6
 fi
 
 # Extract the first word of "perl", so it can be a program name with args.
 set dummy perl; ac_word=$2
-echo $ac_n "checking for $ac_word... $ac_c" 1>&6
-echo "configure:1975: checking for $ac_word" 1>&5
+echo "configure:2554: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_path_PATH_PERL+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  case "$PATH_PERL" in
-  /* | ?:/*)
+  case $PATH_PERL in
+  [\\/]* | ?:[\\/]*)
   ac_cv_path_PATH_PERL="$PATH_PERL" # Let the user override the test with a path.
   ;;
   *)
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
-  ac_dummy="$PATH"
-  for ac_dir in $ac_dummy; do
-    test -z "$ac_dir" && ac_dir=.
-    if test -f "$ac_dir/$ac_word"; then
-      ac_cv_path_PATH_PERL="$ac_dir/$ac_word"
-      break
-    fi
-  done
-  IFS="$ac_save_ifs"
+  ac_save_IFS=$IFS; IFS=':'
+ac_dummy="$PATH"
+for ac_dir in $ac_dummy; do
+  IFS=$ac_save_IFS
+  test -z "$ac_dir" && ac_dir=.
+  if test -f "$ac_dir/$ac_word"; then
+   ac_cv_path_PATH_PERL=$ac_dir/$ac_word
+   break
+fi
+done
+
   ;;
 esac
 fi
-PATH_PERL="$ac_cv_path_PATH_PERL"
+PATH_PERL=$ac_cv_path_PATH_PERL
 if test -n "$PATH_PERL"; then
-  echo "$ac_t""$PATH_PERL" 1>&6
+  echo "configure:2580: result: $PATH_PERL" >&5
+echo "${ECHO_T}$PATH_PERL" >&6
 else
-  echo "$ac_t""no" 1>&6
+  echo "configure:2583: result: no" >&5
+echo "${ECHO_T}no" >&6
 fi
 
- cat >conftest.$ac_ext <<EOF
-#line 2005 "configure"
+ cat >conftest.$ac_ext <<_ACEOF
+#line 2588 "configure"
 #include "confdefs.h"
 #define ACAT(a,b)a ## b
 ACAT(Cir,cus)
 
-EOF
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "Circus" >/dev/null 2>&1; then
-  rm -rf conftest*
   cat >>confdefs.h <<\EOF
 #define ULONG_CONST(a) a ## UL
 EOF
 
 else
-  rm -rf conftest*
-  cat >conftest.$ac_ext <<EOF
-#line 2021 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 2602 "configure"
 #include "confdefs.h"
 #define RCAT(a,b)a/**/b
 RCAT(Rei,ser)
 
-EOF
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "Reiser" >/dev/null 2>&1; then
-  rm -rf conftest*
   cat >>confdefs.h <<\EOF
 #define ULONG_CONST(a) a/**/L
 EOF
 
 else
-  rm -rf conftest*
-  { echo "configure: error: How do we create an unsigned long constant?" 1>&2; exit 1; }
+  { echo "configure: error: How do we create an unsigned long constant?" >&2; exit 1; }
 fi
 rm -f conftest*
 
@@ -2056,16 +2636,16 @@ esac
 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 # 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:2061: checking for a BSD compatible install" 1>&5
+echo "configure:2639: checking for a BSD compatible install" >&5
+echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
 if test -z "$INSTALL"; then
 if test "${ac_cv_path_install+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-    IFS="${IFS=        }"; ac_save_IFS="$IFS"; IFS=":"
+    ac_save_IFS=$IFS; IFS=':'
   for ac_dir in $PATH; do
     # Account for people who put trailing slashes in PATH elements.
-    case "$ac_dir/" in
+    case $ac_dir/ in
     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
     *)
       # OSF1 and SCO ODT 3.0 have their own names for install.
@@ -2090,20 +2670,21 @@ else
       ;;
     esac
   done
-  IFS="$ac_save_IFS"
+  IFS=$ac_save_IFS
 
 fi
   if test "${ac_cv_path_install+set}" = set; then
-    INSTALL="$ac_cv_path_install"
+    INSTALL=$ac_cv_path_install
   else
     # As a last resort, use the slow shell script.  We don't cache a
     # path for INSTALL within a source directory, because that will
     # break other packages using the cache if that directory is
     # removed, or if the path is relative.
-    INSTALL="$ac_install_sh"
+    INSTALL=$ac_install_sh
   fi
 fi
-echo "$ac_t""$INSTALL" 1>&6
+echo "configure:2686: result: $INSTALL" >&5
+echo "${ECHO_T}$INSTALL" >&6
 
 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 # It thinks the first close brace ends the variable substitution.
@@ -2115,39 +2696,38 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
 case "$target" in
  *-pc-cygwin*)
-    echo $ac_n "checking for main in -ladvapi32... $ac_c" 1>&6
-echo "configure:2120: checking for main in -ladvapi32" 1>&5
+
+echo "configure:2700: checking for main in -ladvapi32" >&5
+echo $ECHO_N "checking for main in -ladvapi32... $ECHO_C" >&6
 if test "${ac_cv_lib_advapi32_main+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  ac_save_LIBS="$LIBS"
+  ac_check_lib_save_LIBS=$LIBS
 LIBS="-ladvapi32  $LIBS"
-cat >conftest.$ac_ext <<EOF
-#line 2127 "configure"
+cat >conftest.$ac_ext <<_ACEOF
+#line 2708 "configure"
 #include "confdefs.h"
 
 int
-main()
+main ()
 {
-main()
+main ();
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:2138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:2719: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   ac_cv_lib_advapi32_main=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_lib_advapi32_main=no
 fi
-rm -f conftest*
-
-LIBS="$ac_save_LIBS"
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$ac_t""$ac_cv_lib_advapi32_main" 1>&6
+echo "configure:2729: result: $ac_cv_lib_advapi32_main" >&5
+echo "${ECHO_T}$ac_cv_lib_advapi32_main" >&6
 if test $ac_cv_lib_advapi32_main = yes; then
   cat >>confdefs.h <<EOF
 #define HAVE_LIBADVAPI32 1
@@ -2159,43 +2739,45 @@ fi
 
     ;;
 esac
-echo $ac_n "checking for nlist in -lelf... $ac_c" 1>&6
-echo "configure:2164: checking for nlist in -lelf" 1>&5
+
+echo "configure:2743: checking for nlist in -lelf" >&5
+echo $ECHO_N "checking for nlist in -lelf... $ECHO_C" >&6
 if test "${ac_cv_lib_elf_nlist+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  ac_save_LIBS="$LIBS"
+  ac_check_lib_save_LIBS=$LIBS
 LIBS="-lelf  $LIBS"
-cat >conftest.$ac_ext <<EOF
-#line 2171 "configure"
+cat >conftest.$ac_ext <<_ACEOF
+#line 2751 "configure"
 #include "confdefs.h"
+
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char nlist();
-
+   builtin and then its argument prototype would still apply.  */
+char nlist ();
 int
-main()
+main ()
 {
-nlist()
+nlist ();
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:2186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:2769: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   ac_cv_lib_elf_nlist=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_lib_elf_nlist=no
 fi
-rm -f conftest*
-
-LIBS="$ac_save_LIBS"
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$ac_t""$ac_cv_lib_elf_nlist" 1>&6
+echo "configure:2779: result: $ac_cv_lib_elf_nlist" >&5
+echo "${ECHO_T}$ac_cv_lib_elf_nlist" >&6
 if test $ac_cv_lib_elf_nlist = yes; then
   cat >>confdefs.h <<EOF
 #define HAVE_LIBELF 1
@@ -2205,39 +2787,37 @@ EOF
 
 fi
 
-echo $ac_n "checking for main in -lkvm... $ac_c" 1>&6
-echo "configure:2210: checking for main in -lkvm" 1>&5
+echo "configure:2790: checking for main in -lkvm" >&5
+echo $ECHO_N "checking for main in -lkvm... $ECHO_C" >&6
 if test "${ac_cv_lib_kvm_main+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  ac_save_LIBS="$LIBS"
+  ac_check_lib_save_LIBS=$LIBS
 LIBS="-lkvm  $LIBS"
-cat >conftest.$ac_ext <<EOF
-#line 2217 "configure"
+cat >conftest.$ac_ext <<_ACEOF
+#line 2798 "configure"
 #include "confdefs.h"
 
 int
-main()
+main ()
 {
-main()
+main ();
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:2228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:2809: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   ac_cv_lib_kvm_main=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_lib_kvm_main=no
 fi
-rm -f conftest*
-
-LIBS="$ac_save_LIBS"
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$ac_t""$ac_cv_lib_kvm_main" 1>&6
+echo "configure:2819: result: $ac_cv_lib_kvm_main" >&5
+echo "${ECHO_T}$ac_cv_lib_kvm_main" >&6
 if test $ac_cv_lib_kvm_main = yes; then
   cat >>confdefs.h <<EOF
 #define HAVE_LIBKVM 1
@@ -2246,43 +2826,46 @@ EOF
   LIBS="-lkvm $LIBS"
 
 fi
-               echo $ac_n "checking for nlist in -lld... $ac_c" 1>&6
-echo "configure:2251: checking for nlist in -lld" 1>&5
+               
+
+echo "configure:2831: checking for nlist in -lld" >&5
+echo $ECHO_N "checking for nlist in -lld... $ECHO_C" >&6
 if test "${ac_cv_lib_ld_nlist+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  ac_save_LIBS="$LIBS"
+  ac_check_lib_save_LIBS=$LIBS
 LIBS="-lld  $LIBS"
-cat >conftest.$ac_ext <<EOF
-#line 2258 "configure"
+cat >conftest.$ac_ext <<_ACEOF
+#line 2839 "configure"
 #include "confdefs.h"
+
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char nlist();
-
+   builtin and then its argument prototype would still apply.  */
+char nlist ();
 int
-main()
+main ()
 {
-nlist()
+nlist ();
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:2273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:2857: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   ac_cv_lib_ld_nlist=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_lib_ld_nlist=no
 fi
-rm -f conftest*
-
-LIBS="$ac_save_LIBS"
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$ac_t""$ac_cv_lib_ld_nlist" 1>&6
+echo "configure:2867: result: $ac_cv_lib_ld_nlist" >&5
+echo "${ECHO_T}$ac_cv_lib_ld_nlist" >&6
 if test $ac_cv_lib_ld_nlist = yes; then
   cat >>confdefs.h <<EOF
 #define HAVE_LIBLD 1
@@ -2292,43 +2875,44 @@ EOF
 
 fi
 
-echo $ac_n "checking for nlist in -lmld... $ac_c" 1>&6
-echo "configure:2297: checking for nlist in -lmld" 1>&5
+echo "configure:2878: checking for nlist in -lmld" >&5
+echo $ECHO_N "checking for nlist in -lmld... $ECHO_C" >&6
 if test "${ac_cv_lib_mld_nlist+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  ac_save_LIBS="$LIBS"
+  ac_check_lib_save_LIBS=$LIBS
 LIBS="-lmld  $LIBS"
-cat >conftest.$ac_ext <<EOF
-#line 2304 "configure"
+cat >conftest.$ac_ext <<_ACEOF
+#line 2886 "configure"
 #include "confdefs.h"
+
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char nlist();
-
+   builtin and then its argument prototype would still apply.  */
+char nlist ();
 int
-main()
+main ()
 {
-nlist()
+nlist ();
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:2319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:2904: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   ac_cv_lib_mld_nlist=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_lib_mld_nlist=no
 fi
-rm -f conftest*
-
-LIBS="$ac_save_LIBS"
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$ac_t""$ac_cv_lib_mld_nlist" 1>&6
+echo "configure:2914: result: $ac_cv_lib_mld_nlist" >&5
+echo "${ECHO_T}$ac_cv_lib_mld_nlist" >&6
 if test $ac_cv_lib_mld_nlist = yes; then
   cat >>confdefs.h <<EOF
 #define HAVE_LIBMLD 1
@@ -2338,27 +2922,29 @@ EOF
 
 fi
 
-echo $ac_n "checking for gethostent... $ac_c" 1>&6
-echo "configure:2343: checking for gethostent" 1>&5
+echo "configure:2925: checking for gethostent" >&5
+echo $ECHO_N "checking for gethostent... $ECHO_C" >&6
 if test "${ac_cv_func_gethostent+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 2348 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 2931 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char gethostent(); below.  */
+    which can conflict with char gethostent (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char gethostent();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char gethostent ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -2371,60 +2957,60 @@ f = gethostent;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:2376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:2961: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   ac_cv_func_gethostent=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_func_gethostent=no
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_func_gethostent" 1>&6
+echo "configure:2970: result: $ac_cv_func_gethostent" >&5
+echo "${ECHO_T}$ac_cv_func_gethostent" >&6
 if test $ac_cv_func_gethostent = yes; then
   :
 else
-  echo $ac_n "checking for gethostent in -lnsl... $ac_c" 1>&6
-echo "configure:2393: checking for gethostent in -lnsl" 1>&5
+
+echo "configure:2976: checking for gethostent in -lnsl" >&5
+echo $ECHO_N "checking for gethostent in -lnsl... $ECHO_C" >&6
 if test "${ac_cv_lib_nsl_gethostent+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  ac_save_LIBS="$LIBS"
+  ac_check_lib_save_LIBS=$LIBS
 LIBS="-lnsl -lsocket $LIBS"
-cat >conftest.$ac_ext <<EOF
-#line 2400 "configure"
+cat >conftest.$ac_ext <<_ACEOF
+#line 2984 "configure"
 #include "confdefs.h"
+
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char gethostent();
-
+   builtin and then its argument prototype would still apply.  */
+char gethostent ();
 int
-main()
+main ()
 {
-gethostent()
+gethostent ();
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:2415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:3002: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   ac_cv_lib_nsl_gethostent=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_lib_nsl_gethostent=no
 fi
-rm -f conftest*
-
-LIBS="$ac_save_LIBS"
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$ac_t""$ac_cv_lib_nsl_gethostent" 1>&6
+echo "configure:3012: result: $ac_cv_lib_nsl_gethostent" >&5
+echo "${ECHO_T}$ac_cv_lib_nsl_gethostent" >&6
 if test $ac_cv_lib_nsl_gethostent = yes; then
   cat >>confdefs.h <<EOF
 #define HAVE_LIBNSL 1
@@ -2436,27 +3022,29 @@ fi
 
 fi
 
-echo $ac_n "checking for openlog... $ac_c" 1>&6
-echo "configure:2441: checking for openlog" 1>&5
+echo "configure:3025: checking for openlog" >&5
+echo $ECHO_N "checking for openlog... $ECHO_C" >&6
 if test "${ac_cv_func_openlog+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 2446 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 3031 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char openlog(); below.  */
+    which can conflict with char openlog (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char openlog();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char openlog ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -2469,60 +3057,60 @@ f = openlog;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:2474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:3061: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   ac_cv_func_openlog=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_func_openlog=no
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_func_openlog" 1>&6
+echo "configure:3070: result: $ac_cv_func_openlog" >&5
+echo "${ECHO_T}$ac_cv_func_openlog" >&6
 if test $ac_cv_func_openlog = yes; then
   :
 else
-  echo $ac_n "checking for openlog in -lgen... $ac_c" 1>&6
-echo "configure:2491: checking for openlog in -lgen" 1>&5
+
+echo "configure:3076: checking for openlog in -lgen" >&5
+echo $ECHO_N "checking for openlog in -lgen... $ECHO_C" >&6
 if test "${ac_cv_lib_gen_openlog+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  ac_save_LIBS="$LIBS"
+  ac_check_lib_save_LIBS=$LIBS
 LIBS="-lgen  $LIBS"
-cat >conftest.$ac_ext <<EOF
-#line 2498 "configure"
+cat >conftest.$ac_ext <<_ACEOF
+#line 3084 "configure"
 #include "confdefs.h"
+
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char openlog();
-
+   builtin and then its argument prototype would still apply.  */
+char openlog ();
 int
-main()
+main ()
 {
-openlog()
+openlog ();
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:2513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:3102: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   ac_cv_lib_gen_openlog=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_lib_gen_openlog=no
 fi
-rm -f conftest*
-
-LIBS="$ac_save_LIBS"
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$ac_t""$ac_cv_lib_gen_openlog" 1>&6
+echo "configure:3112: result: $ac_cv_lib_gen_openlog" >&5
+echo "${ECHO_T}$ac_cv_lib_gen_openlog" >&6
 if test $ac_cv_lib_gen_openlog = yes; then
   cat >>confdefs.h <<EOF
 #define HAVE_LIBGEN 1
@@ -2534,43 +3122,44 @@ fi
 
 fi
 
-echo $ac_n "checking for readline in -lreadline... $ac_c" 1>&6
-echo "configure:2539: checking for readline in -lreadline" 1>&5
+echo "configure:3125: checking for readline in -lreadline" >&5
+echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6
 if test "${ac_cv_lib_readline_readline+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  ac_save_LIBS="$LIBS"
+  ac_check_lib_save_LIBS=$LIBS
 LIBS="-lreadline  $LIBS"
-cat >conftest.$ac_ext <<EOF
-#line 2546 "configure"
+cat >conftest.$ac_ext <<_ACEOF
+#line 3133 "configure"
 #include "confdefs.h"
+
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char readline();
-
+   builtin and then its argument prototype would still apply.  */
+char readline ();
 int
-main()
+main ()
 {
-readline()
+readline ();
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:2561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:3151: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   ac_cv_lib_readline_readline=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_lib_readline_readline=no
 fi
-rm -f conftest*
-
-LIBS="$ac_save_LIBS"
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$ac_t""$ac_cv_lib_readline_readline" 1>&6
+echo "configure:3161: result: $ac_cv_lib_readline_readline" >&5
+echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6
 if test $ac_cv_lib_readline_readline = yes; then
   cat >>confdefs.h <<EOF
 #define HAVE_LIBREADLINE 1
@@ -2580,43 +3169,44 @@ EOF
 
 fi
 
-echo $ac_n "checking for sched_setscheduler in -lrt... $ac_c" 1>&6
-echo "configure:2585: checking for sched_setscheduler in -lrt" 1>&5
+echo "configure:3172: checking for sched_setscheduler in -lrt" >&5
+echo $ECHO_N "checking for sched_setscheduler in -lrt... $ECHO_C" >&6
 if test "${ac_cv_lib_rt_sched_setscheduler+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  ac_save_LIBS="$LIBS"
+  ac_check_lib_save_LIBS=$LIBS
 LIBS="-lrt  $LIBS"
-cat >conftest.$ac_ext <<EOF
-#line 2592 "configure"
+cat >conftest.$ac_ext <<_ACEOF
+#line 3180 "configure"
 #include "confdefs.h"
+
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char sched_setscheduler();
-
+   builtin and then its argument prototype would still apply.  */
+char sched_setscheduler ();
 int
-main()
+main ()
 {
-sched_setscheduler()
+sched_setscheduler ();
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:2607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:3198: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   ac_cv_lib_rt_sched_setscheduler=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_lib_rt_sched_setscheduler=no
 fi
-rm -f conftest*
-
-LIBS="$ac_save_LIBS"
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$ac_t""$ac_cv_lib_rt_sched_setscheduler" 1>&6
+echo "configure:3208: result: $ac_cv_lib_rt_sched_setscheduler" >&5
+echo "${ECHO_T}$ac_cv_lib_rt_sched_setscheduler" >&6
 if test $ac_cv_lib_rt_sched_setscheduler = yes; then
   cat >>confdefs.h <<EOF
 #define HAVE_LIBRT 1
@@ -2625,43 +3215,45 @@ EOF
   LIBS="-lrt $LIBS"
 
 else
-  echo $ac_n "checking for sched_setscheduler in -lposix4... $ac_c" 1>&6
-echo "configure:2630: checking for sched_setscheduler in -lposix4" 1>&5
+
+echo "configure:3219: checking for sched_setscheduler in -lposix4" >&5
+echo $ECHO_N "checking for sched_setscheduler in -lposix4... $ECHO_C" >&6
 if test "${ac_cv_lib_posix4_sched_setscheduler+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  ac_save_LIBS="$LIBS"
+  ac_check_lib_save_LIBS=$LIBS
 LIBS="-lposix4  $LIBS"
-cat >conftest.$ac_ext <<EOF
-#line 2637 "configure"
+cat >conftest.$ac_ext <<_ACEOF
+#line 3227 "configure"
 #include "confdefs.h"
+
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char sched_setscheduler();
-
+   builtin and then its argument prototype would still apply.  */
+char sched_setscheduler ();
 int
-main()
+main ()
 {
-sched_setscheduler()
+sched_setscheduler ();
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:2652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:3245: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   ac_cv_lib_posix4_sched_setscheduler=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_lib_posix4_sched_setscheduler=no
 fi
-rm -f conftest*
-
-LIBS="$ac_save_LIBS"
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$ac_t""$ac_cv_lib_posix4_sched_setscheduler" 1>&6
+echo "configure:3255: result: $ac_cv_lib_posix4_sched_setscheduler" >&5
+echo "${ECHO_T}$ac_cv_lib_posix4_sched_setscheduler" >&6
 if test $ac_cv_lib_posix4_sched_setscheduler = yes; then
   cat >>confdefs.h <<EOF
 #define HAVE_LIBPOSIX4 1
@@ -2673,27 +3265,29 @@ fi
 
 fi
 
-echo $ac_n "checking for setsockopt... $ac_c" 1>&6
-echo "configure:2678: checking for setsockopt" 1>&5
+echo "configure:3268: checking for setsockopt" >&5
+echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
 if test "${ac_cv_func_setsockopt+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 2683 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 3274 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char setsockopt(); below.  */
+    which can conflict with char setsockopt (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char setsockopt();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char setsockopt ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -2706,60 +3300,60 @@ f = setsockopt;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:2711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:3304: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   ac_cv_func_setsockopt=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_func_setsockopt=no
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_func_setsockopt" 1>&6
+echo "configure:3313: result: $ac_cv_func_setsockopt" >&5
+echo "${ECHO_T}$ac_cv_func_setsockopt" >&6
 if test $ac_cv_func_setsockopt = yes; then
   :
 else
-  echo $ac_n "checking for setsockopt in -lsocket... $ac_c" 1>&6
-echo "configure:2728: checking for setsockopt in -lsocket" 1>&5
+
+echo "configure:3319: checking for setsockopt in -lsocket" >&5
+echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6
 if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  ac_save_LIBS="$LIBS"
+  ac_check_lib_save_LIBS=$LIBS
 LIBS="-lsocket  $LIBS"
-cat >conftest.$ac_ext <<EOF
-#line 2735 "configure"
+cat >conftest.$ac_ext <<_ACEOF
+#line 3327 "configure"
 #include "confdefs.h"
+
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char setsockopt();
-
+   builtin and then its argument prototype would still apply.  */
+char setsockopt ();
 int
-main()
+main ()
 {
-setsockopt()
+setsockopt ();
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:2750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:3345: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   ac_cv_lib_socket_setsockopt=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_lib_socket_setsockopt=no
 fi
-rm -f conftest*
-
-LIBS="$ac_save_LIBS"
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$ac_t""$ac_cv_lib_socket_setsockopt" 1>&6
+echo "configure:3355: result: $ac_cv_lib_socket_setsockopt" >&5
+echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6
 if test $ac_cv_lib_socket_setsockopt = yes; then
   cat >>confdefs.h <<EOF
 #define HAVE_LIBSOCKET 1
@@ -2771,48 +3365,45 @@ fi
 
 fi
 
-echo $ac_n "checking for ANSI C header files... $ac_c" 1>&6
-echo "configure:2776: checking for ANSI C header files" 1>&5
+echo "configure:3368: checking for ANSI C header files" >&5
+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 if test "${ac_cv_header_stdc+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 2781 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 3374 "configure"
 #include "confdefs.h"
 #include <stdlib.h>
 #include <stdarg.h>
 #include <string.h>
 #include <float.h>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:3383: \"$ac_try\") >&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*
   ac_cv_header_stdc=yes
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_header_stdc=no
 fi
 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
-#line 2807 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 3398 "configure"
 #include "confdefs.h"
 #include <string.h>
 
-EOF
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "memchr" >/dev/null 2>&1; then
   :
 else
-  rm -rf conftest*
   ac_cv_header_stdc=no
 fi
 rm -f conftest*
@@ -2821,17 +3412,16 @@ 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
-#line 2826 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 3416 "configure"
 #include "confdefs.h"
 #include <stdlib.h>
 
-EOF
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "free" >/dev/null 2>&1; then
   :
 else
-  rm -rf conftest*
   ac_cv_header_stdc=no
 fi
 rm -f conftest*
@@ -2840,11 +3430,11 @@ fi
 
 if test $ac_cv_header_stdc = yes; then
   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
-if test "$cross_compiling" = yes; then
+  if test "$cross_compiling" = yes; then
   :
 else
-  cat >conftest.$ac_ext <<EOF
-#line 2848 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 3437 "configure"
 #include "confdefs.h"
 #include <ctype.h>
 #if ((' ' & 0x0FF) == 0x020)
@@ -2868,25 +3458,25 @@ main ()
       exit(2);
   exit (0);
 }
-EOF
-if { (eval echo configure:2873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
+_ACEOF
+if { (eval echo configure:3462: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+   test -s conftest$ac_exeext && (./conftest; exit) 2>/dev/null; then
   :
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -fr conftest*
   ac_cv_header_stdc=no
 fi
-rm -fr conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
 
 fi
 fi
-echo "$ac_t""$ac_cv_header_stdc" 1>&6
+echo "configure:3475: result: $ac_cv_header_stdc" >&5
+echo "${ECHO_T}$ac_cv_header_stdc" >&6
 if test $ac_cv_header_stdc = yes; then
-  cat >>confdefs.h <<\EOF
+
+cat >>confdefs.h <<\EOF
 #define STDC_HEADERS 1
 EOF
 
 for ac_header in bstring.h errno.h fcntl.h ieeefp.h math.h memory.h netdb.h
 do
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-echo $ac_n "checking for $ac_header... $ac_c" 1>&6
-echo "configure:2900: checking for $ac_header" 1>&5
+
+echo "configure:3489: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 2905 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 3495 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:3501: \"$ac_try\") >&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*
   eval "$ac_ac_Header=yes"
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_Header=no"
 fi
 rm -f conftest*
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6
+echo "configure:3513: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
 for ac_header in poll.h resolv.h sched.h sgtty.h stdlib.h string.h termio.h
 do
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-echo $ac_n "checking for $ac_header... $ac_c" 1>&6
-echo "configure:2938: checking for $ac_header" 1>&5
+
+echo "configure:3527: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 2943 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 3533 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:3539: \"$ac_try\") >&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*
   eval "$ac_ac_Header=yes"
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_Header=no"
 fi
 rm -f conftest*
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6
+echo "configure:3551: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
 for ac_header in termios.h timepps.h timex.h unistd.h utmp.h utmpx.h
 do
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-echo $ac_n "checking for $ac_header... $ac_c" 1>&6
-echo "configure:2976: checking for $ac_header" 1>&5
+
+echo "configure:3565: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 2981 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 3571 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:3577: \"$ac_try\") >&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*
   eval "$ac_ac_Header=yes"
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_Header=no"
 fi
 rm -f conftest*
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6
+echo "configure:3589: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
 for ac_header in arpa/nameser.h net/if.h netinet/in_systm.h netinet/in.h
 do
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-echo $ac_n "checking for $ac_header... $ac_c" 1>&6
-echo "configure:3014: checking for $ac_header" 1>&5
+
+echo "configure:3603: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3019 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 3609 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:3615: \"$ac_try\") >&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*
   eval "$ac_ac_Header=yes"
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_Header=no"
 fi
 rm -f conftest*
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6
+echo "configure:3627: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
 for ac_header in netinfo/ni.h
 do
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-echo $ac_n "checking for $ac_header... $ac_c" 1>&6
-echo "configure:3052: checking for $ac_header" 1>&5
+
+echo "configure:3641: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3057 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 3647 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:3653: \"$ac_try\") >&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*
   eval "$ac_ac_Header=yes"
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_Header=no"
 fi
 rm -f conftest*
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6
+echo "configure:3665: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
@@ -3088,400 +3678,404 @@ done
 for ac_header in sun/audioio.h sys/audioio.h
 do
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-echo $ac_n "checking for $ac_header... $ac_c" 1>&6
-echo "configure:3093: checking for $ac_header" 1>&5
+
+echo "configure:3682: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3098 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 3688 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:3694: \"$ac_try\") >&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*
   eval "$ac_ac_Header=yes"
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_Header=no"
 fi
 rm -f conftest*
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6
+echo "configure:3706: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
 for ac_header in sys/clkdefs.h sys/file.h
 do
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-echo $ac_n "checking for $ac_header... $ac_c" 1>&6
-echo "configure:3131: checking for $ac_header" 1>&5
+
+echo "configure:3720: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3136 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 3726 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:3732: \"$ac_try\") >&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*
   eval "$ac_ac_Header=yes"
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_Header=no"
 fi
 rm -f conftest*
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6
+echo "configure:3744: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
 case "$target" in
  *-*-sunos4*) ;;
- *) for ac_header in sys/ioctl.h
+ *)
+for ac_header in sys/ioctl.h
 do
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-echo $ac_n "checking for $ac_header... $ac_c" 1>&6
-echo "configure:3171: checking for $ac_header" 1>&5
+
+echo "configure:3761: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3176 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 3767 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:3773: \"$ac_try\") >&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*
   eval "$ac_ac_Header=yes"
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_Header=no"
 fi
 rm -f conftest*
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6
+echo "configure:3785: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
     ;;
 esac
+
 for ac_header in sys/lock.h sys/mman.h sys/modem.h sys/param.h sys/ppsclock.h
 do
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-echo $ac_n "checking for $ac_header... $ac_c" 1>&6
-echo "configure:3211: checking for $ac_header" 1>&5
+
+echo "configure:3802: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3216 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 3808 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:3814: \"$ac_try\") >&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*
   eval "$ac_ac_Header=yes"
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_Header=no"
 fi
 rm -f conftest*
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6
+echo "configure:3826: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
 for ac_header in sys/ppstime.h sys/proc.h sys/resource.h sys/sched.h
 do
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-echo $ac_n "checking for $ac_header... $ac_c" 1>&6
-echo "configure:3249: checking for $ac_header" 1>&5
+
+echo "configure:3840: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3254 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 3846 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:3852: \"$ac_try\") >&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*
   eval "$ac_ac_Header=yes"
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_Header=no"
 fi
 rm -f conftest*
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6
+echo "configure:3864: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
 case "$target" in
  *-*-sco*)
-    for ac_header in sys/sio.h
+
+for ac_header in sys/sio.h
 do
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-echo $ac_n "checking for $ac_header... $ac_c" 1>&6
-echo "configure:3289: checking for $ac_header" 1>&5
+
+echo "configure:3881: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3294 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 3887 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:3893: \"$ac_try\") >&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*
   eval "$ac_ac_Header=yes"
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_Header=no"
 fi
 rm -f conftest*
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6
+echo "configure:3905: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
     ;;
 esac
+
 for ac_header in sys/select.h sys/sockio.h sys/stat.h sys/stream.h
 do
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-echo $ac_n "checking for $ac_header... $ac_c" 1>&6
-echo "configure:3329: checking for $ac_header" 1>&5
+
+echo "configure:3922: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3334 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 3928 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:3934: \"$ac_try\") >&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*
   eval "$ac_ac_Header=yes"
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_Header=no"
 fi
 rm -f conftest*
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6
+echo "configure:3946: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
 for ac_header in sys/stropts.h sys/sysctl.h sys/syssgi.h sys/termios.h
 do
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-echo $ac_n "checking for $ac_header... $ac_c" 1>&6
-echo "configure:3367: checking for $ac_header" 1>&5
+
+echo "configure:3960: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3372 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 3966 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:3972: \"$ac_try\") >&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*
   eval "$ac_ac_Header=yes"
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_Header=no"
 fi
 rm -f conftest*
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6
+echo "configure:3984: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
 for ac_header in sys/time.h
 do
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-echo $ac_n "checking for $ac_header... $ac_c" 1>&6
-echo "configure:3405: checking for $ac_header" 1>&5
+
+echo "configure:3998: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3410 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4004 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:4010: \"$ac_try\") >&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*
   eval "$ac_ac_Header=yes"
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_Header=no"
 fi
 rm -f conftest*
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6
+echo "configure:4022: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
-cat >conftest.$ac_ext <<EOF
-#line 3440 "configure"
+cat >conftest.$ac_ext <<_ACEOF
+#line 4033 "configure"
 #include "confdefs.h"
 #include <sys/timepps.h>
 #ifdef PPS_API_VERS_1
 yes
 #endif
 
-EOF
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "yes" >/dev/null 2>&1; then
-  rm -rf conftest*
-  for ac_header in sys/timepps.h
+
+for ac_header in sys/timepps.h
 do
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-echo $ac_n "checking for $ac_header... $ac_c" 1>&6
-echo "configure:3455: checking for $ac_header" 1>&5
+
+echo "configure:4048: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3460 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4054 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3466: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:4060: \"$ac_try\") >&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*
   eval "$ac_ac_Header=yes"
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_Header=no"
 fi
 rm -f conftest*
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6
+echo "configure:4072: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
@@ -3491,48 +4085,48 @@ rm -f conftest*
 for ac_header in sys/timers.h sys/timex.h sys/tpro.h sys/types.h sys/wait.h
 do
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-echo $ac_n "checking for $ac_header... $ac_c" 1>&6
-echo "configure:3496: checking for $ac_header" 1>&5
+
+echo "configure:4089: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3501 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4095 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:4101: \"$ac_try\") >&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*
   eval "$ac_ac_Header=yes"
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_Header=no"
 fi
 rm -f conftest*
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6
+echo "configure:4113: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
-echo $ac_n "checking whether time.h and sys/time.h may both be included... $ac_c" 1>&6
-echo "configure:3531: checking whether time.h and sys/time.h may both be included" 1>&5
+echo "configure:4123: checking whether time.h and sys/time.h may both be included" >&5
+echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
 if test "${ac_cv_header_time+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3536 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4129 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #include <sys/time.h>
@@ -3545,21 +4139,21 @@ struct tm *tp;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:3550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:4143: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_header_time=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_header_time=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_header_time" 1>&6
+echo "configure:4152: result: $ac_cv_header_time" >&5
+echo "${ECHO_T}$ac_cv_header_time" >&6
 if test $ac_cv_header_time = yes; then
-  cat >>confdefs.h <<\EOF
+
+cat >>confdefs.h <<\EOF
 #define TIME_WITH_SYS_TIME 1
 EOF
 
 
 case "$target" in
 *-convex-*)
-  for ac_header in /sys/sync/queue.h /sys/sync/sema.h
+
+for ac_header in /sys/sync/queue.h /sys/sync/sema.h
 do
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-echo $ac_n "checking for $ac_header... $ac_c" 1>&6
-echo "configure:3575: checking for $ac_header" 1>&5
+
+echo "configure:4169: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3580 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4175 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:4181: \"$ac_try\") >&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*
   eval "$ac_ac_Header=yes"
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_Header=no"
 fi
 rm -f conftest*
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6
+echo "configure:4193: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
   ;;
 *-*-bsdi*)
-  for ac_header in machine/inline.h sys/pcl720.h sys/i8253.h
+
+for ac_header in machine/inline.h sys/pcl720.h sys/i8253.h
 do
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-echo $ac_n "checking for $ac_header... $ac_c" 1>&6
-echo "configure:3615: checking for $ac_header" 1>&5
+
+echo "configure:4210: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3620 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4216 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:4222: \"$ac_try\") >&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*
   eval "$ac_ac_Header=yes"
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_Header=no"
 fi
 rm -f conftest*
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6
+echo "configure:4234: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
   ;;
 esac
 
-echo $ac_n "checking for nlist.h... $ac_c" 1>&6
-echo "configure:3653: checking for nlist.h" 1>&5
+echo "configure:4247: checking for nlist.h" >&5
+echo $ECHO_N "checking for nlist.h... $ECHO_C" >&6
 if test "${ac_cv_header_nlist_h+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3658 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4253 "configure"
 #include "confdefs.h"
 #include <nlist.h>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:4259: \"$ac_try\") >&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*
   ac_cv_header_nlist_h=yes
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_header_nlist_h=no
 fi
 rm -f conftest*
 fi
-echo "$ac_t""$ac_cv_header_nlist_h" 1>&6
+echo "configure:4271: result: $ac_cv_header_nlist_h" >&5
+echo "${ECHO_T}$ac_cv_header_nlist_h" >&6
 if test $ac_cv_header_nlist_h = yes; then
   cat >>confdefs.h <<\EOF
 #define NLIST_STRUCT 1
 EOF
 
-echo $ac_n "checking for n_un in struct nlist... $ac_c" 1>&6
-echo "configure:3685: checking for n_un in struct nlist" 1>&5
+echo "configure:4278: checking for n_un in struct nlist" >&5
+echo $ECHO_N "checking for n_un in struct nlist... $ECHO_C" >&6
 if test "${ac_cv_struct_nlist_n_un+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3690 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4284 "configure"
 #include "confdefs.h"
 #include <nlist.h>
 int
@@ -3696,19 +4291,18 @@ struct nlist n; n.n_un.n_name = 0;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:3701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:4295: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_struct_nlist_n_un=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_struct_nlist_n_un=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_struct_nlist_n_un" 1>&6
+echo "configure:4304: result: $ac_cv_struct_nlist_n_un" >&5
+echo "${ECHO_T}$ac_cv_struct_nlist_n_un" >&6
 if test $ac_cv_struct_nlist_n_un = yes; then
   cat >>confdefs.h <<\EOF
 #define NLIST_NAME_UNION 1
@@ -3718,13 +4312,13 @@ fi
 
 fi
 
-echo $ac_n "checking for basic volatile support... $ac_c" 1>&6
-echo "configure:3723: checking for basic volatile support" 1>&5
+echo "configure:4315: checking for basic volatile support" >&5
+echo $ECHO_N "checking for basic volatile support... $ECHO_C" >&6
 if test "${ac_cv_c_volatile+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3728 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4321 "configure"
 #include "confdefs.h"
 
 int
@@ -3735,25 +4329,24 @@ volatile int x;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:3740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:4333: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_c_volatile=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_c_volatile=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 
 fi
-echo "$ac_t""$ac_cv_c_volatile" 1>&6
+echo "configure:4343: result: $ac_cv_c_volatile" >&5
+echo "${ECHO_T}$ac_cv_c_volatile" >&6
 case "$ac_cv_c_volatile" in
  yes)
     ;;
  *) cat >>confdefs.h <<\EOF
-#define volatile 
+#define volatile
 EOF
 
     ;;
@@ -3764,12 +4357,11 @@ case "$target" in
     # Assume that solaris2 is Ansi C...
     ;;
  *)
-    
 
-echo $ac_n "checking for ${CC-cc} option to accept ANSI C... $ac_c" 1>&6
-echo "configure:3771: checking for ${CC-cc} option to accept ANSI C" 1>&5
+echo "configure:4361: checking for ${CC-cc} option to accept ANSI C" >&5
+echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
 if test "${am_cv_prog_cc_stdc+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   am_cv_prog_cc_stdc=no
 ac_save_CC="$CC"
@@ -3783,8 +4375,8 @@ ac_save_CC="$CC"
 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 do
   CC="$ac_save_CC $ac_arg"
-  cat >conftest.$ac_ext <<EOF
-#line 3788 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4379 "configure"
 #include "confdefs.h"
 #include <stdarg.h>
 #include <stdio.h>
@@ -3824,85 +4416,87 @@ return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:3829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:4420: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   am_cv_prog_cc_stdc="$ac_arg"; break
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
+
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 done
 CC="$ac_save_CC"
 
 fi
 
 if test -z "$am_cv_prog_cc_stdc"; then
-  echo "$ac_t""none needed" 1>&6
+  echo "configure:4434: result: none needed" >&5
+echo "${ECHO_T}none needed" >&6
 else
-  echo "$ac_t""$am_cv_prog_cc_stdc" 1>&6
+  echo "configure:4437: result: $am_cv_prog_cc_stdc" >&5
+echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
 fi
 case "x$am_cv_prog_cc_stdc" in
   x|xno) ;;
   *) CC="$CC $am_cv_prog_cc_stdc" ;;
 esac
 
-echo $ac_n "checking for function prototypes... $ac_c" 1>&6
-echo "configure:3853: checking for function prototypes" 1>&5
+echo "configure:4445: checking for function prototypes" >&5
+echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
 if test "$am_cv_prog_cc_stdc" != no; then
-  echo "$ac_t""yes" 1>&6
-  cat >>confdefs.h <<\EOF
+  echo "configure:4448: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+
+cat >>confdefs.h <<\EOF
 #define PROTOTYPES 1
 EOF
 
   U= ANSI2KNR=
 else
-  echo "$ac_t""no" 1>&6
+  echo "configure:4457: result: no" >&5
+echo "${ECHO_T}no" >&6
   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:3866: checking for ANSI C header files" 1>&5
+  echo "configure:4461: checking for ANSI C header files" >&5
+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 if test "${ac_cv_header_stdc+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3871 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4467 "configure"
 #include "confdefs.h"
 #include <stdlib.h>
 #include <stdarg.h>
 #include <string.h>
 #include <float.h>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:4476: \"$ac_try\") >&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*
   ac_cv_header_stdc=yes
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_header_stdc=no
 fi
 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
-#line 3897 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4491 "configure"
 #include "confdefs.h"
 #include <string.h>
 
-EOF
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "memchr" >/dev/null 2>&1; then
   :
 else
-  rm -rf conftest*
   ac_cv_header_stdc=no
 fi
 rm -f conftest*
@@ -3911,17 +4505,16 @@ 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
-#line 3916 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4509 "configure"
 #include "confdefs.h"
 #include <stdlib.h>
 
-EOF
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "free" >/dev/null 2>&1; then
   :
 else
-  rm -rf conftest*
   ac_cv_header_stdc=no
 fi
 rm -f conftest*
@@ -3930,11 +4523,11 @@ fi
 
 if test $ac_cv_header_stdc = yes; then
   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
-if test "$cross_compiling" = yes; then
+  if test "$cross_compiling" = yes; then
   :
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3938 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4530 "configure"
 #include "confdefs.h"
 #include <ctype.h>
 #if ((' ' & 0x0FF) == 0x020)
@@ -3958,65 +4551,65 @@ main ()
       exit(2);
   exit (0);
 }
-EOF
-if { (eval echo configure:3963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
+_ACEOF
+if { (eval echo configure:4555: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+   test -s conftest$ac_exeext && (./conftest; exit) 2>/dev/null; then
   :
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -fr conftest*
   ac_cv_header_stdc=no
 fi
-rm -fr conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
 
 fi
 fi
-echo "$ac_t""$ac_cv_header_stdc" 1>&6
+echo "configure:4568: result: $ac_cv_header_stdc" >&5
+echo "${ECHO_T}$ac_cv_header_stdc" >&6
 if test $ac_cv_header_stdc = yes; then
-  cat >>confdefs.h <<\EOF
+
+cat >>confdefs.h <<\EOF
 #define STDC_HEADERS 1
 EOF
 
 fi
 
-  for ac_header in string.h
+for ac_header in string.h
 do
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-echo $ac_n "checking for $ac_header... $ac_c" 1>&6
-echo "configure:3990: checking for $ac_header" 1>&5
+
+echo "configure:4582: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 3995 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4588 "configure"
 #include "confdefs.h"
 #include <$ac_header>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:4001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:4594: \"$ac_try\") >&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*
   eval "$ac_ac_Header=yes"
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_Header=no"
 fi
 rm -f conftest*
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_Header'}'`" 1>&6
+echo "configure:4606: result: `eval echo '${'$ac_ac_Header'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
@@ -4024,13 +4617,13 @@ fi
 
     ;;
 esac
-echo $ac_n "checking if C compiler permits function prototypes... $ac_c" 1>&6
-echo "configure:4029: checking if C compiler permits function prototypes" 1>&5
+echo "configure:4620: checking if C compiler permits function prototypes" >&5
+echo $ECHO_N "checking if C compiler permits function prototypes... $ECHO_C" >&6
 if test "${ac_cv_have_prototypes+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 4034 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4626 "configure"
 #include "confdefs.h"
 
 extern int foo (short);
@@ -4043,20 +4636,19 @@ int i;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:4048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:4640: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_have_prototypes=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_have_prototypes=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 
 fi
-echo "$ac_t""$ac_cv_have_prototypes" 1>&6
+echo "configure:4650: result: $ac_cv_have_prototypes" >&5
+echo "${ECHO_T}$ac_cv_have_prototypes" >&6
 if test "$ac_cv_have_prototypes" = yes; then
   cat >>confdefs.h <<\EOF
 #define HAVE_PROTOTYPES 1
@@ -4064,90 +4656,13 @@ EOF
 
 fi
 
-echo $ac_n "checking for ${CC-cc} option to accept ANSI C... $ac_c" 1>&6
-echo "configure:4069: checking for ${CC-cc} option to accept ANSI C" 1>&5
-if test "${ac_cv_prog_cc_stdc+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  ac_cv_prog_cc_stdc=no
-ac_save_CC="$CC"
-# Don't try gcc -ansi; that turns off useful extensions and
-# breaks some systems' header files.
-# AIX                  -qlanglvl=ansi
-# Ultrix and OSF/1     -std1
-# HP-UX 10.20 and later        -Ae
-# HP-UX older versions -Aa -D_HPUX_SOURCE
-# SVR4                 -Xc -D__EXTENSIONS__
-for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
-do
-  CC="$ac_save_CC $ac_arg"
-  cat >conftest.$ac_ext <<EOF
-#line 4086 "configure"
-#include "confdefs.h"
-#include <stdarg.h>
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
-struct buf { int x; };
-FILE * (*rcsopen) (struct buf *, struct stat *, int);
-static char *e (p, i)
-     char **p;
-     int i;
-{
-  return p[i];
-}
-static char *f (char * (*g) (char **, int), char **p, ...)
-{
-  char *s;
-  va_list v;
-  va_start (v,p);
-  s = g (p, va_arg (v,int));
-  va_end (v);
-  return s;
-}
-int test (int i, double x);
-struct s1 {int (*f) (int a);};
-struct s2 {int (*f) (double a);};
-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
-int argc;
-char **argv;
-int
-main ()
-{
-return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
-  ;
-  return 0;
-}
-EOF
-if { (eval echo configure:4124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
-  ac_cv_prog_cc_stdc="$ac_arg"; break
-else
-  echo "configure: failed program was:" >&5
-  cat conftest.$ac_ext >&5
-fi
-rm -f conftest*
-done
-CC="$ac_save_CC"
-
-fi
-
-case "x$ac_cv_prog_cc_stdc" in
-  x|xno)
-    echo "$ac_t""none needed" 1>&6 ;;
-  *)
-    echo "$ac_t""$ac_cv_prog_cc_stdc" 1>&6
-    CC="$CC $ac_cv_prog_cc_stdc" ;;
-esac
-
-echo $ac_n "checking for an ANSI C conforming const... $ac_c" 1>&6
-echo "configure:4146: checking for an ANSI C conforming const" 1>&5
+echo "configure:4659: checking for an ANSI C-conforming const" >&5
+echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
 if test "${ac_cv_c_const+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 4151 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4665 "configure"
 #include "confdefs.h"
 
 int
@@ -4203,37 +4718,37 @@ main ()
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:4208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:4722: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_c_const=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_c_const=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_c_const" 1>&6
+echo "configure:4731: result: $ac_cv_c_const" >&5
+echo "${ECHO_T}$ac_cv_c_const" >&6
 if test $ac_cv_c_const = no; then
-  cat >>confdefs.h <<\EOF
-#define const 
+
+cat >>confdefs.h <<\EOF
+#define const
 EOF
 
 fi
 
 case "$host" in
  $target)
-    echo $ac_n "checking whether byte ordering is bigendian... $ac_c" 1>&6
-echo "configure:4230: checking whether byte ordering is bigendian" 1>&5
+    echo "configure:4743: checking whether byte ordering is bigendian" >&5
+echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
 if test "${ac_cv_c_bigendian+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_cv_c_bigendian=unknown
 # See if sys/param.h defines the BYTE_ORDER macro.
-cat >conftest.$ac_ext <<EOF
-#line 4237 "configure"
+cat >conftest.$ac_ext <<_ACEOF
+#line 4751 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #include <sys/param.h>
@@ -4248,12 +4763,11 @@ main ()
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:4253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:4767: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   # It does; now see whether it defined to BIG_ENDIAN or not.
-cat >conftest.$ac_ext <<EOF
-#line 4257 "configure"
+cat >conftest.$ac_ext <<_ACEOF
+#line 4770 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #include <sys/param.h>
@@ -4268,28 +4782,27 @@ main ()
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:4273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:4786: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_c_bigendian=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_c_bigendian=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
+
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 if test $ac_cv_c_bigendian = unknown; then
 if test "$cross_compiling" = yes; then
-    { echo "configure: error: cannot run test program while cross compiling" 1>&2; exit 1; }
+  { echo "configure: error: cannot run test program while cross compiling" >&2; exit 1; }
 else
-  cat >conftest.$ac_ext <<EOF
-#line 4293 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4805 "configure"
 #include "confdefs.h"
 int
 main ()
@@ -4303,25 +4816,25 @@ main ()
   u.l = 1;
   exit (u.c[sizeof (long) - 1] == 1);
 }
-EOF
-if { (eval echo configure:4308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
+_ACEOF
+if { (eval echo configure:4820: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+   test -s conftest$ac_exeext && (./conftest; exit) 2>/dev/null; then
   ac_cv_c_bigendian=no
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -fr conftest*
   ac_cv_c_bigendian=yes
 fi
-rm -fr conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
 
 fi
 fi
-echo "$ac_t""$ac_cv_c_bigendian" 1>&6
+echo "configure:4833: result: $ac_cv_c_bigendian" >&5
+echo "${ECHO_T}$ac_cv_c_bigendian" >&6
 if test $ac_cv_c_bigendian = yes; then
-  cat >>confdefs.h <<\EOF
+
+cat >>confdefs.h <<\EOF
 #define WORDS_BIGENDIAN 1
 EOF
 
@@ -4338,18 +4851,18 @@ fi
 EOF
 
        ;;
-     *) { echo "configure: error: Cross-compiling needs explicit byte order" 1>&2; exit 1; }
+     *) { echo "configure: error: Cross-compiling needs explicit byte order" >&2; exit 1; }
        ;;
     esac
     ;;
 esac
-echo $ac_n "checking return type of signal handlers... $ac_c" 1>&6
-echo "configure:4348: checking return type of signal handlers" 1>&5
+echo "configure:4859: checking return type of signal handlers" >&5
+echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
 if test "${ac_cv_type_signal+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 4353 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4865 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #include <signal.h>
@@ -4369,30 +4882,30 @@ int i;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:4374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:4886: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_type_signal=void
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_type_signal=int
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_type_signal" 1>&6
+echo "configure:4895: result: $ac_cv_type_signal" >&5
+echo "${ECHO_T}$ac_cv_type_signal" >&6
+
 cat >>confdefs.h <<EOF
 #define RETSIGTYPE $ac_cv_type_signal
 EOF
 
-echo $ac_n "checking for off_t... $ac_c" 1>&6
-echo "configure:4391: checking for off_t" 1>&5
+echo "configure:4902: checking for off_t" >&5
+echo $ECHO_N "checking for off_t... $ECHO_C" >&6
 if test "${ac_cv_type_off_t+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 4396 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4908 "configure"
 #include "confdefs.h"
 $ac_includes_default
 int
@@ -4405,35 +4918,35 @@ if (sizeof (off_t))
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:4410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:4922: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_type_off_t=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_type_off_t=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_type_off_t" 1>&6
+echo "configure:4931: result: $ac_cv_type_off_t" >&5
+echo "${ECHO_T}$ac_cv_type_off_t" >&6
 if test $ac_cv_type_off_t = yes; then
   :
 else
-  cat >>confdefs.h <<EOF
+
+cat >>confdefs.h <<EOF
 #define off_t long
 EOF
 
 fi
 
-echo $ac_n "checking for size_t... $ac_c" 1>&6
-echo "configure:4432: checking for size_t" 1>&5
+echo "configure:4943: checking for size_t" >&5
+echo $ECHO_N "checking for size_t... $ECHO_C" >&6
 if test "${ac_cv_type_size_t+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 4437 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4949 "configure"
 #include "confdefs.h"
 $ac_includes_default
 int
@@ -4446,35 +4959,35 @@ if (sizeof (size_t))
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:4451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:4963: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_type_size_t=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_type_size_t=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_type_size_t" 1>&6
+echo "configure:4972: result: $ac_cv_type_size_t" >&5
+echo "${ECHO_T}$ac_cv_type_size_t" >&6
 if test $ac_cv_type_size_t = yes; then
   :
 else
-  cat >>confdefs.h <<EOF
+
+cat >>confdefs.h <<EOF
 #define size_t unsigned
 EOF
 
 fi
 
-echo $ac_n "checking for time_t... $ac_c" 1>&6
-echo "configure:4473: checking for time_t" 1>&5
+echo "configure:4984: checking for time_t" >&5
+echo $ECHO_N "checking for time_t... $ECHO_C" >&6
 if test "${ac_cv_type_time_t+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 4478 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 4990 "configure"
 #include "confdefs.h"
 $ac_includes_default
 int
@@ -4487,35 +5000,35 @@ if (sizeof (time_t))
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:4492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:5004: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_type_time_t=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_type_time_t=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_type_time_t" 1>&6
+echo "configure:5013: result: $ac_cv_type_time_t" >&5
+echo "${ECHO_T}$ac_cv_type_time_t" >&6
 if test $ac_cv_type_time_t = yes; then
   :
 else
-  cat >>confdefs.h <<EOF
+
+cat >>confdefs.h <<EOF
 #define time_t long
 EOF
 
 fi
 
-echo $ac_n "checking whether struct tm is in sys/time.h or time.h... $ac_c" 1>&6
-echo "configure:4514: checking whether struct tm is in sys/time.h or time.h" 1>&5
+echo "configure:5025: checking whether struct tm is in sys/time.h or time.h" >&5
+echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
 if test "${ac_cv_struct_tm+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 4519 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 5031 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #include <time.h>
@@ -4527,30 +5040,30 @@ struct tm *tp; tp->tm_sec;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:4532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:5044: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_struct_tm=time.h
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_struct_tm=sys/time.h
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_struct_tm" 1>&6
+echo "configure:5053: result: $ac_cv_struct_tm" >&5
+echo "${ECHO_T}$ac_cv_struct_tm" >&6
 if test $ac_cv_struct_tm = sys/time.h; then
-  cat >>confdefs.h <<\EOF
+
+cat >>confdefs.h <<\EOF
 #define TM_IN_SYS_TIME 1
 EOF
 
 fi
 
-echo $ac_n "checking for a fallback value for HZ... $ac_c" 1>&6
-echo "configure:4552: checking for a fallback value for HZ" 1>&5
+echo "configure:5063: checking for a fallback value for HZ" >&5
+echo $ECHO_N "checking for a fallback value for HZ... $ECHO_C" >&6
 if test "${ac_cv_var_default_hz+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_cv_var_default_hz=100
 case "$target" in
@@ -4562,15 +5075,16 @@ case "$target" in
     ;;
 esac
 fi
-echo "$ac_t""$ac_cv_var_default_hz" 1>&6
+echo "configure:5078: result: $ac_cv_var_default_hz" >&5
+echo "${ECHO_T}$ac_cv_var_default_hz" >&6
 cat >>confdefs.h <<EOF
 #define DEFAULT_HZ $ac_cv_var_default_hz
 EOF
 
-echo $ac_n "checking if we need to override the system's value for HZ... $ac_c" 1>&6
-echo "configure:4572: checking if we need to override the system's value for HZ" 1>&5
+echo "configure:5084: checking if we need to override the system's value for HZ" >&5
+echo $ECHO_N "checking if we need to override the system's value for HZ... $ECHO_C" >&6
 if test "${ac_cv_var_override_hz+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_cv_var_override_hz=no
 case "$target" in
@@ -4588,7 +5102,8 @@ case "$target" in
     ;;
 esac
 fi
-echo "$ac_t""$ac_cv_var_override_hz" 1>&6
+echo "configure:5105: result: $ac_cv_var_override_hz" >&5
+echo "${ECHO_T}$ac_cv_var_override_hz" >&6
 case "$ac_cv_var_override_hz" in
  yes)
     cat >>confdefs.h <<\EOF
@@ -4598,14 +5113,14 @@ EOF
     ;;
 esac
 
-echo $ac_n "checking struct sigaction for sa_sigaction... $ac_c" 1>&6
-echo "configure:4603: checking struct sigaction for sa_sigaction" 1>&5
+echo "configure:5116: checking struct sigaction for sa_sigaction" >&5
+echo $ECHO_N "checking struct sigaction for sa_sigaction... $ECHO_C" >&6
 if test "${ac_cv_struct_sigaction_has_sa_sigaction+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  
-    cat >conftest.$ac_ext <<EOF
-#line 4609 "configure"
+
+    cat >conftest.$ac_ext <<_ACEOF
+#line 5123 "configure"
 #include "confdefs.h"
 #include <signal.h>
 int
@@ -4615,22 +5130,20 @@ struct sigaction act; act.sa_sigaction = 0;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:4620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:5134: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_struct_sigaction_has_sa_sigaction=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_struct_sigaction_has_sa_sigaction=no
-    
+
 fi
-rm -f conftest*
-  
+rm -f conftest.$ac_objext conftest.$ac_ext
 
 fi
-echo "$ac_t""$ac_cv_struct_sigaction_has_sa_sigaction" 1>&6
+echo "configure:5145: result: $ac_cv_struct_sigaction_has_sa_sigaction" >&5
+echo "${ECHO_T}$ac_cv_struct_sigaction_has_sa_sigaction" >&6
 if test $ac_cv_struct_sigaction_has_sa_sigaction = yes; then
   cat >>confdefs.h <<\EOF
 #define HAVE_SA_SIGACTION_IN_STRUCT_SIGACTION 1
@@ -4638,13 +5151,13 @@ EOF
 
 fi
 
-echo $ac_n "checking for struct ppsclockev... $ac_c" 1>&6
-echo "configure:4643: checking for struct ppsclockev" 1>&5
+echo "configure:5154: checking for struct ppsclockev" >&5
+echo $ECHO_N "checking for struct ppsclockev... $ECHO_C" >&6
 if test "${ac_cv_struct_ppsclockev+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 4648 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 5160 "configure"
 #include "confdefs.h"
 
 #include <sys/types.h>
@@ -4666,20 +5179,19 @@ return pce->serial;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:4671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:5183: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_struct_ppsclockev=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_struct_ppsclockev=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 
 fi
-echo "$ac_t""$ac_cv_struct_ppsclockev" 1>&6
+echo "configure:5193: result: $ac_cv_struct_ppsclockev" >&5
+echo "${ECHO_T}$ac_cv_struct_ppsclockev" >&6
 if test $ac_cv_struct_ppsclockev = yes; then
     cat >>confdefs.h <<\EOF
 #define HAVE_STRUCT_PPSCLOCKEV 1
@@ -4687,13 +5199,13 @@ EOF
 
 fi
 
-echo $ac_n "checking struct sockaddr for sa_len... $ac_c" 1>&6
-echo "configure:4692: checking struct sockaddr for sa_len" 1>&5
+echo "configure:5202: checking struct sockaddr for sa_len" >&5
+echo $ECHO_N "checking struct sockaddr for sa_len... $ECHO_C" >&6
 if test "${ac_cv_struct_sockaddr_has_sa_len+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 4697 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 5208 "configure"
 #include "confdefs.h"
 
 #include <sys/types.h>
@@ -4707,20 +5219,19 @@ return ps->sa_len;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:4712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:5223: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_struct_sockaddr_has_sa_len=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_struct_sockaddr_has_sa_len=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 
 fi
-echo "$ac_t""$ac_cv_struct_sockaddr_has_sa_len" 1>&6
+echo "configure:5233: result: $ac_cv_struct_sockaddr_has_sa_len" >&5
+echo "${ECHO_T}$ac_cv_struct_sockaddr_has_sa_len" >&6
 if test $ac_cv_struct_sockaddr_has_sa_len = yes; then
     cat >>confdefs.h <<\EOF
 #define HAVE_SA_LEN_IN_STRUCT_SOCKADDR 1
@@ -4728,13 +5239,13 @@ EOF
 
 fi
 
-echo $ac_n "checking struct clockinfo for hz... $ac_c" 1>&6
-echo "configure:4733: checking struct clockinfo for hz" 1>&5
+echo "configure:5242: checking struct clockinfo for hz" >&5
+echo $ECHO_N "checking struct clockinfo for hz... $ECHO_C" >&6
 if test "${ac_cv_struct_clockinfo_has_hz+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 4738 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 5248 "configure"
 #include "confdefs.h"
 
 #include <sys/time.h>
@@ -4747,20 +5258,19 @@ return pc->hz;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:4752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:5262: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_struct_clockinfo_has_hz=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_struct_clockinfo_has_hz=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 
 fi
-echo "$ac_t""$ac_cv_struct_clockinfo_has_hz" 1>&6
+echo "configure:5272: result: $ac_cv_struct_clockinfo_has_hz" >&5
+echo "${ECHO_T}$ac_cv_struct_clockinfo_has_hz" >&6
 if test $ac_cv_struct_clockinfo_has_hz = yes; then
     cat >>confdefs.h <<\EOF
 #define HAVE_HZ_IN_STRUCT_CLOCKINFO 1
@@ -4768,13 +5278,13 @@ EOF
 
 fi
 
-echo $ac_n "checking struct clockinfo for tickadj... $ac_c" 1>&6
-echo "configure:4773: checking struct clockinfo for tickadj" 1>&5
+echo "configure:5281: checking struct clockinfo for tickadj" >&5
+echo $ECHO_N "checking struct clockinfo for tickadj... $ECHO_C" >&6
 if test "${ac_cv_struct_clockinfo_has_tickadj+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 4778 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 5287 "configure"
 #include "confdefs.h"
 
 #include <sys/time.h>
@@ -4787,20 +5297,19 @@ return pc->tickadj;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:4792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:5301: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_struct_clockinfo_has_tickadj=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_struct_clockinfo_has_tickadj=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 
 fi
-echo "$ac_t""$ac_cv_struct_clockinfo_has_tickadj" 1>&6
+echo "configure:5311: result: $ac_cv_struct_clockinfo_has_tickadj" >&5
+echo "${ECHO_T}$ac_cv_struct_clockinfo_has_tickadj" >&6
 if test $ac_cv_struct_clockinfo_has_tickadj = yes; then
     cat >>confdefs.h <<\EOF
 #define HAVE_TICKADJ_IN_STRUCT_CLOCKINFO 1
@@ -4808,13 +5317,13 @@ EOF
 
 fi
 
-echo $ac_n "checking for struct ntptimeval... $ac_c" 1>&6
-echo "configure:4813: checking for struct ntptimeval" 1>&5
+echo "configure:5320: checking for struct ntptimeval" >&5
+echo $ECHO_N "checking for struct ntptimeval... $ECHO_C" >&6
 if test "${ac_cv_struct_ntptimeval+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 4818 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 5326 "configure"
 #include "confdefs.h"
 
 #include <sys/time.h>
@@ -4826,33 +5335,33 @@ struct ntptimeval n;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:4831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:5339: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_struct_ntptimeval=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_struct_ntptimeval=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_struct_ntptimeval" 1>&6
+echo "configure:5348: result: $ac_cv_struct_ntptimeval" >&5
+echo "${ECHO_T}$ac_cv_struct_ntptimeval" >&6
 if test $ac_cv_struct_ntptimeval = yes; then
-  cat >>confdefs.h <<\EOF
+
+cat >>confdefs.h <<\EOF
 #define HAVE_STRUCT_NTPTIMEVAL 1
 EOF
 
 fi
 
-echo $ac_n "checking for struct ntptimeval.time.tv_nsec... $ac_c" 1>&6
-echo "configure:4851: checking for struct ntptimeval.time.tv_nsec" 1>&5
+echo "configure:5358: checking for struct ntptimeval.time.tv_nsec" >&5
+echo $ECHO_N "checking for struct ntptimeval.time.tv_nsec... $ECHO_C" >&6
 if test "${ac_cv_member_struct_ntptimeval_time_tv_nsec+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 4856 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 5364 "configure"
 #include "confdefs.h"
 
 #ifdef HAVE_SYS_TIME_H
@@ -4878,33 +5387,33 @@ foo.time.tv_nsec;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:4883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:5391: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_member_struct_ntptimeval_time_tv_nsec=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_member_struct_ntptimeval_time_tv_nsec=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_member_struct_ntptimeval_time_tv_nsec" 1>&6
+echo "configure:5400: result: $ac_cv_member_struct_ntptimeval_time_tv_nsec" >&5
+echo "${ECHO_T}$ac_cv_member_struct_ntptimeval_time_tv_nsec" >&6
 if test $ac_cv_member_struct_ntptimeval_time_tv_nsec = yes; then
-  cat >>confdefs.h <<EOF
+
+cat >>confdefs.h <<EOF
 #define HAVE_STRUCT_NTPTIMEVAL_TIME_TV_NSEC 1
 EOF
 
 fi
 
-echo $ac_n "checking for struct audio_info.monitor_gain... $ac_c" 1>&6
-echo "configure:4903: checking for struct audio_info.monitor_gain" 1>&5
+echo "configure:5410: checking for struct audio_info.monitor_gain" >&5
+echo $ECHO_N "checking for struct audio_info.monitor_gain... $ECHO_C" >&6
 if test "${ac_cv_member_struct_audio_info_monitor_gain+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 4908 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 5416 "configure"
 #include "confdefs.h"
 #ifdef HAVE_SUN_AUDIO_H
 #include <sun/audio.h>
@@ -4921,33 +5430,32 @@ foo.monitor_gain;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:4926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:5434: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_member_struct_audio_info_monitor_gain=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_member_struct_audio_info_monitor_gain=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_member_struct_audio_info_monitor_gain" 1>&6
+echo "configure:5443: result: $ac_cv_member_struct_audio_info_monitor_gain" >&5
+echo "${ECHO_T}$ac_cv_member_struct_audio_info_monitor_gain" >&6
 if test $ac_cv_member_struct_audio_info_monitor_gain = yes; then
-  cat >>confdefs.h <<EOF
+
+cat >>confdefs.h <<EOF
 #define HAVE_STRUCT_AUDIO_INFO_MONITOR_GAIN 1
 EOF
 
 fi
-
-echo $ac_n "checking for struct audio_info.output_muted... $ac_c" 1>&6
-echo "configure:4946: checking for struct audio_info.output_muted" 1>&5
+echo "configure:5452: checking for struct audio_info.output_muted" >&5
+echo $ECHO_N "checking for struct audio_info.output_muted... $ECHO_C" >&6
 if test "${ac_cv_member_struct_audio_info_output_muted+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 4951 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 5458 "configure"
 #include "confdefs.h"
 #ifdef HAVE_SUN_AUDIO_H
 #include <sun/audio.h>
@@ -4964,33 +5472,32 @@ foo.output_muted;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:4969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:5476: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_member_struct_audio_info_output_muted=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_member_struct_audio_info_output_muted=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_member_struct_audio_info_output_muted" 1>&6
+echo "configure:5485: result: $ac_cv_member_struct_audio_info_output_muted" >&5
+echo "${ECHO_T}$ac_cv_member_struct_audio_info_output_muted" >&6
 if test $ac_cv_member_struct_audio_info_output_muted = yes; then
-  cat >>confdefs.h <<EOF
+
+cat >>confdefs.h <<EOF
 #define HAVE_STRUCT_AUDIO_INFO_OUTPUT_MUTED 1
 EOF
 
 fi
-
-echo $ac_n "checking for struct audio_info.blocksize... $ac_c" 1>&6
-echo "configure:4989: checking for struct audio_info.blocksize" 1>&5
+echo "configure:5494: checking for struct audio_info.blocksize" >&5
+echo $ECHO_N "checking for struct audio_info.blocksize... $ECHO_C" >&6
 if test "${ac_cv_member_struct_audio_info_blocksize+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 4994 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 5500 "configure"
 #include "confdefs.h"
 #ifdef HAVE_SUN_AUDIO_H
 #include <sun/audio.h>
@@ -5007,33 +5514,32 @@ foo.blocksize;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:5012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:5518: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_member_struct_audio_info_blocksize=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_member_struct_audio_info_blocksize=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_member_struct_audio_info_blocksize" 1>&6
+echo "configure:5527: result: $ac_cv_member_struct_audio_info_blocksize" >&5
+echo "${ECHO_T}$ac_cv_member_struct_audio_info_blocksize" >&6
 if test $ac_cv_member_struct_audio_info_blocksize = yes; then
-  cat >>confdefs.h <<EOF
+
+cat >>confdefs.h <<EOF
 #define HAVE_STRUCT_AUDIO_INFO_BLOCKSIZE 1
 EOF
 
 fi
-
-echo $ac_n "checking for struct audio_info.hiwat... $ac_c" 1>&6
-echo "configure:5032: checking for struct audio_info.hiwat" 1>&5
+echo "configure:5536: checking for struct audio_info.hiwat" >&5
+echo $ECHO_N "checking for struct audio_info.hiwat... $ECHO_C" >&6
 if test "${ac_cv_member_struct_audio_info_hiwat+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 5037 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 5542 "configure"
 #include "confdefs.h"
 #ifdef HAVE_SUN_AUDIO_H
 #include <sun/audio.h>
@@ -5050,33 +5556,32 @@ foo.hiwat;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:5055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:5560: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_member_struct_audio_info_hiwat=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_member_struct_audio_info_hiwat=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_member_struct_audio_info_hiwat" 1>&6
+echo "configure:5569: result: $ac_cv_member_struct_audio_info_hiwat" >&5
+echo "${ECHO_T}$ac_cv_member_struct_audio_info_hiwat" >&6
 if test $ac_cv_member_struct_audio_info_hiwat = yes; then
-  cat >>confdefs.h <<EOF
+
+cat >>confdefs.h <<EOF
 #define HAVE_STRUCT_AUDIO_INFO_HIWAT 1
 EOF
 
 fi
-
-echo $ac_n "checking for struct audio_info.lowat... $ac_c" 1>&6
-echo "configure:5075: checking for struct audio_info.lowat" 1>&5
+echo "configure:5578: checking for struct audio_info.lowat" >&5
+echo $ECHO_N "checking for struct audio_info.lowat... $ECHO_C" >&6
 if test "${ac_cv_member_struct_audio_info_lowat+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 5080 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 5584 "configure"
 #include "confdefs.h"
 #ifdef HAVE_SUN_AUDIO_H
 #include <sun/audio.h>
@@ -5093,33 +5598,32 @@ foo.lowat;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:5098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:5602: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_member_struct_audio_info_lowat=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_member_struct_audio_info_lowat=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_member_struct_audio_info_lowat" 1>&6
+echo "configure:5611: result: $ac_cv_member_struct_audio_info_lowat" >&5
+echo "${ECHO_T}$ac_cv_member_struct_audio_info_lowat" >&6
 if test $ac_cv_member_struct_audio_info_lowat = yes; then
-  cat >>confdefs.h <<EOF
+
+cat >>confdefs.h <<EOF
 #define HAVE_STRUCT_AUDIO_INFO_LOWAT 1
 EOF
 
 fi
-
-echo $ac_n "checking for struct audio_info.mode... $ac_c" 1>&6
-echo "configure:5118: checking for struct audio_info.mode" 1>&5
+echo "configure:5620: checking for struct audio_info.mode" >&5
+echo $ECHO_N "checking for struct audio_info.mode... $ECHO_C" >&6
 if test "${ac_cv_member_struct_audio_info_mode+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 5123 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 5626 "configure"
 #include "confdefs.h"
 #ifdef HAVE_SUN_AUDIO_H
 #include <sun/audio.h>
@@ -5136,64 +5640,59 @@ foo.mode;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:5141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:5644: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_member_struct_audio_info_mode=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_member_struct_audio_info_mode=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_member_struct_audio_info_mode" 1>&6
+echo "configure:5653: result: $ac_cv_member_struct_audio_info_mode" >&5
+echo "${ECHO_T}$ac_cv_member_struct_audio_info_mode" >&6
 if test $ac_cv_member_struct_audio_info_mode = yes; then
-  cat >>confdefs.h <<EOF
+
+cat >>confdefs.h <<EOF
 #define HAVE_STRUCT_AUDIO_INFO_MODE 1
 EOF
 
 fi
 
-echo $ac_n "checking for inline... $ac_c" 1>&6
-echo "configure:5161: checking for inline" 1>&5
+echo "configure:5663: checking for inline" >&5
+echo $ECHO_N "checking for inline... $ECHO_C" >&6
 if test "${ac_cv_c_inline+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_cv_c_inline=no
 for ac_kw in inline __inline__ __inline; do
-  cat >conftest.$ac_ext <<EOF
-#line 5168 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 5671 "configure"
 #include "confdefs.h"
-
-int
-main ()
-{
 #ifndef __cplusplus
-  } $ac_kw int foo() {
+$ac_kw int foo () {return 0; }
 #endif
 
-  ;
-  return 0;
-}
-EOF
-if { (eval echo configure:5182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:5678: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_c_inline=$ac_kw; break
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
+
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 done
 
 fi
-echo "$ac_t""$ac_cv_c_inline" 1>&6
-case "$ac_cv_c_inline" in
+echo "configure:5689: result: $ac_cv_c_inline" >&5
+echo "${ECHO_T}$ac_cv_c_inline" >&6
+case $ac_cv_c_inline in
   inline | yes) ;;
-  no) cat >>confdefs.h <<\EOF
-#define inline 
+  no)
+cat >>confdefs.h <<\EOF
+#define inline
 EOF
  ;;
   *)  cat >>confdefs.h <<EOF
@@ -5202,65 +5701,34 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking whether char is unsigned... $ac_c" 1>&6
-echo "configure:5207: checking whether char is unsigned" 1>&5
+echo "configure:5704: checking whether char is unsigned" >&5
+echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6
 if 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 <<EOF
-#line 5214 "configure"
-#include "confdefs.h"
-#ifdef __CHAR_UNSIGNED__
-  yes
-#endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  egrep "yes" >/dev/null 2>&1; then
-  rm -rf conftest*
-  ac_cv_c_char_unsigned=yes
-else
-  rm -rf conftest*
-  ac_cv_c_char_unsigned=no
-fi
-rm -f conftest*
-
-else
-if test "$cross_compiling" = yes; then
-    { echo "configure: error: cannot run test program while cross compiling" 1>&2; exit 1; }
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 5236 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 5710 "configure"
 #include "confdefs.h"
-/* volatile prevents gcc2 from optimizing the test away on sparcs.  */
-#if !defined(__STDC__) || __STDC__ != 1
-# define volatile
-#endif
+$ac_includes_default
 int
-main()
+main ()
 {
-  volatile char c = 255;
-  exit(c < 0);
+int _array_ [1 - 2 * !(((char) -1) < 0)]
+  ;
+  return 0;
 }
-EOF
-if { (eval echo configure:5249: \"$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
+_ACEOF
+if { (eval echo configure:5721: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_cv_c_char_unsigned=no
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -fr conftest*
-  ac_cv_c_char_unsigned=no
-fi
-rm -fr conftest*
-
-fi
-
+  ac_cv_c_char_unsigned=yes
 fi
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6
+echo "configure:5730: result: $ac_cv_c_char_unsigned" >&5
+echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6
 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
   cat >>confdefs.h <<\EOF
 #define __CHAR_UNSIGNED__ 1
@@ -5269,43 +5737,167 @@ EOF
 fi
                case "$host" in
  $target)
-    echo $ac_n "checking size of signed char... $ac_c" 1>&6
-echo "configure:5274: checking size of signed char" 1>&5
+    echo "configure:5740: checking for signed char" >&5
+echo $ECHO_N "checking for signed char... $ECHO_C" >&6
+if test "${ac_cv_type_signed_char+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line 5746 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+if ((signed char *) 0)
+  return 0;
+if (sizeof (signed char))
+  return 0;
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:5760: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_cv_type_signed_char=yes
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_cv_type_signed_char=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+fi
+echo "configure:5769: result: $ac_cv_type_signed_char" >&5
+echo "${ECHO_T}$ac_cv_type_signed_char" >&6
+
+echo "configure:5772: checking size of signed char" >&5
+echo $ECHO_N "checking size of signed char... $ECHO_C" >&6
 if test "${ac_cv_sizeof_signed_char+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
+  if test "$ac_cv_type_signed_char" = yes; then
   if test "$cross_compiling" = yes; then
-    { echo "configure: error: cannot run test program while cross compiling" 1>&2; exit 1; }
+  # Depending upon the size, compute the lo and hi bounds.
+cat >conftest.$ac_ext <<_ACEOF
+#line 5781 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+int _array_ [1 - 2 * !((sizeof (signed char)) >= 0)]
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:5792: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_lo=0 ac_try=0
+  while true; do
+    cat >conftest.$ac_ext <<_ACEOF
+#line 5796 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_try)]
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:5807: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_hi=$ac_try; break
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_lo=`expr $ac_try + 1`; ac_try=`expr 2 '*' $ac_try + 1`
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+  done
 else
-  cat >conftest.$ac_ext <<EOF
-#line 5282 "configure"
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_hi=-1 ac_try=-1
+  while true; do
+    cat >conftest.$ac_ext <<_ACEOF
+#line 5822 "configure"
 #include "confdefs.h"
 $ac_includes_default
 int
 main ()
 {
-  FILE *f = fopen ("conftestval", "w");
-  if (!f)
-    exit (1);
-  fprintf (f, "%d\n", sizeof (signed char));
-  exit (0);
+int _array_ [1 - 2 * !((sizeof (signed char)) >= $ac_try)]
+  ;
+  return 0;
 }
-EOF
-if { (eval echo configure:5295: \"$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`
+_ACEOF
+if { (eval echo configure:5833: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_lo=$ac_try; break
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -fr conftest*
-  ac_cv_sizeof_signed_char=0
+  ac_hi=`expr $ac_try - 1`; ac_try=`expr 2 '*' $ac_try`
 fi
-rm -fr conftest*
-
+rm -f conftest.$ac_objext conftest.$ac_ext
+  done
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+  ac_try=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
+  cat >conftest.$ac_ext <<_ACEOF
+#line 5848 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_try)]
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:5859: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_hi=$ac_try
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_lo=`expr $ac_try + 1`
 fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+done
+ac_cv_sizeof_signed_char=$ac_lo
+else
+ cat >conftest.$ac_ext <<_ACEOF
+#line 5871 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+FILE *f = fopen ("conftestval", "w");
+if (!f)
+  exit (1);
+fprintf (f, "%d\n", (sizeof (signed char)));
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:5885: \"$ac_link\") >&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
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
 
 fi
-echo "$ac_t""$ac_cv_sizeof_signed_char" 1>&6
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+fi
+else
+  ac_cv_sizeof_signed_char=0
+fi
+fi
+echo "configure:5899: result: $ac_cv_sizeof_signed_char" >&5
+echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6
 cat >>confdefs.h <<EOF
 #define SIZEOF_SIGNED_CHAR $ac_cv_sizeof_signed_char
 EOF
@@ -5313,49 +5905,173 @@ EOF
     ;;
  *) case "$target" in
      *-*-vxworks*)
-       echo $ac_n "checking size of signed char... $ac_c" 1>&6
-echo "configure:5318: checking size of signed char" 1>&5
+       echo "configure:5908: checking for signed char" >&5
+echo $ECHO_N "checking for signed char... $ECHO_C" >&6
+if test "${ac_cv_type_signed_char+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line 5914 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+if ((signed char *) 0)
+  return 0;
+if (sizeof (signed char))
+  return 0;
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:5928: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_cv_type_signed_char=yes
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_cv_type_signed_char=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+fi
+echo "configure:5937: result: $ac_cv_type_signed_char" >&5
+echo "${ECHO_T}$ac_cv_type_signed_char" >&6
+
+echo "configure:5940: checking size of signed char" >&5
+echo $ECHO_N "checking size of signed char... $ECHO_C" >&6
 if test "${ac_cv_sizeof_signed_char+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
+  if test "$ac_cv_type_signed_char" = yes; then
   if test "$cross_compiling" = yes; then
-  ac_cv_sizeof_signed_char=1
+  # Depending upon the size, compute the lo and hi bounds.
+cat >conftest.$ac_ext <<_ACEOF
+#line 5949 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+int _array_ [1 - 2 * !((sizeof (signed char)) >= 0)]
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:5960: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_lo=0 ac_try=0
+  while true; do
+    cat >conftest.$ac_ext <<_ACEOF
+#line 5964 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_try)]
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:5975: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_hi=$ac_try; break
 else
-  cat >conftest.$ac_ext <<EOF
-#line 5326 "configure"
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_lo=`expr $ac_try + 1`; ac_try=`expr 2 '*' $ac_try + 1`
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+  done
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_hi=-1 ac_try=-1
+  while true; do
+    cat >conftest.$ac_ext <<_ACEOF
+#line 5990 "configure"
 #include "confdefs.h"
 $ac_includes_default
 int
 main ()
 {
-  FILE *f = fopen ("conftestval", "w");
-  if (!f)
-    exit (1);
-  fprintf (f, "%d\n", sizeof (signed char));
-  exit (0);
+int _array_ [1 - 2 * !((sizeof (signed char)) >= $ac_try)]
+  ;
+  return 0;
 }
-EOF
-if { (eval echo configure:5339: \"$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`
+_ACEOF
+if { (eval echo configure:6001: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_lo=$ac_try; break
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -fr conftest*
-  ac_cv_sizeof_signed_char=0
+  ac_hi=`expr $ac_try - 1`; ac_try=`expr 2 '*' $ac_try`
 fi
-rm -fr conftest*
-
+rm -f conftest.$ac_objext conftest.$ac_ext
+  done
 fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+  ac_try=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
+  cat >conftest.$ac_ext <<_ACEOF
+#line 6016 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_try)]
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6027: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_hi=$ac_try
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_lo=`expr $ac_try + 1`
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+done
+ac_cv_sizeof_signed_char=$ac_lo
+else
+ cat >conftest.$ac_ext <<_ACEOF
+#line 6039 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+FILE *f = fopen ("conftestval", "w");
+if (!f)
+  exit (1);
+fprintf (f, "%d\n", (sizeof (signed char)));
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6053: \"$ac_link\") >&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
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
 
 fi
-echo "$ac_t""$ac_cv_sizeof_signed_char" 1>&6
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+fi
+else
+  ac_cv_sizeof_signed_char=0
+fi
+fi
+echo "configure:6067: result: $ac_cv_sizeof_signed_char" >&5
+echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6
 cat >>confdefs.h <<EOF
 #define SIZEOF_SIGNED_CHAR $ac_cv_sizeof_signed_char
 EOF
 
        ;;
-     *) { echo "configure: error: Cross-compiling needs explicit SIZEOF_SIGNED_LONG" 1>&2; exit 1; }
+     *) { echo "configure: error: Cross-compiling needs explicit SIZEOF_SIGNED_LONG" >&2; exit 1; }
         ;;
     esac
     ;;
@@ -5363,43 +6079,167 @@ esac
 
 case "$host" in
  $target)
-    echo $ac_n "checking size of int... $ac_c" 1>&6
-echo "configure:5368: checking size of int" 1>&5
+    echo "configure:6082: checking for int" >&5
+echo $ECHO_N "checking for int... $ECHO_C" >&6
+if test "${ac_cv_type_int+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line 6088 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+if ((int *) 0)
+  return 0;
+if (sizeof (int))
+  return 0;
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6102: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_cv_type_int=yes
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_cv_type_int=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+fi
+echo "configure:6111: result: $ac_cv_type_int" >&5
+echo "${ECHO_T}$ac_cv_type_int" >&6
+
+echo "configure:6114: checking size of int" >&5
+echo $ECHO_N "checking size of int... $ECHO_C" >&6
 if test "${ac_cv_sizeof_int+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
+  if test "$ac_cv_type_int" = yes; then
   if test "$cross_compiling" = yes; then
-    { echo "configure: error: cannot run test program while cross compiling" 1>&2; exit 1; }
+  # Depending upon the size, compute the lo and hi bounds.
+cat >conftest.$ac_ext <<_ACEOF
+#line 6123 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+int _array_ [1 - 2 * !((sizeof (int)) >= 0)]
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6134: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_lo=0 ac_try=0
+  while true; do
+    cat >conftest.$ac_ext <<_ACEOF
+#line 6138 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+int _array_ [1 - 2 * !((sizeof (int)) <= $ac_try)]
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6149: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_hi=$ac_try; break
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_lo=`expr $ac_try + 1`; ac_try=`expr 2 '*' $ac_try + 1`
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+  done
 else
-  cat >conftest.$ac_ext <<EOF
-#line 5376 "configure"
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_hi=-1 ac_try=-1
+  while true; do
+    cat >conftest.$ac_ext <<_ACEOF
+#line 6164 "configure"
 #include "confdefs.h"
 $ac_includes_default
 int
 main ()
 {
-  FILE *f = fopen ("conftestval", "w");
-  if (!f)
-    exit (1);
-  fprintf (f, "%d\n", sizeof (int));
-  exit (0);
+int _array_ [1 - 2 * !((sizeof (int)) >= $ac_try)]
+  ;
+  return 0;
 }
-EOF
-if { (eval echo configure:5389: \"$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`
+_ACEOF
+if { (eval echo configure:6175: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_lo=$ac_try; break
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -fr conftest*
-  ac_cv_sizeof_int=0
+  ac_hi=`expr $ac_try - 1`; ac_try=`expr 2 '*' $ac_try`
 fi
-rm -fr conftest*
-
+rm -f conftest.$ac_objext conftest.$ac_ext
+  done
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+  ac_try=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
+  cat >conftest.$ac_ext <<_ACEOF
+#line 6190 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+int _array_ [1 - 2 * !((sizeof (int)) <= $ac_try)]
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6201: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_hi=$ac_try
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_lo=`expr $ac_try + 1`
 fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+done
+ac_cv_sizeof_int=$ac_lo
+else
+ cat >conftest.$ac_ext <<_ACEOF
+#line 6213 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+FILE *f = fopen ("conftestval", "w");
+if (!f)
+  exit (1);
+fprintf (f, "%d\n", (sizeof (int)));
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6227: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+   test -s conftest$ac_exeext && (./conftest; exit) 2>/dev/null; then
+  ac_cv_sizeof_int=`cat conftestval`
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
 
 fi
-echo "$ac_t""$ac_cv_sizeof_int" 1>&6
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+fi
+else
+  ac_cv_sizeof_int=0
+fi
+fi
+echo "configure:6241: result: $ac_cv_sizeof_int" >&5
+echo "${ECHO_T}$ac_cv_sizeof_int" >&6
 cat >>confdefs.h <<EOF
 #define SIZEOF_INT $ac_cv_sizeof_int
 EOF
@@ -5407,49 +6247,173 @@ EOF
     ;;
  *) case "$target" in
      *-*-vxworks*)
-       echo $ac_n "checking size of int... $ac_c" 1>&6
-echo "configure:5412: checking size of int" 1>&5
+       echo "configure:6250: checking for int" >&5
+echo $ECHO_N "checking for int... $ECHO_C" >&6
+if test "${ac_cv_type_int+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line 6256 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+if ((int *) 0)
+  return 0;
+if (sizeof (int))
+  return 0;
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6270: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_cv_type_int=yes
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_cv_type_int=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+fi
+echo "configure:6279: result: $ac_cv_type_int" >&5
+echo "${ECHO_T}$ac_cv_type_int" >&6
+
+echo "configure:6282: checking size of int" >&5
+echo $ECHO_N "checking size of int... $ECHO_C" >&6
 if test "${ac_cv_sizeof_int+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
+  if test "$ac_cv_type_int" = yes; then
   if test "$cross_compiling" = yes; then
-  ac_cv_sizeof_int=4
+  # Depending upon the size, compute the lo and hi bounds.
+cat >conftest.$ac_ext <<_ACEOF
+#line 6291 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+int _array_ [1 - 2 * !((sizeof (int)) >= 0)]
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6302: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_lo=0 ac_try=0
+  while true; do
+    cat >conftest.$ac_ext <<_ACEOF
+#line 6306 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+int _array_ [1 - 2 * !((sizeof (int)) <= $ac_try)]
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6317: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_hi=$ac_try; break
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_lo=`expr $ac_try + 1`; ac_try=`expr 2 '*' $ac_try + 1`
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+  done
 else
-  cat >conftest.$ac_ext <<EOF
-#line 5420 "configure"
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_hi=-1 ac_try=-1
+  while true; do
+    cat >conftest.$ac_ext <<_ACEOF
+#line 6332 "configure"
 #include "confdefs.h"
 $ac_includes_default
 int
 main ()
 {
-  FILE *f = fopen ("conftestval", "w");
-  if (!f)
-    exit (1);
-  fprintf (f, "%d\n", sizeof (int));
-  exit (0);
+int _array_ [1 - 2 * !((sizeof (int)) >= $ac_try)]
+  ;
+  return 0;
 }
-EOF
-if { (eval echo configure:5433: \"$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`
+_ACEOF
+if { (eval echo configure:6343: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_lo=$ac_try; break
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -fr conftest*
-  ac_cv_sizeof_int=0
+  ac_hi=`expr $ac_try - 1`; ac_try=`expr 2 '*' $ac_try`
 fi
-rm -fr conftest*
-
+rm -f conftest.$ac_objext conftest.$ac_ext
+  done
 fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+  ac_try=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
+  cat >conftest.$ac_ext <<_ACEOF
+#line 6358 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+int _array_ [1 - 2 * !((sizeof (int)) <= $ac_try)]
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6369: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_hi=$ac_try
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_lo=`expr $ac_try + 1`
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+done
+ac_cv_sizeof_int=$ac_lo
+else
+ cat >conftest.$ac_ext <<_ACEOF
+#line 6381 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+FILE *f = fopen ("conftestval", "w");
+if (!f)
+  exit (1);
+fprintf (f, "%d\n", (sizeof (int)));
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6395: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+   test -s conftest$ac_exeext && (./conftest; exit) 2>/dev/null; then
+  ac_cv_sizeof_int=`cat conftestval`
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
 
 fi
-echo "$ac_t""$ac_cv_sizeof_int" 1>&6
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+fi
+else
+  ac_cv_sizeof_int=0
+fi
+fi
+echo "configure:6409: result: $ac_cv_sizeof_int" >&5
+echo "${ECHO_T}$ac_cv_sizeof_int" >&6
 cat >>confdefs.h <<EOF
 #define SIZEOF_INT $ac_cv_sizeof_int
 EOF
 
         ;;
-     *) { echo "configure: error: Cross-compiling needs explicit SIZEOF_INT" 1>&2; exit 1; }
+     *) { echo "configure: error: Cross-compiling needs explicit SIZEOF_INT" >&2; exit 1; }
        ;;
     esac
     ;;
@@ -5457,105 +6421,353 @@ esac
 
 case "$host" in
  $target)
-    echo $ac_n "checking size of long... $ac_c" 1>&6
-echo "configure:5462: checking size of long" 1>&5
+    echo "configure:6424: checking for long" >&5
+echo $ECHO_N "checking for long... $ECHO_C" >&6
+if test "${ac_cv_type_long+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line 6430 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+if ((long *) 0)
+  return 0;
+if (sizeof (long))
+  return 0;
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6444: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_cv_type_long=yes
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_cv_type_long=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+fi
+echo "configure:6453: result: $ac_cv_type_long" >&5
+echo "${ECHO_T}$ac_cv_type_long" >&6
+
+echo "configure:6456: checking size of long" >&5
+echo $ECHO_N "checking size of long... $ECHO_C" >&6
 if test "${ac_cv_sizeof_long+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
+  if test "$ac_cv_type_long" = yes; then
   if test "$cross_compiling" = yes; then
-    { echo "configure: error: cannot run test program while cross compiling" 1>&2; exit 1; }
+  # Depending upon the size, compute the lo and hi bounds.
+cat >conftest.$ac_ext <<_ACEOF
+#line 6465 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+int _array_ [1 - 2 * !((sizeof (long)) >= 0)]
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6476: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_lo=0 ac_try=0
+  while true; do
+    cat >conftest.$ac_ext <<_ACEOF
+#line 6480 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+int _array_ [1 - 2 * !((sizeof (long)) <= $ac_try)]
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6491: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_hi=$ac_try; break
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_lo=`expr $ac_try + 1`; ac_try=`expr 2 '*' $ac_try + 1`
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+  done
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_hi=-1 ac_try=-1
+  while true; do
+    cat >conftest.$ac_ext <<_ACEOF
+#line 6506 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+int _array_ [1 - 2 * !((sizeof (long)) >= $ac_try)]
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6517: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_lo=$ac_try; break
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_hi=`expr $ac_try - 1`; ac_try=`expr 2 '*' $ac_try`
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+  done
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+  ac_try=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
+  cat >conftest.$ac_ext <<_ACEOF
+#line 6532 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+int _array_ [1 - 2 * !((sizeof (long)) <= $ac_try)]
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6543: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_hi=$ac_try
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_lo=`expr $ac_try + 1`
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+done
+ac_cv_sizeof_long=$ac_lo
+else
+ cat >conftest.$ac_ext <<_ACEOF
+#line 6555 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+FILE *f = fopen ("conftestval", "w");
+if (!f)
+  exit (1);
+fprintf (f, "%d\n", (sizeof (long)));
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6569: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+   test -s conftest$ac_exeext && (./conftest; exit) 2>/dev/null; then
+  ac_cv_sizeof_long=`cat conftestval`
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+
+fi
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+fi
+else
+  ac_cv_sizeof_long=0
+fi
+fi
+echo "configure:6583: result: $ac_cv_sizeof_long" >&5
+echo "${ECHO_T}$ac_cv_sizeof_long" >&6
+cat >>confdefs.h <<EOF
+#define SIZEOF_LONG $ac_cv_sizeof_long
+EOF
+
+    ;;
+ *) case "$target" in
+     *-*-vxworks*)
+       echo "configure:6592: checking for long" >&5
+echo $ECHO_N "checking for long... $ECHO_C" >&6
+if test "${ac_cv_type_long+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+#line 6598 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+if ((long *) 0)
+  return 0;
+if (sizeof (long))
+  return 0;
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6612: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_cv_type_long=yes
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_cv_type_long=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+fi
+echo "configure:6621: result: $ac_cv_type_long" >&5
+echo "${ECHO_T}$ac_cv_type_long" >&6
+
+echo "configure:6624: checking size of long" >&5
+echo $ECHO_N "checking size of long... $ECHO_C" >&6
+if test "${ac_cv_sizeof_long+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test "$ac_cv_type_long" = yes; then
+  if test "$cross_compiling" = yes; then
+  # Depending upon the size, compute the lo and hi bounds.
+cat >conftest.$ac_ext <<_ACEOF
+#line 6633 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+int _array_ [1 - 2 * !((sizeof (long)) >= 0)]
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6644: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_lo=0 ac_try=0
+  while true; do
+    cat >conftest.$ac_ext <<_ACEOF
+#line 6648 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+int _array_ [1 - 2 * !((sizeof (long)) <= $ac_try)]
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6659: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_hi=$ac_try; break
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_lo=`expr $ac_try + 1`; ac_try=`expr 2 '*' $ac_try + 1`
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+  done
 else
-  cat >conftest.$ac_ext <<EOF
-#line 5470 "configure"
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_hi=-1 ac_try=-1
+  while true; do
+    cat >conftest.$ac_ext <<_ACEOF
+#line 6674 "configure"
 #include "confdefs.h"
 $ac_includes_default
 int
 main ()
 {
-  FILE *f = fopen ("conftestval", "w");
-  if (!f)
-    exit (1);
-  fprintf (f, "%d\n", sizeof (long));
-  exit (0);
+int _array_ [1 - 2 * !((sizeof (long)) >= $ac_try)]
+  ;
+  return 0;
 }
-EOF
-if { (eval echo configure:5483: \"$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`
+_ACEOF
+if { (eval echo configure:6685: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_lo=$ac_try; break
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -fr conftest*
-  ac_cv_sizeof_long=0
-fi
-rm -fr conftest*
-
+  ac_hi=`expr $ac_try - 1`; ac_try=`expr 2 '*' $ac_try`
 fi
-
+rm -f conftest.$ac_objext conftest.$ac_ext
+  done
 fi
-echo "$ac_t""$ac_cv_sizeof_long" 1>&6
-cat >>confdefs.h <<EOF
-#define SIZEOF_LONG $ac_cv_sizeof_long
-EOF
-
-    ;;
- *) case "$target" in
-     *-*-vxworks*)
-       echo $ac_n "checking size of long... $ac_c" 1>&6
-echo "configure:5506: checking size of long" 1>&5
-if test "${ac_cv_sizeof_long+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+rm -f conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+  ac_try=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
+  cat >conftest.$ac_ext <<_ACEOF
+#line 6700 "configure"
+#include "confdefs.h"
+$ac_includes_default
+int
+main ()
+{
+int _array_ [1 - 2 * !((sizeof (long)) <= $ac_try)]
+  ;
+  return 0;
+}
+_ACEOF
+if { (eval echo configure:6711: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
+  ac_hi=$ac_try
 else
-  if test "$cross_compiling" = yes; then
-  ac_cv_sizeof_long=4
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_lo=`expr $ac_try + 1`
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+done
+ac_cv_sizeof_long=$ac_lo
 else
 cat >conftest.$ac_ext <<EOF
-#line 5514 "configure"
cat >conftest.$ac_ext <<_ACEOF
+#line 6723 "configure"
 #include "confdefs.h"
 $ac_includes_default
 int
 main ()
 {
-  FILE *f = fopen ("conftestval", "w");
-  if (!f)
-    exit (1);
-  fprintf (f, "%d\n", sizeof (long));
-  exit (0);
+FILE *f = fopen ("conftestval", "w");
+if (!f)
+  exit (1);
+fprintf (f, "%d\n", (sizeof (long)));
+  ;
+  return 0;
 }
-EOF
-if { (eval echo configure:5527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
+_ACEOF
+if { (eval echo configure:6737: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } &&
+   test -s conftest$ac_exeext && (./conftest; exit) 2>/dev/null; then
   ac_cv_sizeof_long=`cat conftestval`
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -fr conftest*
-  ac_cv_sizeof_long=0
-fi
-rm -fr conftest*
 
 fi
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
+fi
+else
+  ac_cv_sizeof_long=0
+fi
 fi
-echo "$ac_t""$ac_cv_sizeof_long" 1>&6
+echo "configure:6751: result: $ac_cv_sizeof_long" >&5
+echo "${ECHO_T}$ac_cv_sizeof_long" >&6
 cat >>confdefs.h <<EOF
 #define SIZEOF_LONG $ac_cv_sizeof_long
 EOF
 
         ;;
-     *) { echo "configure: error: Cross-compiling needs explicit SIZEOF_LONG" 1>&2; exit 1; }
+     *) { echo "configure: error: Cross-compiling needs explicit SIZEOF_LONG" >&2; exit 1; }
        ;;
     esac
     ;;
 esac
 
-echo $ac_n "checking for s_char... $ac_c" 1>&6
-echo "configure:5554: checking for s_char" 1>&5
+echo "configure:6764: checking for s_char" >&5
+echo $ECHO_N "checking for s_char... $ECHO_C" >&6
 if test "${ac_cv_type_s_char+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 5559 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 6770 "configure"
 #include "confdefs.h"
 $ac_includes_default
 int
@@ -5568,21 +6780,21 @@ if (sizeof (s_char))
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:5573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:6784: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_type_s_char=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_type_s_char=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_type_s_char" 1>&6
+echo "configure:6793: result: $ac_cv_type_s_char" >&5
+echo "${ECHO_T}$ac_cv_type_s_char" >&6
 if test $ac_cv_type_s_char = yes; then
-  cat >>confdefs.h <<EOF
+
+cat >>confdefs.h <<EOF
 #define HAVE_S_CHAR 1
 EOF
 
@@ -5608,7 +6820,7 @@ EOF
     ;;
  yes0no)
     # We have unsigned chars, can't say 'signed char', no s_char typedef.
-    { echo "configure: error: No way to specify a signed character!" 1>&2; exit 1; }
+    { echo "configure: error: No way to specify a signed character!" >&2; exit 1; }
     ;;
  yes1no)
     # We have unsigned chars, can say 'signed char', no s_char typedef.
@@ -5618,35 +6830,35 @@ EOF
 
     ;;
 esac
-echo $ac_n "checking for uid_t in sys/types.h... $ac_c" 1>&6
-echo "configure:5623: checking for uid_t in sys/types.h" 1>&5
+echo "configure:6833: checking for uid_t in sys/types.h" >&5
+echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
 if test "${ac_cv_type_uid_t+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 5628 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 6839 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 
-EOF
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "uid_t" >/dev/null 2>&1; then
-  rm -rf conftest*
   ac_cv_type_uid_t=yes
 else
-  rm -rf conftest*
   ac_cv_type_uid_t=no
 fi
 rm -f conftest*
 
 fi
-echo "$ac_t""$ac_cv_type_uid_t" 1>&6
+echo "configure:6853: result: $ac_cv_type_uid_t" >&5
+echo "${ECHO_T}$ac_cv_type_uid_t" >&6
 if test $ac_cv_type_uid_t = no; then
-  cat >>confdefs.h <<\EOF
+
+cat >>confdefs.h <<\EOF
 #define uid_t int
 EOF
 
-  cat >>confdefs.h <<\EOF
+cat >>confdefs.h <<\EOF
 #define gid_t int
 EOF
 
@@ -5654,30 +6866,33 @@ fi
 
 case "$target" in
  *-*-linux*)
-    for ac_func in __adjtimex __ntp_gettime
+
+for ac_func in __adjtimex __ntp_gettime
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:5662: checking for $ac_func" 1>&5
+echo "configure:6873: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 5667 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 6879 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -5690,25 +6905,23 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:5695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:6909: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:6918: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
@@ -5722,30 +6935,33 @@ case "$target" in
        # this conditional will need to change.  Maybe use AC_TRY_RUN
        # instead to try to set the time to itself and check errno.
     ;;
- *) for ac_func in clock_settime
+ *)
+for ac_func in clock_settime
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:5730: checking for $ac_func" 1>&5
+echo "configure:6942: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 5735 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 6948 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -5758,54 +6974,55 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:5763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:6978: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:6987: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
     ;;
 esac
+
 for ac_func in daemon
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:5790: checking for $ac_func" 1>&5
+echo "configure:7003: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 5795 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 7009 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -5818,52 +7035,52 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:5823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:7039: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:7048: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
 for ac_func in finite
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:5848: checking for $ac_func" 1>&5
+echo "configure:7061: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 5853 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 7067 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -5876,50 +7093,51 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:5881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:7097: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:7106: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 else
-  for ac_func in isfinite
+
+for ac_func in isfinite
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:5904: checking for $ac_func" 1>&5
+echo "configure:7118: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 5909 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 7124 "configure"
 #include "confdefs.h"
-/* System header to  __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+/* System header to define __stub macros and hopefully few prototypes,
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -5932,45 +7150,43 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:5937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:7154: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:7163: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 else
-  echo $ac_n "checking for isfinite with <math.h>... $ac_c" 1>&6
-echo "configure:5957: checking for isfinite with <math.h>" 1>&5
+  echo "configure:7171: checking for isfinite with <math.h>" >&5
+echo $ECHO_N "checking for isfinite with <math.h>... $ECHO_C" >&6
     _libs=$LIBS
     LIBS="$LIBS -lm"
-    cat >conftest.$ac_ext <<EOF
-#line 5961 "configure"
+    cat >conftest.$ac_ext <<_ACEOF
+#line 7176 "configure"
 #include "confdefs.h"
 #include <math.h>
 int
-main()
+main ()
 {
 float f = 0.0; isfinite(f)
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:5972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
-  echo "$ac_t""yes" 1>&6
+_ACEOF
+if { (eval echo configure:7187: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
+  echo "configure:7188: result: yes" >&5
+echo "${ECHO_T}yes" >&6
       cat >>confdefs.h <<\EOF
 #define HAVE_ISFINITE 1
 EOF
@@ -5978,9 +7194,10 @@ EOF
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
+  echo "configure:7197: result: no" >&5
+echo "${ECHO_T}no" >&6
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     LIBS=$_libs
 fi
 done
@@ -5991,27 +7208,29 @@ done
 for ac_func in getbootfile getdtablesize getrusage gettimeofday
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:5996: checking for $ac_func" 1>&5
+echo "configure:7211: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 6001 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 7217 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -6024,55 +7243,56 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:6029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:7247: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:7256: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
 case "$target" in
  *-pc-cygwin*)
     ;;
- *) for ac_func in getuid
+ *)
+for ac_func in getuid
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:6057: checking for $ac_func" 1>&5
+echo "configure:7273: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 6062 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 7279 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -6085,54 +7305,55 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:6090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:7309: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:7318: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
     ;;
 esac
+
 for ac_func in hstrerror K_open kvm_open memcpy memmove memset
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:6117: checking for $ac_func" 1>&5
+echo "configure:7334: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 6122 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 7340 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -6145,25 +7366,23 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:6150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:7370: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:7379: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
@@ -6171,30 +7390,33 @@ case "$target" in
  *-*-sco3.2v5.0.*)
     # Just stubs.  Idiots.
     ;;
- *) for ac_func in mkstemp
+ *)
+for ac_func in mkstemp
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:6179: checking for $ac_func" 1>&5
+echo "configure:7397: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 6184 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 7403 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -6207,54 +7429,55 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:6212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:7433: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:7442: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
     ;;
 esac
+
 for ac_func in mktime
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:6239: checking for $ac_func" 1>&5
+echo "configure:7458: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 6244 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 7464 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -6267,27 +7490,26 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:6272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:7494: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:7503: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 else
-  LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}"
+
+LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
 fi
 done
 
@@ -6304,30 +7526,33 @@ case "$target" in
  alpha*-dec-osf4*|alpha*-dec-osf5*)
     # mlockall is there, as a #define calling memlk via <sys/mman.h>
     # Not easy to test for - cheat.
-    for ac_func in memlk
+
+for ac_func in memlk
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:6312: checking for $ac_func" 1>&5
+echo "configure:7533: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 6317 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 7539 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -6340,52 +7565,53 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:6345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:7569: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:7578: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
  ac_cv_func_mlockall='yes'
+
 fi
 done
 
-    for ac_func in mlockall
+for ac_func in mlockall
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:6370: checking for $ac_func" 1>&5
+echo "configure:7592: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 6375 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 7598 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -6398,53 +7624,54 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:6403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:7628: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:7637: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
     ;;
- *) for ac_func in mlockall
+ *)
+for ac_func in mlockall
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:6429: checking for $ac_func" 1>&5
+echo "configure:7652: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 6434 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 7658 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -6457,54 +7684,55 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:6462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:7688: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:7697: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
     ;;
 esac
+
 for ac_func in mrand48 srand48 nice nlist
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:6489: checking for $ac_func" 1>&5
+echo "configure:7713: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 6494 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 7719 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -6517,25 +7745,23 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:6522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:7749: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:7758: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
@@ -6543,30 +7769,34 @@ case "$target" in
  *-*-solaris2.6)
     # Broken...
     ;;
- *) for ac_func in ntp_adjtime ntp_gettime
+ *)
+
+for ac_func in ntp_adjtime ntp_gettime
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:6551: checking for $ac_func" 1>&5
+echo "configure:7777: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 6556 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 7783 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -6579,54 +7809,55 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:6584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:7813: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:7822: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
     ;;
 esac
+
 for ac_func in plock pututline pututxline readlink rtprio
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:6611: checking for $ac_func" 1>&5
+echo "configure:7838: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 6616 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 7844 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -6639,54 +7870,55 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:6644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:7874: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:7883: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
 case "$ac_cv_func_mrand48" in
  yes) ;;
- *) for ac_func in random
+ *)
+for ac_func in random
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:6671: checking for $ac_func" 1>&5
+echo "configure:7899: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 6676 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 7905 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -6699,27 +7931,26 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:6704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:7935: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:7944: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 else
-  LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}"
+
+LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
 fi
 done
 
@@ -6732,30 +7963,33 @@ case "$target" in
  *-*-solaris2.5*)
     # Just stubs in solaris2.5.  Idiots.
     ;;
- *) for ac_func in sched_setscheduler
+ *)
+for ac_func in sched_setscheduler
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:6740: checking for $ac_func" 1>&5
+echo "configure:7970: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 6745 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 7976 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -6768,54 +8002,55 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:6773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:8006: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:8015: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
     ;;
 esac
+
 for ac_func in setlinebuf
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:6800: checking for $ac_func" 1>&5
+echo "configure:8031: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 6805 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 8037 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -6828,52 +8063,52 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:6833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:8067: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:8076: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
 for ac_func in setpgid setpriority setsid settimeofday setvbuf sigaction
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:6858: checking for $ac_func" 1>&5
+echo "configure:8089: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 6863 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 8095 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -6886,52 +8121,52 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:6891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:8125: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:8134: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
 for ac_func in sigvec sigset sigsuspend stime strchr sysconf sysctl
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:6916: checking for $ac_func" 1>&5
+echo "configure:8147: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 6921 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 8153 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -6944,52 +8179,52 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:6949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:8183: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:8192: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
 for ac_func in snprintf strdup strerror
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:6974: checking for $ac_func" 1>&5
+echo "configure:8205: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 6979 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 8211 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -7002,27 +8237,26 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:7007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:8241: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:8250: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 else
-  LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}"
+
+LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
 fi
 done
 
@@ -7036,30 +8270,34 @@ case "$target" in
  *-*-openbsd*)
     # Just stubs.  Idiots.
     ;;
- *) for ac_func in timer_create timer_settime
+ *)
+
+for ac_func in timer_create timer_settime
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:7044: checking for $ac_func" 1>&5
+echo "configure:8278: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 7049 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 8284 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -7072,25 +8310,23 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:7077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:8314: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:8323: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
@@ -7100,30 +8336,33 @@ case "$target" in
  *-pc-cygwin*)
     # I have no idea...
     ;;
- *) for ac_func in umask
+ *)
+for ac_func in umask
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:7108: checking for $ac_func" 1>&5
+echo "configure:8343: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 7113 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 8349 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -7136,54 +8375,55 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:7141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:8379: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:8388: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
     ;;
 esac
+
 for ac_func in uname updwtmp updwtmpx vsprintf
 do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
-echo $ac_n "checking for $ac_func... $ac_c" 1>&6
-echo "configure:7168: checking for $ac_func" 1>&5
+echo "configure:8404: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
 if eval "test \"\${$ac_ac_var+set}\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 7173 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 8410 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func(); below.  */
+    which can conflict with char $ac_func (); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char $ac_func();
-char (*f)();
+   builtin and then its argument prototype would still apply.  */
+char $ac_func ();
+char (*f) ();
 
 int
-main()
+main ()
 {
-
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
@@ -7196,35 +8436,33 @@ f = $ac_func;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:7201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:8440: \"$ac_link\") >&5; (eval $ac_link) 2>&5; } && test -s conftest$ac_exeext; then
   eval "$ac_ac_var=yes"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   eval "$ac_ac_var=no"
 fi
-rm -f conftest*
-
+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi
-echo "$ac_t""`eval echo '${'$ac_ac_var'}'`" 1>&6
+echo "configure:8449: result: `eval echo '${'$ac_ac_var'}'`" >&5
+echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
 if test `eval echo '${'$ac_ac_var'}'` = yes; then
   cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
 EOF
+
 fi
 done
 
-echo $ac_n "checking number of arguments to gettimeofday()... $ac_c" 1>&6
-echo "configure:7223: checking number of arguments to gettimeofday()" 1>&5
+echo "configure:8459: checking number of arguments to gettimeofday()" >&5
+echo $ECHO_N "checking number of arguments to gettimeofday()... $ECHO_C" >&6
 if test "${ac_cv_func_Xettimeofday_nargs+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 7228 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 8465 "configure"
 #include "confdefs.h"
 #include <sys/time.h>
 int
@@ -7237,20 +8475,19 @@ settimeofday((struct timeval*)0,(struct timezone*)0);
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:7242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:8479: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_func_Xettimeofday_nargs=2
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_func_Xettimeofday_nargs=1
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 
 fi
-echo "$ac_t""$ac_cv_func_Xettimeofday_nargs" 1>&6
+echo "configure:8489: result: $ac_cv_func_Xettimeofday_nargs" >&5
+echo "${ECHO_T}$ac_cv_func_Xettimeofday_nargs" >&6
 if test $ac_cv_func_Xettimeofday_nargs = 1; then
        cat >>confdefs.h <<\EOF
 #define SYSV_TIMEOFDAY 1
@@ -7258,13 +8495,13 @@ EOF
 
 fi
 
-echo $ac_n "checking number of arguments taken by setpgrp()... $ac_c" 1>&6
-echo "configure:7263: checking number of arguments taken by setpgrp()" 1>&5
+echo "configure:8498: checking number of arguments taken by setpgrp()" >&5
+echo $ECHO_N "checking number of arguments taken by setpgrp()... $ECHO_C" >&6
 if test "${ac_cv_func_setpgrp_nargs+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 7268 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 8504 "configure"
 #include "confdefs.h"
 
 #ifdef HAVE_SYS_TYPES_H
@@ -7281,20 +8518,19 @@ setpgrp(0,0);
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:7286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:8522: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_func_setpgrp_nargs=2
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_func_setpgrp_nargs=0
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 
 fi
-echo "$ac_t""$ac_cv_func_setpgrp_nargs" 1>&6
+echo "configure:8532: result: $ac_cv_func_setpgrp_nargs" >&5
+echo "${ECHO_T}$ac_cv_func_setpgrp_nargs" >&6
 if test $ac_cv_func_setpgrp_nargs = 0; then
         cat >>confdefs.h <<\EOF
 #define HAVE_SETPGRP_0 1
@@ -7305,13 +8541,13 @@ fi
 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:7310: checking argument pointer type of qsort()'s compare function and base" 1>&5
+echo "configure:8544: checking argument pointer type of qsort()'s compare function and base" >&5
+echo $ECHO_N "checking argument pointer type of qsort()'s compare function and base... $ECHO_C" >&6
 if test "${ac_cv_func_qsort_argtype+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 7315 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 8550 "configure"
 #include "confdefs.h"
 
 #include "l_stdlib.h"
@@ -7337,20 +8573,19 @@ qsort(base, 2, sizeof(char *), sortfunc);
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:7342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:8577: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_func_qsort_argtype=void
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_func_qsort_argtype=char
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 
 fi
-echo "$ac_t""$ac_cv_func_qsort_argtype" 1>&6
+echo "configure:8587: result: $ac_cv_func_qsort_argtype" >&5
+echo "${ECHO_T}$ac_cv_func_qsort_argtype" >&6
 case "$ac_cv_func_qsort_argtype" in
  void)
     cat >>confdefs.h <<\EOF
@@ -7362,13 +8597,13 @@ esac
 
 CFLAGS=$save_CFLAGS
 
-echo $ac_n "checking if we need to declare 'errno'... $ac_c" 1>&6
-echo "configure:7367: checking if we need to declare 'errno'" 1>&5
+echo "configure:8600: checking if we need to declare 'errno'" >&5
+echo $ECHO_N "checking if we need to declare 'errno'... $ECHO_C" >&6
 if test "${ac_cv_decl_errno+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 7372 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 8606 "configure"
 #include "confdefs.h"
 #ifdef HAVE_ERRNO_H
 #include <errno.h>
@@ -7380,19 +8615,18 @@ errno = 0;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:7385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:8619: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_decl_errno=no
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_decl_errno=yes
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_decl_errno" 1>&6
+echo "configure:8628: result: $ac_cv_decl_errno" >&5
+echo "${ECHO_T}$ac_cv_decl_errno" >&6
 case "$ac_cv_decl_errno" in
  yes) cat >>confdefs.h <<\EOF
 #define DECL_ERRNO 1
@@ -7400,13 +8634,13 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking if we may declare 'h_errno'... $ac_c" 1>&6
-echo "configure:7405: checking if we may declare 'h_errno'" 1>&5
+echo "configure:8637: checking if we may declare 'h_errno'" >&5
+echo $ECHO_N "checking if we may declare 'h_errno'... $ECHO_C" >&6
 if test "${ac_cv_decl_h_errno+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 7410 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 8643 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #ifdef HAVE_NETINET_IN_H
@@ -7428,19 +8662,18 @@ extern int h_errno;
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:7433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:8666: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_decl_h_errno=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_decl_h_errno=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_decl_h_errno" 1>&6
+echo "configure:8675: result: $ac_cv_decl_h_errno" >&5
+echo "${ECHO_T}$ac_cv_decl_h_errno" >&6
 case "$ac_cv_decl_h_errno" in
  yes) cat >>confdefs.h <<\EOF
 #define DECL_H_ERRNO 1
@@ -7448,13 +8681,13 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking if declaring 'char *sys_errlist[]' is ok... $ac_c" 1>&6
-echo "configure:7453: checking [if declaring 'char *sys_errlist[]' is ok]" 1>&5
+echo "configure:8684: checking if declaring 'char *sys_errlist[]' is ok" >&5
+echo $ECHO_N "checking if declaring 'char *sys_errlist[]' is ok... $ECHO_C" >&6
 if test "${ac_cv_decl_sys_errlist+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 7458 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 8690 "configure"
 #include "confdefs.h"
 #include <stdio.h>
 #ifdef HAVE_ERRNO_H
@@ -7468,19 +8701,18 @@ extern char *sys_errlist[];
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:7473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:8705: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_decl_sys_errlist=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_decl_sys_errlist=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_decl_sys_errlist" 1>&6
+echo "configure:8714: result: $ac_cv_decl_sys_errlist" >&5
+echo "${ECHO_T}$ac_cv_decl_sys_errlist" >&6
 case "$ac_cv_decl_sys_errlist" in
  yes) cat >>confdefs.h <<\EOF
 #define CHAR_SYS_ERRLIST 1
@@ -7488,13 +8720,13 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking if declaring 'syscall()' is ok... $ac_c" 1>&6
-echo "configure:7493: checking if declaring 'syscall()' is ok" 1>&5
+echo "configure:8723: checking if declaring 'syscall()' is ok" >&5
+echo $ECHO_N "checking if declaring 'syscall()' is ok... $ECHO_C" >&6
 if test "${ac_cv_decl_syscall+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 7498 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 8729 "configure"
 #include "confdefs.h"
 
 #ifdef HAVE_SYS_TYPES_H
@@ -7516,19 +8748,18 @@ extern int syscall P((int, ...));
   ;
   return 0;
 }
-EOF
-if { (eval echo configure:7521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
-  rm -rf conftest*
+_ACEOF
+if { (eval echo configure:8752: \"$ac_compile\") >&5; (eval $ac_compile) 2>&5; } && test -s conftest.$ac_objext; then
   ac_cv_decl_syscall=yes
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_decl_syscall=no
 fi
-rm -f conftest*
+rm -f conftest.$ac_objext conftest.$ac_ext
 fi
-echo "$ac_t""$ac_cv_decl_syscall" 1>&6
+echo "configure:8761: result: $ac_cv_decl_syscall" >&5
+echo "${ECHO_T}$ac_cv_decl_syscall" >&6
 case "$ac_cv_decl_syscall" in
  yes) cat >>confdefs.h <<\EOF
 #define DECL_SYSCALL 1
@@ -7802,19 +9033,20 @@ EOF
     ;;
 esac
 
-echo $ac_n "checking if we should use a streams device for ifconfig... $ac_c" 1>&6
-echo "configure:7807: checking if we should use a streams device for ifconfig" 1>&5
+echo "configure:9036: checking if we should use a streams device for ifconfig" >&5
+echo $ECHO_N "checking if we should use a streams device for ifconfig... $ECHO_C" >&6
 if test "${ac_cv_var_use_streams_device_for_ifconfig+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_cv_var_use_streams_device_for_ifconfig=no
 fi
-echo "$ac_t""$ac_cv_var_use_streams_device_for_ifconfig" 1>&6
+echo "configure:9043: result: $ac_cv_var_use_streams_device_for_ifconfig" >&5
+echo "${ECHO_T}$ac_cv_var_use_streams_device_for_ifconfig" >&6
 
-echo $ac_n "checking if we need extra room for SO_RCVBUF... $ac_c" 1>&6
-echo "configure:7816: checking if we need extra room for SO_RCVBUF" 1>&5
+echo "configure:9046: checking if we need extra room for SO_RCVBUF" >&5
+echo $ECHO_N "checking if we need extra room for SO_RCVBUF... $ECHO_C" >&6
 if test "${ac_cv_var_rcvbuf_slop+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ans=no
 case "$target" in
@@ -7824,7 +9056,8 @@ case "$target" in
 esac
 ac_cv_var_rcvbuf_slop=$ans
 fi
-echo "$ac_t""$ac_cv_var_rcvbuf_slop" 1>&6
+echo "configure:9059: result: $ac_cv_var_rcvbuf_slop" >&5
+echo "${ECHO_T}$ac_cv_var_rcvbuf_slop" >&6
 case "$ac_cv_var_rcvbuf_slop" in
  yes) cat >>confdefs.h <<\EOF
 #define NEED_RCVBUF_SLOP 1
@@ -7832,10 +9065,10 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking if we will open the broadcast socket... $ac_c" 1>&6
-echo "configure:7837: checking if we will open the broadcast socket" 1>&5
+echo "configure:9068: checking if we will open the broadcast socket" >&5
+echo $ECHO_N "checking if we will open the broadcast socket... $ECHO_C" >&6
 if test "${ac_cv_var_open_bcast_socket+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ans=yes
 case "$target" in
@@ -7848,7 +9081,8 @@ case "$target" in
 esac
 ac_cv_var_open_bcast_socket=$ans
 fi
-echo "$ac_t""$ac_cv_var_open_bcast_socket" 1>&6
+echo "configure:9084: result: $ac_cv_var_open_bcast_socket" >&5
+echo "${ECHO_T}$ac_cv_var_open_bcast_socket" >&6
 case "$ac_cv_var_open_bcast_socket" in
  yes) cat >>confdefs.h <<\EOF
 #define OPEN_BCAST_SOCKET 1
@@ -7856,10 +9090,10 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking if we want the HPUX version of FindConfig()... $ac_c" 1>&6
-echo "configure:7861: checking if we want the HPUX version of FindConfig()" 1>&5
+echo "configure:9093: checking if we want the HPUX version of FindConfig()" >&5
+echo $ECHO_N "checking if we want the HPUX version of FindConfig()... $ECHO_C" >&6
 if test "${ac_cv_var_hpux_findconfig+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ans=no
 case "$target" in
@@ -7869,7 +9103,8 @@ case "$target" in
 esac
 ac_cv_var_hpux_findconfig=$ans
 fi
-echo "$ac_t""$ac_cv_var_hpux_findconfig" 1>&6
+echo "configure:9106: result: $ac_cv_var_hpux_findconfig" >&5
+echo "${ECHO_T}$ac_cv_var_hpux_findconfig" >&6
 case "$ac_cv_var_hpux_findconfig" in
  yes) cat >>confdefs.h <<\EOF
 #define NEED_HPUX_FINDCONFIG 1
@@ -7877,10 +9112,10 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking if process groups are set with -pid... $ac_c" 1>&6
-echo "configure:7882: checking if process groups are set with -pid" 1>&5
+echo "configure:9115: checking if process groups are set with -pid" >&5
+echo $ECHO_N "checking if process groups are set with -pid... $ECHO_C" >&6
 if test "${ac_cv_arg_setpgrp_negpid+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   case "$target" in
  *-*-hpux[567]*)
@@ -7904,7 +9139,8 @@ else
 esac
 ac_cv_arg_setpgrp_negpid=$ans
 fi
-echo "$ac_t""$ac_cv_arg_setpgrp_negpid" 1>&6
+echo "configure:9142: result: $ac_cv_arg_setpgrp_negpid" >&5
+echo "${ECHO_T}$ac_cv_arg_setpgrp_negpid" >&6
 case "$ac_cv_arg_setpgrp_negpid" in
  yes) cat >>confdefs.h <<\EOF
 #define UDP_BACKWARDS_SETOWN 1
@@ -7912,10 +9148,10 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking if we need a ctty for F_SETOWN... $ac_c" 1>&6
-echo "configure:7917: checking if we need a ctty for F_SETOWN" 1>&5
+echo "configure:9151: checking if we need a ctty for F_SETOWN" >&5
+echo $ECHO_N "checking if we need a ctty for F_SETOWN... $ECHO_C" >&6
 if test "${ac_cv_func_ctty_for_f_setown+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   case "$target" in
  *-*-bsdi2*)
@@ -7938,7 +9174,8 @@ else
 esac
 ac_cv_func_ctty_for_f_setown=$ans
 fi
-echo "$ac_t""$ac_cv_func_ctty_for_f_setown" 1>&6
+echo "configure:9177: result: $ac_cv_func_ctty_for_f_setown" >&5
+echo "${ECHO_T}$ac_cv_func_ctty_for_f_setown" >&6
 case "$ac_cv_func_ctty_for_f_setown" in
  yes) cat >>confdefs.h <<\EOF
 #define USE_FSETOWNCTTY 1
@@ -7947,8 +9184,8 @@ EOF
 esac
 
 ntp_warning='GRONK'
-echo $ac_n "checking if we'll use clock_settime or settimeofday or stime... $ac_c" 1>&6
-echo "configure:7952: checking if we'll use clock_settime or settimeofday or stime" 1>&5
+echo "configure:9187: checking if we'll use clock_settime or settimeofday or stime" >&5
+echo $ECHO_N "checking if we'll use clock_settime or settimeofday or stime... $ECHO_C" >&6
 case "$ac_cv_func_clock_settime$ac_cv_func_settimeofday$ac_cv_func_stime" in
  yes*)
     ntp_warning=''
@@ -7962,24 +9199,25 @@ case "$ac_cv_func_clock_settime$ac_cv_func_settimeofday$ac_cv_func_stime" in
     ntp_warning='Which is the worst of the three'
     ans='stime()'
     ;;
- *) 
+ *)
     case "$host" in
      $target) ntp_warning='Which leaves us with nothing to use!'
     ans=none
     ;;
 esac
 esac
-echo "$ac_t""$ans" 1>&6
+echo "configure:9209: result: $ans" >&5
+echo "${ECHO_T}$ans" >&6
 case "$ntp_warning" in
  '') ;;
- *) echo "configure: warning: *** $ntp_warning ***" 1>&2
+ *) echo "configure: WARNING: *** $ntp_warning ***" >&2
     ;;
 esac
 
-echo $ac_n "checking if we have a losing syscall()... $ac_c" 1>&6
-echo "configure:7981: checking if we have a losing syscall()" 1>&5
+echo "configure:9217: checking if we have a losing syscall()" >&5
+echo $ECHO_N "checking if we have a losing syscall()... $ECHO_C" >&6
 if test "${ac_cv_var_syscall_bug+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   case "$target" in
  *-*-solaris2.4*)
@@ -7990,7 +9228,8 @@ else
 esac
 ac_cv_var_syscall_bug=$ans
 fi
-echo "$ac_t""$ac_cv_var_syscall_bug" 1>&6
+echo "configure:9231: result: $ac_cv_var_syscall_bug" >&5
+echo "${ECHO_T}$ac_cv_var_syscall_bug" >&6
 case "$ac_cv_var_syscall_bug" in
  yes) cat >>confdefs.h <<\EOF
 #define SYSCALL_BUG 1
@@ -7998,10 +9237,10 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking for Streams/TLI... $ac_c" 1>&6
-echo "configure:8003: checking for Streams/TLI" 1>&5
+echo "configure:9240: checking for Streams/TLI" >&5
+echo $ECHO_N "checking for Streams/TLI... $ECHO_C" >&6
 if test "${ac_cv_var_streams_tli+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
    case "$ac_cv_header_sys_stropts_h" in
   yes)
@@ -8016,7 +9255,8 @@ else
  esac
  ac_cv_var_streams_tli=$ans
 fi
-echo "$ac_t""$ac_cv_var_streams_tli" 1>&6
+echo "configure:9258: result: $ac_cv_var_streams_tli" >&5
+echo "${ECHO_T}$ac_cv_var_streams_tli" >&6
 case "$ac_cv_var_streams_tli" in
  yes)
     cat >>confdefs.h <<\EOF
@@ -8026,37 +9266,36 @@ EOF
     ;;
 esac
 
-echo $ac_n "checking for SIGIO... $ac_c" 1>&6
-echo "configure:8031: checking for SIGIO" 1>&5
+echo "configure:9269: checking for SIGIO" >&5
+echo $ECHO_N "checking for SIGIO... $ECHO_C" >&6
 if test "${ac_cv_hdr_def_sigio+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 8036 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 9275 "configure"
 #include "confdefs.h"
 #include <signal.h>
 #ifdef SIGIO
    yes
 #endif
-  
-EOF
+
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "yes" >/dev/null 2>&1; then
-  rm -rf conftest*
   ac_cv_hdr_def_sigio=yes
 else
-  rm -rf conftest*
   ac_cv_hdr_def_sigio=no
 fi
 rm -f conftest*
 
 fi
-echo "$ac_t""$ac_cv_hdr_def_sigio" 1>&6
+echo "configure:9292: result: $ac_cv_hdr_def_sigio" >&5
+echo "${ECHO_T}$ac_cv_hdr_def_sigio" >&6
 
-echo $ac_n "checking if we want to use signalled IO... $ac_c" 1>&6
-echo "configure:8058: checking if we want to use signalled IO" 1>&5
+echo "configure:9295: checking if we want to use signalled IO" >&5
+echo $ECHO_N "checking if we want to use signalled IO... $ECHO_C" >&6
 if test "${ac_cv_var_signalled_io+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ans=no
 case "$ac_cv_hdr_def_sigio" in
@@ -8095,7 +9334,8 @@ case "$ac_cv_hdr_def_sigio" in
 esac
 ac_cv_var_signalled_io=$ans
 fi
-echo "$ac_t""$ac_cv_var_signalled_io" 1>&6
+echo "configure:9337: result: $ac_cv_var_signalled_io" >&5
+echo "${ECHO_T}$ac_cv_var_signalled_io" >&6
 case "$ac_cv_var_signalled_io" in
  yes) cat >>confdefs.h <<\EOF
 #define HAVE_SIGNALED_IO 1
@@ -8103,64 +9343,62 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking for SIGPOLL... $ac_c" 1>&6
-echo "configure:8108: checking for SIGPOLL" 1>&5
+echo "configure:9346: checking for SIGPOLL" >&5
+echo $ECHO_N "checking for SIGPOLL... $ECHO_C" >&6
 if test "${ac_cv_hdr_def_sigpoll+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 8113 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 9352 "configure"
 #include "confdefs.h"
 #include <signal.h>
 #ifdef SIGPOLL
   yes
 #endif
-EOF
+
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "yes" >/dev/null 2>&1; then
-  rm -rf conftest*
   ac_cv_hdr_def_sigpoll=yes
 else
-  rm -rf conftest*
   ac_cv_hdr_def_sigpoll=no
 fi
 rm -f conftest*
 
 fi
-echo "$ac_t""$ac_cv_hdr_def_sigpoll" 1>&6
+echo "configure:9369: result: $ac_cv_hdr_def_sigpoll" >&5
+echo "${ECHO_T}$ac_cv_hdr_def_sigpoll" >&6
 
-echo $ac_n "checking for SIGSYS... $ac_c" 1>&6
-echo "configure:8135: checking for SIGSYS" 1>&5
+echo "configure:9372: checking for SIGSYS" >&5
+echo $ECHO_N "checking for SIGSYS... $ECHO_C" >&6
 if test "${ac_cv_hdr_def_sigsys+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 8140 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 9378 "configure"
 #include "confdefs.h"
 #include <signal.h>
 #ifdef SIGSYS
   yes
 #endif
-EOF
+
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "yes" >/dev/null 2>&1; then
-  rm -rf conftest*
   ac_cv_hdr_def_sigsys=yes
 else
-  rm -rf conftest*
   ac_cv_hdr_def_sigsys=no
 fi
 rm -f conftest*
 
 fi
-echo "$ac_t""$ac_cv_hdr_def_sigsys" 1>&6
+echo "configure:9395: result: $ac_cv_hdr_def_sigsys" >&5
+echo "${ECHO_T}$ac_cv_hdr_def_sigsys" >&6
 
-echo $ac_n "checking if we can use SIGPOLL for UDP I/O... $ac_c" 1>&6
-echo "configure:8162: checking if we can use SIGPOLL for UDP I/O" 1>&5
+echo "configure:9398: checking if we can use SIGPOLL for UDP I/O" >&5
+echo $ECHO_N "checking if we can use SIGPOLL for UDP I/O... $ECHO_C" >&6
 if test "${ac_cv_var_use_udp_sigpoll+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ans=no
 case "$ac_cv_hdr_def_sigpoll" in
@@ -8203,7 +9441,8 @@ case "$ac_cv_hdr_def_sigpoll" in
 esac
 ac_cv_var_use_udp_sigpoll=$ans
 fi
-echo "$ac_t""$ac_cv_var_use_udp_sigpoll" 1>&6
+echo "configure:9444: result: $ac_cv_var_use_udp_sigpoll" >&5
+echo "${ECHO_T}$ac_cv_var_use_udp_sigpoll" >&6
 case "$ac_cv_var_use_udp_sigpoll" in
  yes) cat >>confdefs.h <<\EOF
 #define USE_UDP_SIGPOLL 1
@@ -8211,10 +9450,10 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking if we can use SIGPOLL for TTY I/O... $ac_c" 1>&6
-echo "configure:8216: checking if we can use SIGPOLL for TTY I/O" 1>&5
+echo "configure:9453: checking if we can use SIGPOLL for TTY I/O" >&5
+echo $ECHO_N "checking if we can use SIGPOLL for TTY I/O... $ECHO_C" >&6
 if test "${ac_cv_var_use_tty_sigpoll+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ans=no
 case "$ac_cv_hdr_def_sigpoll" in
@@ -8257,7 +9496,8 @@ case "$ac_cv_hdr_def_sigpoll" in
 esac
 ac_cv_var_use_tty_sigpoll=$ans
 fi
-echo "$ac_t""$ac_cv_var_use_tty_sigpoll" 1>&6
+echo "configure:9499: result: $ac_cv_var_use_tty_sigpoll" >&5
+echo "${ECHO_T}$ac_cv_var_use_tty_sigpoll" >&6
 case "$ac_cv_var_use_tty_sigpoll" in
  yes) cat >>confdefs.h <<\EOF
 #define USE_TTY_SIGPOLL 1
@@ -8267,32 +9507,31 @@ esac
 
 case "$ac_cv_header_sys_sio_h" in
  yes)
-    echo $ac_n "checking sys/sio.h for TIOCDCDTIMESTAMP... $ac_c" 1>&6
-echo "configure:8272: checking sys/sio.h for TIOCDCDTIMESTAMP" 1>&5
+    echo "configure:9510: checking sys/sio.h for TIOCDCDTIMESTAMP" >&5
+echo $ECHO_N "checking sys/sio.h for TIOCDCDTIMESTAMP... $ECHO_C" >&6
 if test "${ac_cv_hdr_def_tiocdcdtimestamp+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 8277 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 9516 "configure"
 #include "confdefs.h"
 #include <sys/sio.h>
 #ifdef TIOCDCDTIMESTAMP
   yes
 #endif
-     
-EOF
+
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "yes" >/dev/null 2>&1; then
-  rm -rf conftest*
   ac_cv_hdr_def_tiocdcdtimestamp=yes
 else
-  rm -rf conftest*
   ac_cv_hdr_def_tiocdcdtimestamp=no
 fi
 rm -f conftest*
 
 fi
-echo "$ac_t""$ac_cv_hdr_def_tiocdcdtimestamp" 1>&6
+echo "configure:9533: result: $ac_cv_hdr_def_tiocdcdtimestamp" >&5
+echo "${ECHO_T}$ac_cv_hdr_def_tiocdcdtimestamp" >&6
     ;;
 esac
 
@@ -8302,10 +9541,10 @@ case "$ac_cv_hdr_def_tiocdcdtimestamp" in
     ;;
 esac
 
-echo $ac_n "checking if nlist() values might require extra indirection... $ac_c" 1>&6
-echo "configure:8307: checking if nlist() values might require extra indirection" 1>&5
+echo "configure:9544: checking if nlist() values might require extra indirection" >&5
+echo $ECHO_N "checking if nlist() values might require extra indirection... $ECHO_C" >&6
 if test "${ac_cv_var_nlist_extra_indirection+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ans=no
 case "$target" in
@@ -8315,7 +9554,8 @@ case "$target" in
 esac
 ac_cv_var_nlist_extra_indirection=$ans
 fi
-echo "$ac_t""$ac_cv_var_nlist_extra_indirection" 1>&6
+echo "configure:9557: result: $ac_cv_var_nlist_extra_indirection" >&5
+echo "${ECHO_T}$ac_cv_var_nlist_extra_indirection" >&6
 case "$ac_cv_var_nlist_extra_indirection" in
  yes) cat >>confdefs.h <<\EOF
 #define NLIST_EXTRA_INDIRECTION 1
@@ -8323,10 +9563,10 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking for a minimum recommended value of tickadj... $ac_c" 1>&6
-echo "configure:8328: checking for a minimum recommended value of tickadj" 1>&5
+echo "configure:9566: checking for a minimum recommended value of tickadj" >&5
+echo $ECHO_N "checking for a minimum recommended value of tickadj... $ECHO_C" >&6
 if test "${ac_cv_var_min_rec_tickadj+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ans=no
 case "$target" in
@@ -8336,7 +9576,8 @@ case "$target" in
 esac
 ac_cv_var_min_rec_tickadj=$ans
 fi
-echo "$ac_t""$ac_cv_var_min_rec_tickadj" 1>&6
+echo "configure:9579: result: $ac_cv_var_min_rec_tickadj" >&5
+echo "${ECHO_T}$ac_cv_var_min_rec_tickadj" >&6
 case "$ac_cv_var_min_rec_tickadj" in
  ''|no) ;;
  *) cat >>confdefs.h <<EOF
@@ -8345,10 +9586,10 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking if the TTY code permits PARENB and IGNPAR... $ac_c" 1>&6
-echo "configure:8350: checking if the TTY code permits PARENB and IGNPAR" 1>&5
+echo "configure:9589: checking if the TTY code permits PARENB and IGNPAR" >&5
+echo $ECHO_N "checking if the TTY code permits PARENB and IGNPAR... $ECHO_C" >&6
 if test "${ac_cv_var_no_parenb_ignpar+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ans=no
 case "$target" in
@@ -8361,7 +9602,8 @@ case "$target" in
 esac
 ac_cv_var_no_parenb_ignpar=$ans
 fi
-echo "$ac_t""$ac_cv_var_no_parenb_ignpar" 1>&6
+echo "configure:9605: result: $ac_cv_var_no_parenb_ignpar" >&5
+echo "${ECHO_T}$ac_cv_var_no_parenb_ignpar" >&6
 case "$ac_cv_var_no_parenb_ignpar" in
  yes) cat >>confdefs.h <<\EOF
 #define NO_PARENB_IGNPAR 1
@@ -8369,8 +9611,8 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking if we're including debugging code... $ac_c" 1>&6
-echo "configure:8374: checking if we're including debugging code" 1>&5
+echo "configure:9614: checking if we're including debugging code" >&5
+echo $ECHO_N "checking if we're including debugging code... $ECHO_C" >&6
 # Check whether --enable-debugging or --disable-debugging was given.
 if test "${enable_debugging+set}" = set; then
   enableval="$enable_debugging"
@@ -8378,17 +9620,17 @@ if test "${enable_debugging+set}" = set; then
 else
   ntp_ok=yes
 fi
-
 if test "$ntp_ok" = "yes"; then
     cat >>confdefs.h <<\EOF
 #define DEBUG 1
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:9629: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking for a the number of minutes in a DST adjustment... $ac_c" 1>&6
-echo "configure:8392: checking for a the number of minutes in a DST adjustment" 1>&5
+echo "configure:9632: checking for a the number of minutes in a DST adjustment" >&5
+echo $ECHO_N "checking for a the number of minutes in a DST adjustment... $ECHO_C" >&6
 # Check whether --enable-dst_minutes or --disable-dst_minutes was given.
 if test "${enable_dst_minutes+set}" = set; then
   enableval="$enable_dst_minutes"
@@ -8396,23 +9638,24 @@ if test "${enable_dst_minutes+set}" = set; then
 else
   ans=60
 fi
-
 cat >>confdefs.h <<EOF
 #define DSTMINUTES $ans
 EOF
 
-echo "$ac_t""$ans" 1>&6
+echo "configure:9645: result: $ans" >&5
+echo "${ECHO_T}$ans" >&6
 
-echo $ac_n "checking if we have the tty_clk line discipline/streams module... $ac_c" 1>&6
-echo "configure:8408: checking if we have the tty_clk line discipline/streams module" 1>&5
+echo "configure:9648: checking if we have the tty_clk line discipline/streams module" >&5
+echo $ECHO_N "checking if we have the tty_clk line discipline/streams module... $ECHO_C" >&6
 if test "${ac_cv_var_tty_clk+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   case "$ac_cv_header_sys_clkdefs_h$ac_cv_hdr_def_tiocdcdtimestamp" in
   *yes*) ac_cv_var_tty_clk=yes ;;
  esac
 fi
-echo "$ac_t""$ac_cv_var_tty_clk" 1>&6
+echo "configure:9657: result: $ac_cv_var_tty_clk" >&5
+echo "${ECHO_T}$ac_cv_var_tty_clk" >&6
 case "$ac_cv_var_tty_clk" in
  yes) cat >>confdefs.h <<\EOF
 #define TTYCLK 1
@@ -8420,14 +9663,15 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking for the ppsclock streams module... $ac_c" 1>&6
-echo "configure:8425: checking for the ppsclock streams module" 1>&5
+echo "configure:9666: checking for the ppsclock streams module" >&5
+echo $ECHO_N "checking for the ppsclock streams module... $ECHO_C" >&6
 if test "${ac_cv_var_ppsclock+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_cv_var_ppsclock=$ac_cv_struct_ppsclockev
 fi
-echo "$ac_t""$ac_cv_var_ppsclock" 1>&6
+echo "configure:9673: result: $ac_cv_var_ppsclock" >&5
+echo "${ECHO_T}$ac_cv_var_ppsclock" >&6
 case "$ac_cv_var_ppsclock" in
  yes) cat >>confdefs.h <<\EOF
 #define PPS 1
@@ -8435,33 +9679,34 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking for kernel multicast support... $ac_c" 1>&6
-echo "configure:8440: checking for kernel multicast support" 1>&5
+echo "configure:9682: checking for kernel multicast support" >&5
+echo $ECHO_N "checking for kernel multicast support... $ECHO_C" >&6
 if test "${ac_cv_var_mcast+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_cv_var_mcast=no
   case "$target" in
    i386-sequent-sysv4) ;;
-   *) cat >conftest.$ac_ext <<EOF
-#line 8448 "configure"
+   *) cat >conftest.$ac_ext <<_ACEOF
+#line 9691 "configure"
 #include "confdefs.h"
 #include <netinet/in.h>
 #ifdef IP_ADD_MEMBERSHIP
    yes
 #endif
-  
-EOF
+
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "yes" >/dev/null 2>&1; then
-  rm -rf conftest*
   ac_cv_var_mcast=yes
+
 fi
 rm -f conftest*
  ;;
   esac
 fi
-echo "$ac_t""$ac_cv_var_mcast" 1>&6
+echo "configure:9708: result: $ac_cv_var_mcast" >&5
+echo "${ECHO_T}$ac_cv_var_mcast" >&6
 case "$ac_cv_var_mcast" in
  yes) cat >>confdefs.h <<\EOF
 #define MCAST 1
@@ -8469,10 +9714,10 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking availability of ntp_{adj,get}time()... $ac_c" 1>&6
-echo "configure:8474: checking [availability of ntp_{adj,get}time()]" 1>&5
+echo "configure:9717: checking availability of ntp_{adj,get}time()" >&5
+echo $ECHO_N "checking availability of ntp_{adj,get}time()... $ECHO_C" >&6
 if test "${ac_cv_var_ntp_syscalls+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_cv_var_ntp_syscalls=no
  case "$ac_cv_func___adjtimex" in
@@ -8483,19 +9728,19 @@ else
       yesyes)
         ac_cv_var_ntp_syscalls=libc
         ;;
-      *) cat >conftest.$ac_ext <<EOF
-#line 8488 "configure"
+      *) cat >conftest.$ac_ext <<_ACEOF
+#line 9732 "configure"
 #include "confdefs.h"
 #include <sys/syscall.h>
 #if defined(SYS_ntp_gettime) && defined(SYS_ntp_adjtime)
            yes
 #endif
-          
-EOF
+
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "yes" >/dev/null 2>&1; then
-  rm -rf conftest*
   ac_cv_var_ntp_syscalls=kernel
+
 fi
 rm -f conftest*
 
@@ -8504,7 +9749,8 @@ rm -f conftest*
      ;;
  esac
 fi
-echo "$ac_t""$ac_cv_var_ntp_syscalls" 1>&6
+echo "configure:9752: result: $ac_cv_var_ntp_syscalls" >&5
+echo "${ECHO_T}$ac_cv_var_ntp_syscalls" >&6
 case "$ac_cv_var_ntp_syscalls" in
  libc)
     cat >>confdefs.h <<\EOF
@@ -8522,37 +9768,36 @@ EOF
     ;;
 esac
 
-echo $ac_n "checking if sys/timex.h has STA_FLL... $ac_c" 1>&6
-echo "configure:8527: checking if sys/timex.h has STA_FLL" 1>&5
+echo "configure:9771: checking if sys/timex.h has STA_FLL" >&5
+echo $ECHO_N "checking if sys/timex.h has STA_FLL... $ECHO_C" >&6
 if test "${ac_cv_var_sta_fll+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 8532 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 9777 "configure"
 #include "confdefs.h"
 #include <sys/timex.h>
 #ifdef STA_FLL
     yes
 #endif
-    
-EOF
+
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "yes" >/dev/null 2>&1; then
-  rm -rf conftest*
   ac_cv_var_sta_fll=yes
 else
-  rm -rf conftest*
   ac_cv_var_sta_fll=no
 fi
 rm -f conftest*
 
 fi
-echo "$ac_t""$ac_cv_var_sta_fll" 1>&6
+echo "configure:9794: result: $ac_cv_var_sta_fll" >&5
+echo "${ECHO_T}$ac_cv_var_sta_fll" >&6
 
-echo $ac_n "checking if we have kernel PLL support... $ac_c" 1>&6
-echo "configure:8554: checking if we have kernel PLL support" 1>&5
+echo "configure:9797: checking if we have kernel PLL support" >&5
+echo $ECHO_N "checking if we have kernel PLL support... $ECHO_C" >&6
 if test "${ac_cv_var_kernel_pll+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   case "$ac_cv_header_sys_timex_h$ac_cv_struct_ntptimeval$ac_cv_var_sta_fll$ac_cv_var_ntp_syscalls" in
  *no*)
@@ -8562,7 +9807,8 @@ else
     ;;
 esac
 fi
-echo "$ac_t""$ac_cv_var_kernel_pll" 1>&6
+echo "configure:9810: result: $ac_cv_var_kernel_pll" >&5
+echo "${ECHO_T}$ac_cv_var_kernel_pll" >&6
 case "$ac_cv_var_kernel_pll" in
  yes)
     cat >>confdefs.h <<\EOF
@@ -8572,10 +9818,10 @@ EOF
     ;;
 esac
 
-echo $ac_n "checking if SIOCGIFCONF returns buffer size in the buffer... $ac_c" 1>&6
-echo "configure:8577: checking if SIOCGIFCONF returns buffer size in the buffer" 1>&5
+echo "configure:9821: checking if SIOCGIFCONF returns buffer size in the buffer" >&5
+echo $ECHO_N "checking if SIOCGIFCONF returns buffer size in the buffer... $ECHO_C" >&6
 if test "${ac_cv_var_size_returned_in_buffer+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ans=no
   case "$target" in
@@ -8591,7 +9837,8 @@ else
   esac
   ac_cv_var_size_returned_in_buffer=$ans
 fi
-echo "$ac_t""$ac_cv_var_size_returned_in_buffer" 1>&6
+echo "configure:9840: result: $ac_cv_var_size_returned_in_buffer" >&5
+echo "${ECHO_T}$ac_cv_var_size_returned_in_buffer" >&6
 case "$ac_cv_var_size_returned_in_buffer" in
  yes) cat >>confdefs.h <<\EOF
 #define SIZE_RETURNED_IN_BUFFER 1
@@ -8600,24 +9847,22 @@ EOF
 esac
 
 # Check for ioctls TIOCGPPSEV
-echo $ac_n "checking ioctl TIOCGPPSEV... $ac_c" 1>&6
-echo "configure:8605: checking ioctl TIOCGPPSEV" 1>&5
+echo "configure:9850: checking ioctl TIOCGPPSEV" >&5
+echo $ECHO_N "checking ioctl TIOCGPPSEV... $ECHO_C" >&6
 if test "$ac_cv_header_termios_h" = "yes"; then
-    cat >conftest.$ac_ext <<EOF
-#line 8608 "configure"
+    cat >conftest.$ac_ext <<_ACEOF
+#line 9854 "configure"
 #include "confdefs.h"
 #include <termios.h>
 #ifdef TIOCGPPSEV
          yes
 #endif
-        
-EOF
+       
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "yes" >/dev/null 2>&1; then
-  rm -rf conftest*
   ntp_ok=yes
 else
-  rm -rf conftest*
   ntp_ok=no
 fi
 rm -f conftest*
@@ -8632,27 +9877,26 @@ EOF
 
     ac_cv_var_oncore_ok=yes
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:9880: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
 # Check for ioctls TIOCSPPS
-echo $ac_n "checking ioctl TIOCSPPS... $ac_c" 1>&6
-echo "configure:8640: checking ioctl TIOCSPPS" 1>&5
+echo "configure:9884: checking ioctl TIOCSPPS" >&5
+echo $ECHO_N "checking ioctl TIOCSPPS... $ECHO_C" >&6
 if test "$ac_cv_header_termios_h" = "yes"; then
-    cat >conftest.$ac_ext <<EOF
-#line 8643 "configure"
+    cat >conftest.$ac_ext <<_ACEOF
+#line 9888 "configure"
 #include "confdefs.h"
 #include <termios.h>
 #ifdef TIOCSPPS
          yes
 #endif
-        
-EOF
+       
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "yes" >/dev/null 2>&1; then
-  rm -rf conftest*
   ntp_ok=yes
 else
-  rm -rf conftest*
   ntp_ok=no
 fi
 rm -f conftest*
@@ -8667,27 +9911,26 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:9914: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
 # Check for ioctls CIOGETEV
-echo $ac_n "checking ioctl CIOGETEV... $ac_c" 1>&6
-echo "configure:8675: checking ioctl CIOGETEV" 1>&5
+echo "configure:9918: checking ioctl CIOGETEV" >&5
+echo $ECHO_N "checking ioctl CIOGETEV... $ECHO_C" >&6
 if test "$ac_cv_header_sys_ppsclock_h" = "yes"; then
-    cat >conftest.$ac_ext <<EOF
-#line 8678 "configure"
+    cat >conftest.$ac_ext <<_ACEOF
+#line 9922 "configure"
 #include "confdefs.h"
 #include <sys/ppsclock.h>
 #ifdef CIOGETEV
          yes
 #endif
-        
-EOF
+       
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "yes" >/dev/null 2>&1; then
-  rm -rf conftest*
   ntp_ok=yes
 else
-  rm -rf conftest*
   ntp_ok=no
 fi
 rm -f conftest*
@@ -8702,61 +9945,69 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:9948: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
 # Check for header timepps.h, if found then we have PPS API (Draft RFC) stuff.
 # there is NO way that I can tell to tell if a given OS is using timespec or
 # timeval so just set it here for the one case that is KNOWN to use timespec.
 
-case "$ac_cv_header_timepps_h$ac_cv_header_sys_timepps_h" in
- *yes*)
-    cat >>confdefs.h <<\EOF
+# The PPSAPI headers use "inline", so we must have a STDC compiler to use
+# the PPSAIP.
+
+case "$ANSI2KNR" in
+ '')
+    case "$ac_cv_header_timepps_h$ac_cv_header_sys_timepps_h" in
+     *yes*)
+       cat >>confdefs.h <<\EOF
 #define HAVE_PPSAPI 1
 EOF
 
-    ac_cv_var_oncore_ok=yes
-    cat >>confdefs.h <<\EOF
+       ac_cv_var_oncore_ok=yes
+       cat >>confdefs.h <<\EOF
 #define HAVE_TIMESPEC 1
 EOF
 
+       ;;
+    esac
     ;;
 esac
 
 # Check for ioctls TIOCGSERIAL, TIOCSSERIAL, ASYNC_PPS_CD_POS, ASYNC_PPS_CD_NEG
-echo $ac_n "checking for linux/serial.h... $ac_c" 1>&6
-echo "configure:8728: checking for linux/serial.h" 1>&5
+
+echo "configure:9978: checking for linux/serial.h" >&5
+echo $ECHO_N "checking for linux/serial.h... $ECHO_C" >&6
 if test "${ac_cv_header_linux_serial_h+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  cat >conftest.$ac_ext <<EOF
-#line 8733 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 9984 "configure"
 #include "confdefs.h"
 #include <linux/serial.h>
 
-EOF
+_ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:8739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+{ (eval echo configure:9990: \"$ac_try\") >&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*
   ac_cv_header_linux_serial_h=yes
 else
   echo "$ac_err" >&5
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
-  rm -rf conftest*
   ac_cv_header_linux_serial_h=no
 fi
 rm -f conftest*
 fi
-echo "$ac_t""$ac_cv_header_linux_serial_h" 1>&6
+echo "configure:10002: result: $ac_cv_header_linux_serial_h" >&5
+echo "${ECHO_T}$ac_cv_header_linux_serial_h" >&6
 
-echo $ac_n "checking ioctl TIOCGSERIAL... $ac_c" 1>&6
-echo "configure:8756: checking ioctl TIOCGSERIAL" 1>&5
+echo "configure:10005: checking ioctl TIOCGSERIAL" >&5
+echo $ECHO_N "checking ioctl TIOCGSERIAL... $ECHO_C" >&6
 case "$ac_cv_header_sys_ppsclock_h$ac_cv_header_linux_serial_h" in
   yesyes)
-    cat >conftest.$ac_ext <<EOF
-#line 8760 "configure"
+    cat >conftest.$ac_ext <<_ACEOF
+#line 10010 "configure"
 #include "confdefs.h"
 #include <sys/time.h>
 typedef int u_int;
@@ -8775,12 +10026,12 @@ typedef int u_int;
 #endif
 #endif
 #endif
-        
-EOF
+       
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "yes" >/dev/null 2>&1; then
-  rm -rf conftest*
   ntp_ok=yes
+
 fi
 rm -f conftest*
 
@@ -8795,11 +10046,12 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10049: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
 # Check for SHMEM_STATUS support
-echo $ac_n "checking SHMEM_STATUS support... $ac_c" 1>&6
-echo "configure:8803: checking SHMEM_STATUS support" 1>&5
+echo "configure:10053: checking SHMEM_STATUS support" >&5
+echo $ECHO_N "checking SHMEM_STATUS support... $ECHO_C" >&6
 case "$ac_cv_header_sys_mman_h" in
  yes) ntp_ok=yes ;;
  *)   ntp_ok=no  ;;
@@ -8810,13 +10062,14 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10065: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
 ntp_refclock=no
 
 # HPUX only, and by explicit request
-echo $ac_n "checking Datum/Bancomm bc635/VME interface... $ac_c" 1>&6
-echo "configure:8820: checking Datum/Bancomm bc635/VME interface" 1>&5
+echo "configure:10071: checking Datum/Bancomm bc635/VME interface" >&5
+echo $ECHO_N "checking Datum/Bancomm bc635/VME interface... $ECHO_C" >&6
 # Check whether --enable-BANCOMM or --disable-BANCOMM was given.
 if test "${enable_BANCOMM+set}" = set; then
   enableval="$enable_BANCOMM"
@@ -8824,7 +10077,6 @@ if test "${enable_BANCOMM+set}" = set; then
 else
   ntp_ok=no
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -8832,15 +10084,16 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10087: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 case "$ntp_ok$target" in
  yes*-*-hpux*) ;;
- yes*) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;;
+ yes*) echo "configure: WARNING: *** But the expected answer is... no ***" >&2 ;;
 esac
 
 #HPUX only, and only by explicit request
-echo $ac_n "checking TrueTime GPS receiver/VME interface... $ac_c" 1>&6
-echo "configure:8844: checking TrueTime GPS receiver/VME interface" 1>&5
+echo "configure:10095: checking TrueTime GPS receiver/VME interface" >&5
+echo $ECHO_N "checking TrueTime GPS receiver/VME interface... $ECHO_C" >&6
 # Check whether --enable-GPSVME or --disable-GPSVME was given.
 if test "${enable_GPSVME+set}" = set; then
   enableval="$enable_GPSVME"
@@ -8848,7 +10101,6 @@ if test "${enable_GPSVME+set}" = set; then
 else
   ntp_ok=no
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -8856,14 +10108,15 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10111: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 case "$ntp_ok$target" in
  yes*-*-hpux*) ;;
- yes*) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;;
+ yes*) echo "configure: WARNING: *** But the expected answer is... no ***" >&2 ;;
 esac
 
-echo $ac_n "checking for PCL720 clock support... $ac_c" 1>&6
-echo "configure:8867: checking for PCL720 clock support" 1>&5
+echo "configure:10118: checking for PCL720 clock support" >&5
+echo $ECHO_N "checking for PCL720 clock support... $ECHO_C" >&6
 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
@@ -8876,10 +10129,11 @@ EOF
     ans=no
     ;;
 esac
-echo "$ac_t""$ans" 1>&6
+echo "configure:10132: result: $ans" >&5
+echo "${ECHO_T}$ans" >&6
 
-echo $ac_n "checking for SHM clock attached thru shared memory... $ac_c" 1>&6
-echo "configure:8883: checking for SHM clock attached thru shared memory" 1>&5
+echo "configure:10135: checking for SHM clock attached thru shared memory" >&5
+echo $ECHO_N "checking for SHM clock attached thru shared memory... $ECHO_C" >&6
 # Check whether --enable-SHM or --disable-SHM was given.
 if test "${enable_SHM+set}" = set; then
   enableval="$enable_SHM"
@@ -8887,7 +10141,6 @@ if test "${enable_SHM+set}" = set; then
 else
   ntp_ok=no
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -8895,10 +10148,11 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10151: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking for default inclusion of all suitable non-PARSE clocks... $ac_c" 1>&6
-echo "configure:8902: checking for default inclusion of all suitable non-PARSE clocks" 1>&5
+echo "configure:10154: checking for default inclusion of all suitable non-PARSE clocks" >&5
+echo $ECHO_N "checking for default inclusion of all suitable non-PARSE clocks... $ECHO_C" >&6
 # Check whether --enable-all-clocks or --disable-all-clocks was given.
 if test "${enable_all_clocks+set}" = set; then
   enableval="$enable_all_clocks"
@@ -8906,11 +10160,11 @@ if test "${enable_all_clocks+set}" = set; then
 else
   ntp_eac=yes
 fi
+echo "configure:10163: result: $ntp_eac" >&5
+echo "${ECHO_T}$ntp_eac" >&6
 
-echo "$ac_t""$ntp_eac" 1>&6
-
-echo $ac_n "checking if we have support for PARSE clocks... $ac_c" 1>&6
-echo "configure:8914: checking if we have support for PARSE clocks" 1>&5
+echo "configure:10166: checking if we have support for PARSE clocks" >&5
+echo $ECHO_N "checking if we have support for PARSE clocks... $ECHO_C" >&6
 case "$ac_cv_header_termio_h$ac_cv_header_termios_h" in
  *yes*)
     ntp_canparse=yes
@@ -8918,26 +10172,28 @@ case "$ac_cv_header_termio_h$ac_cv_header_termios_h" in
  *) ntp_canparse=no
     ;;
 esac
-echo "$ac_t""$ntp_canparse" 1>&6
+echo "configure:10175: result: $ntp_canparse" >&5
+echo "${ECHO_T}$ntp_canparse" >&6
 
-echo $ac_n "checking if we have support for audio clocks... $ac_c" 1>&6
-echo "configure:8925: checking if we have support for audio clocks" 1>&5
+echo "configure:10178: checking if we have support for audio clocks" >&5
+echo $ECHO_N "checking if we have support for audio clocks... $ECHO_C" >&6
 case "$ac_cv_header_sun_audioio_h$ac_cv_header_sys_audioio_h" in
  *yes*)        ntp_canaudio=yes ;;
  *)    ntp_canaudio=no  ;;
 esac
-echo "$ac_t""$ntp_canaudio" 1>&6
+echo "configure:10184: result: $ntp_canaudio" >&5
+echo "${ECHO_T}$ntp_canaudio" >&6
 
 # Requires modem control
-echo $ac_n "checking ACTS modem service... $ac_c" 1>&6
-echo "configure:8934: checking ACTS modem service" 1>&5
+echo "configure:10188: checking ACTS modem service" >&5
+echo $ECHO_N "checking ACTS modem service... $ECHO_C" >&6
 # Check whether --enable-ACTS or --disable-ACTS was given.
 if test "${enable_ACTS+set}" = set; then
   enableval="$enable_ACTS"
   ntp_ok=$enableval
 else
-  cat >conftest.$ac_ext <<EOF
-#line 8941 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 10196 "configure"
 #include "confdefs.h"
 #include <termios.h>
 #ifdef HAVE_SYS_IOCTL_H
@@ -8946,20 +10202,17 @@ else
 #ifdef TIOCMBIS
          yes
 #endif
-         
-EOF
+
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "yes" >/dev/null 2>&1; then
-  rm -rf conftest*
   ntp_ok=$ntp_eac
 else
-  rm -rf conftest*
   ntp_ok=no
 fi
 rm -f conftest*
 
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -8967,10 +10220,11 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10223: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking Arbiter 1088A/B GPS receiver... $ac_c" 1>&6
-echo "configure:8974: checking Arbiter 1088A/B GPS receiver" 1>&5
+echo "configure:10226: checking Arbiter 1088A/B GPS receiver" >&5
+echo $ECHO_N "checking Arbiter 1088A/B GPS receiver... $ECHO_C" >&6
 # Check whether --enable-ARBITER or --disable-ARBITER was given.
 if test "${enable_ARBITER+set}" = set; then
   enableval="$enable_ARBITER"
@@ -8978,7 +10232,6 @@ if test "${enable_ARBITER+set}" = set; then
 else
   ntp_ok=$ntp_eac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -8986,10 +10239,11 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10242: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking Arcron MSF receiver... $ac_c" 1>&6
-echo "configure:8993: checking Arcron MSF receiver" 1>&5
+echo "configure:10245: checking Arcron MSF receiver" >&5
+echo $ECHO_N "checking Arcron MSF receiver... $ECHO_C" >&6
 # Check whether --enable-ARCRON_MSF or --disable-ARCRON_MSF was given.
 if test "${enable_ARCRON_MSF+set}" = set; then
   enableval="$enable_ARCRON_MSF"
@@ -8997,7 +10251,6 @@ if test "${enable_ARCRON_MSF+set}" = set; then
 else
   ntp_ok=$ntp_eac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9005,10 +10258,11 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10261: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking Austron 2200A/2201A GPS receiver... $ac_c" 1>&6
-echo "configure:9012: checking Austron 2200A/2201A GPS receiver" 1>&5
+echo "configure:10264: checking Austron 2200A/2201A GPS receiver" >&5
+echo $ECHO_N "checking Austron 2200A/2201A GPS receiver... $ECHO_C" >&6
 # Check whether --enable-AS2201 or --disable-AS2201 was given.
 if test "${enable_AS2201+set}" = set; then
   enableval="$enable_AS2201"
@@ -9016,7 +10270,6 @@ if test "${enable_AS2201+set}" = set; then
 else
   ntp_ok=$ntp_eac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9024,10 +10277,11 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10280: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking PPS interface... $ac_c" 1>&6
-echo "configure:9031: checking PPS interface" 1>&5
+echo "configure:10283: checking PPS interface" >&5
+echo $ECHO_N "checking PPS interface... $ECHO_C" >&6
 # Check whether --enable-ATOM or --disable-ATOM was given.
 if test "${enable_ATOM+set}" = set; then
   enableval="$enable_ATOM"
@@ -9035,7 +10289,6 @@ if test "${enable_ATOM+set}" = set; then
 else
   ntp_ok=$ntp_eac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9043,10 +10296,11 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10299: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking CHU modem/decoder... $ac_c" 1>&6
-echo "configure:9050: checking CHU modem/decoder" 1>&5
+echo "configure:10302: checking CHU modem/decoder" >&5
+echo $ECHO_N "checking CHU modem/decoder... $ECHO_C" >&6
 # Check whether --enable-CHU or --disable-CHU was given.
 if test "${enable_CHU+set}" = set; then
   enableval="$enable_CHU"
@@ -9054,7 +10308,6 @@ if test "${enable_CHU+set}" = set; then
 else
   ntp_ok=$ntp_eac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9062,11 +10315,12 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10318: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 ac_refclock_chu=$ntp_ok
 
-echo $ac_n "checking CHU audio/decoder... $ac_c" 1>&6
-echo "configure:9070: checking CHU audio/decoder" 1>&5
+echo "configure:10322: checking CHU audio/decoder" >&5
+echo $ECHO_N "checking CHU audio/decoder... $ECHO_C" >&6
 # Check whether --enable-AUDIO-CHU or --disable-AUDIO-CHU was given.
 if test "${enable_AUDIO_CHU+set}" = set; then
   enableval="$enable_AUDIO_CHU"
@@ -9077,22 +10331,22 @@ else
  *)    ntp_ok=yes ;;
 esac
 fi
-
 if test "$ntp_ok" = "yes"; then
     cat >>confdefs.h <<\EOF
 #define AUDIO_CHU 1
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10340: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 # We used to check for sunos/solaris target...
 case "$ntp_ok$ac_refclock_chu$ntp_canaudio" in
- yes*no*) echo "configure: warning: *** But the expected answer is...no ***" 1>&2 ;;
+ yes*no*) echo "configure: WARNING: *** But the expected answer is...no ***" >&2 ;;
 esac
 
 # Not under HP-UX
-echo $ac_n "checking Datum Programmable Time System... $ac_c" 1>&6
-echo "configure:9096: checking Datum Programmable Time System" 1>&5
+echo "configure:10348: checking Datum Programmable Time System" >&5
+echo $ECHO_N "checking Datum Programmable Time System... $ECHO_C" >&6
 # Check whether --enable-DATUM or --disable-DATUM was given.
 if test "${enable_DATUM+set}" = set; then
   enableval="$enable_DATUM"
@@ -9106,7 +10360,6 @@ else
         ;;
     esac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9114,10 +10367,11 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10370: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking Forum Graphic GPS... $ac_c" 1>&6
-echo "configure:9121: checking Forum Graphic GPS" 1>&5
+echo "configure:10373: checking Forum Graphic GPS" >&5
+echo $ECHO_N "checking Forum Graphic GPS... $ECHO_C" >&6
 # Check whether --enable-FG or --disable-FG was given.
 if test "${enable_FG+set}" = set; then
   enableval="$enable_FG"
@@ -9125,7 +10379,6 @@ if test "${enable_FG+set}" = set; then
 else
   ntp_ok=$ntp_eac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9133,18 +10386,19 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10389: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
 # Requires modem control
-echo $ac_n "checking Heath GC-1000 WWV/WWVH receiver... $ac_c" 1>&6
-echo "configure:9141: checking Heath GC-1000 WWV/WWVH receiver" 1>&5
+echo "configure:10393: checking Heath GC-1000 WWV/WWVH receiver" >&5
+echo $ECHO_N "checking Heath GC-1000 WWV/WWVH receiver... $ECHO_C" >&6
 # Check whether --enable-HEATH or --disable-HEATH was given.
 if test "${enable_HEATH+set}" = set; then
   enableval="$enable_HEATH"
   ntp_ok=$enableval
 else
-  cat >conftest.$ac_ext <<EOF
-#line 9148 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 10401 "configure"
 #include "confdefs.h"
 #include <termios.h>
 #ifdef HAVE_SYS_IOCTL_H
@@ -9153,20 +10407,17 @@ else
 #ifdef TIOCMBIS
          yes
 #endif
-         
-EOF
+
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "yes" >/dev/null 2>&1; then
-  rm -rf conftest*
   ntp_ok=$ntp_eac
 else
-  rm -rf conftest*
   ntp_ok=no
 fi
 rm -f conftest*
 
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9174,10 +10425,11 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10428: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking HP 58503A GPS receiver... $ac_c" 1>&6
-echo "configure:9181: checking HP 58503A GPS receiver" 1>&5
+echo "configure:10431: checking HP 58503A GPS receiver" >&5
+echo $ECHO_N "checking HP 58503A GPS receiver... $ECHO_C" >&6
 # Check whether --enable-HPGPS or --disable-HPGPS was given.
 if test "${enable_HPGPS+set}" = set; then
   enableval="$enable_HPGPS"
@@ -9185,7 +10437,6 @@ if test "${enable_HPGPS+set}" = set; then
 else
   ntp_ok=$ntp_eac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9193,10 +10444,11 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10447: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking Sun IRIG audio decoder... $ac_c" 1>&6
-echo "configure:9200: checking Sun IRIG audio decoder" 1>&5
+echo "configure:10450: checking Sun IRIG audio decoder" >&5
+echo $ECHO_N "checking Sun IRIG audio decoder... $ECHO_C" >&6
 # Check whether --enable-IRIG or --disable-IRIG was given.
 if test "${enable_IRIG+set}" = set; then
   enableval="$enable_IRIG"
@@ -9207,7 +10459,6 @@ else
      *)                ntp_ok=yes ;;
     esac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9215,13 +10466,14 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10469: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 case "$ntp_ok$ntp_canaudio" in
- yesno) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;;
+ yesno) echo "configure: WARNING: *** But the expected answer is... no ***" >&2 ;;
 esac
 
-echo $ac_n "checking Leitch CSD 5300 Master Clock System Driver... $ac_c" 1>&6
-echo "configure:9225: checking Leitch CSD 5300 Master Clock System Driver" 1>&5
+echo "configure:10475: checking Leitch CSD 5300 Master Clock System Driver" >&5
+echo $ECHO_N "checking Leitch CSD 5300 Master Clock System Driver... $ECHO_C" >&6
 # Check whether --enable-LEITCH or --disable-LEITCH was given.
 if test "${enable_LEITCH+set}" = set; then
   enableval="$enable_LEITCH"
@@ -9229,7 +10481,6 @@ if test "${enable_LEITCH+set}" = set; then
 else
   ntp_ok=$ntp_eac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9237,10 +10488,11 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10491: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking local clock reference... $ac_c" 1>&6
-echo "configure:9244: checking local clock reference" 1>&5
+echo "configure:10494: checking local clock reference" >&5
+echo $ECHO_N "checking local clock reference... $ECHO_C" >&6
 # Check whether --enable-LOCAL-CLOCK or --disable-LOCAL-CLOCK was given.
 if test "${enable_LOCAL_CLOCK+set}" = set; then
   enableval="$enable_LOCAL_CLOCK"
@@ -9248,7 +10500,6 @@ if test "${enable_LOCAL_CLOCK+set}" = set; then
 else
   ntp_ok=$ntp_eac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9256,10 +10507,11 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10510: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking EES M201 MSF receiver... $ac_c" 1>&6
-echo "configure:9263: checking EES M201 MSF receiver" 1>&5
+echo "configure:10513: checking EES M201 MSF receiver" >&5
+echo $ECHO_N "checking EES M201 MSF receiver... $ECHO_C" >&6
 # Check whether --enable-MSFEES or --disable-MSFEES was given.
 if test "${enable_MSFEES+set}" = set; then
   enableval="$enable_MSFEES"
@@ -9267,7 +10519,6 @@ if test "${enable_MSFEES+set}" = set; then
 else
   ntp_ok=$ntp_eac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9275,11 +10526,12 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10529: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
 # Not Ultrix
-echo $ac_n "checking Magnavox MX4200 GPS receiver... $ac_c" 1>&6
-echo "configure:9283: checking Magnavox MX4200 GPS receiver" 1>&5
+echo "configure:10533: checking Magnavox MX4200 GPS receiver" >&5
+echo $ECHO_N "checking Magnavox MX4200 GPS receiver... $ECHO_C" >&6
 # Check whether --enable-MX4200 or --disable-MX4200 was given.
 if test "${enable_MX4200+set}" = set; then
   enableval="$enable_MX4200"
@@ -9292,7 +10544,6 @@ else
         ;;
     esac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9300,13 +10551,14 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10554: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 case "$ntp_ok$target" in
- yes*-*-ultrix*) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;;
+ yes*-*-ultrix*) echo "configure: WARNING: *** But the expected answer is... no ***" >&2 ;;
 esac
 
-echo $ac_n "checking NMEA GPS receiver... $ac_c" 1>&6
-echo "configure:9310: checking NMEA GPS receiver" 1>&5
+echo "configure:10560: checking NMEA GPS receiver" >&5
+echo $ECHO_N "checking NMEA GPS receiver... $ECHO_C" >&6
 # Check whether --enable-NMEA or --disable-NMEA was given.
 if test "${enable_NMEA+set}" = set; then
   enableval="$enable_NMEA"
@@ -9314,7 +10566,6 @@ if test "${enable_NMEA+set}" = set; then
 else
   ntp_ok=$ntp_eac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9322,10 +10573,11 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10576: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking for ONCORE Motorola VP/UT Oncore GPS... $ac_c" 1>&6
-echo "configure:9329: checking for ONCORE Motorola VP/UT Oncore GPS" 1>&5
+echo "configure:10579: checking for ONCORE Motorola VP/UT Oncore GPS" >&5
+echo $ECHO_N "checking for ONCORE Motorola VP/UT Oncore GPS... $ECHO_C" >&6
 # Check whether --enable-ONCORE or --disable-ONCORE was given.
 if test "${enable_ONCORE+set}" = set; then
   enableval="$enable_ONCORE"
@@ -9333,7 +10585,6 @@ if test "${enable_ONCORE+set}" = set; then
 else
   ntp_ok=$ntp_eac
 fi
-
 case "$ac_cv_var_oncore_ok" in
  no) ntp_ok=no ;;
 esac
@@ -9344,10 +10595,11 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10598: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking for Palisade clock... $ac_c" 1>&6
-echo "configure:9351: checking for Palisade clock" 1>&5
+echo "configure:10601: checking for Palisade clock" >&5
+echo $ECHO_N "checking for Palisade clock... $ECHO_C" >&6
 # Check whether --enable-PALISADE or --disable-PALISADE was given.
 if test "${enable_PALISADE+set}" = set; then
   enableval="$enable_PALISADE"
@@ -9369,10 +10621,11 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10624: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking PST/Traconex 1020 WWV/WWVH receiver... $ac_c" 1>&6
-echo "configure:9376: checking PST/Traconex 1020 WWV/WWVH receiver" 1>&5
+echo "configure:10627: checking PST/Traconex 1020 WWV/WWVH receiver" >&5
+echo $ECHO_N "checking PST/Traconex 1020 WWV/WWVH receiver... $ECHO_C" >&6
 # Check whether --enable-PST or --disable-PST was given.
 if test "${enable_PST+set}" = set; then
   enableval="$enable_PST"
@@ -9380,7 +10633,6 @@ if test "${enable_PST+set}" = set; then
 else
   ntp_ok=$ntp_eac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9388,11 +10640,12 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10643: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
 # Not Ultrix
-echo $ac_n "checking Rockwell Jupiter GPS receiver... $ac_c" 1>&6
-echo "configure:9396: checking Rockwell Jupiter GPS receiver" 1>&5
+echo "configure:10647: checking Rockwell Jupiter GPS receiver" >&5
+echo $ECHO_N "checking Rockwell Jupiter GPS receiver... $ECHO_C" >&6
 # Check whether --enable-JUPITER or --disable-JUPITER was given.
 if test "${enable_JUPITER+set}" = set; then
   enableval="$enable_JUPITER"
@@ -9405,7 +10658,6 @@ else
         ;;
     esac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9413,21 +10665,22 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10668: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 case "$ntp_ok$target" in
- yes*-*-ultrix*) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;;
+ yes*-*-ultrix*) echo "configure: WARNING: *** But the expected answer is... no ***" >&2 ;;
 esac
 
 # Requires modem control
-echo $ac_n "checking PTB modem service... $ac_c" 1>&6
-echo "configure:9424: checking PTB modem service" 1>&5
+echo "configure:10675: checking PTB modem service" >&5
+echo $ECHO_N "checking PTB modem service... $ECHO_C" >&6
 # Check whether --enable-PTBACTS or --disable-PTBACTS was given.
 if test "${enable_PTBACTS+set}" = set; then
   enableval="$enable_PTBACTS"
   ntp_ok=$enableval
 else
-  cat >conftest.$ac_ext <<EOF
-#line 9431 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 10683 "configure"
 #include "confdefs.h"
 #include <termios.h>
 #ifdef HAVE_SYS_IOCTL_H
@@ -9436,20 +10689,17 @@ else
 #ifdef TIOCMBIS
          yes
 #endif
-         
-EOF
+
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "yes" >/dev/null 2>&1; then
-  rm -rf conftest*
   ntp_ok=$ntp_eac
 else
-  rm -rf conftest*
   ntp_ok=no
 fi
 rm -f conftest*
 
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9457,10 +10707,11 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10710: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking KSI/Odetics TPRO/S GPS receiver/IRIG interface... $ac_c" 1>&6
-echo "configure:9464: checking KSI/Odetics TPRO/S GPS receiver/IRIG interface" 1>&5
+echo "configure:10713: checking KSI/Odetics TPRO/S GPS receiver/IRIG interface" >&5
+echo $ECHO_N "checking KSI/Odetics TPRO/S GPS receiver/IRIG interface... $ECHO_C" >&6
 # Check whether --enable-TPRO or --disable-TPRO was given.
 if test "${enable_TPRO+set}" = set; then
   enableval="$enable_TPRO"
@@ -9474,7 +10725,6 @@ else
        ;;
     esac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9482,13 +10732,14 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10735: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 case "$ntp_ok$ac_cv_header_sys_tpro" in
- yesno) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;;
+ yesno) echo "configure: WARNING: *** But the expected answer is... no ***" >&2 ;;
 esac
 
-echo $ac_n "checking TRAK 8810 GPS receiver... $ac_c" 1>&6
-echo "configure:9492: checking TRAK 8810 GPS receiver" 1>&5
+echo "configure:10741: checking TRAK 8810 GPS receiver" >&5
+echo $ECHO_N "checking TRAK 8810 GPS receiver... $ECHO_C" >&6
 # Check whether --enable-TRAK or --disable-TRAK was given.
 if test "${enable_TRAK+set}" = set; then
   enableval="$enable_TRAK"
@@ -9496,7 +10747,6 @@ if test "${enable_TRAK+set}" = set; then
 else
   ntp_ok=$ntp_eac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9504,10 +10754,11 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10757: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking Chrono-log K-series WWVB receiver... $ac_c" 1>&6
-echo "configure:9511: checking Chrono-log K-series WWVB receiver" 1>&5
+echo "configure:10760: checking Chrono-log K-series WWVB receiver" >&5
+echo $ECHO_N "checking Chrono-log K-series WWVB receiver... $ECHO_C" >&6
 # Check whether --enable-CHRONOLOG or --disable-CHRONOLOG was given.
 if test "${enable_CHRONOLOG+set}" = set; then
   enableval="$enable_CHRONOLOG"
@@ -9515,7 +10766,6 @@ if test "${enable_CHRONOLOG+set}" = set; then
 else
   ntp_ok=$ntp_eac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9523,10 +10773,11 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10776: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking Dumb generic hh:mm:ss local clock... $ac_c" 1>&6
-echo "configure:9530: checking Dumb generic hh:mm:ss local clock" 1>&5
+echo "configure:10779: checking Dumb generic hh:mm:ss local clock" >&5
+echo $ECHO_N "checking Dumb generic hh:mm:ss local clock... $ECHO_C" >&6
 # Check whether --enable-DUMBCLOCK or --disable-DUMBCLOCK was given.
 if test "${enable_DUMBCLOCK+set}" = set; then
   enableval="$enable_DUMBCLOCK"
@@ -9534,7 +10785,6 @@ if test "${enable_DUMBCLOCK+set}" = set; then
 else
   ntp_ok=$ntp_eac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9542,10 +10792,11 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10795: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking Conrad parallel port radio clock... $ac_c" 1>&6
-echo "configure:9549: checking Conrad parallel port radio clock" 1>&5
+echo "configure:10798: checking Conrad parallel port radio clock" >&5
+echo $ECHO_N "checking Conrad parallel port radio clock... $ECHO_C" >&6
 # Check whether --enable-PCF or --disable-PCF was given.
 if test "${enable_PCF+set}" = set; then
   enableval="$enable_PCF"
@@ -9553,7 +10804,6 @@ if test "${enable_PCF+set}" = set; then
 else
   ntp_ok=$ntp_eac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9561,10 +10811,11 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10814: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking Spectracom 8170/Netclock/2 WWVB receiver... $ac_c" 1>&6
-echo "configure:9568: checking Spectracom 8170/Netclock/2 WWVB receiver" 1>&5
+echo "configure:10817: checking Spectracom 8170/Netclock/2 WWVB receiver" >&5
+echo $ECHO_N "checking Spectracom 8170/Netclock/2 WWVB receiver... $ECHO_C" >&6
 # Check whether --enable-SPECTRACOM or --disable-SPECTRACOM was given.
 if test "${enable_SPECTRACOM+set}" = set; then
   enableval="$enable_SPECTRACOM"
@@ -9572,7 +10823,6 @@ if test "${enable_SPECTRACOM+set}" = set; then
 else
   ntp_ok=$ntp_eac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9580,11 +10830,12 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10833: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
 # Not on a vax-dec-bsd
-echo $ac_n "checking Kinemetrics/TrueTime receivers... $ac_c" 1>&6
-echo "configure:9588: checking Kinemetrics/TrueTime receivers" 1>&5
+echo "configure:10837: checking Kinemetrics/TrueTime receivers" >&5
+echo $ECHO_N "checking Kinemetrics/TrueTime receivers... $ECHO_C" >&6
 # Check whether --enable-TRUETIME or --disable-TRUETIME was given.
 if test "${enable_TRUETIME+set}" = set; then
   enableval="$enable_TRUETIME"
@@ -9599,7 +10850,6 @@ else
        ;;
     esac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9607,13 +10857,14 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10860: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 case "$ntp_ok$target" in
- yesvax-dec-bsd) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;;
+ yesvax-dec-bsd) echo "configure: WARNING: *** But the expected answer is... no ***" >&2 ;;
 esac
 
-echo $ac_n "checking Ultralink M320 WWVB receiver... $ac_c" 1>&6
-echo "configure:9617: checking Ultralink M320 WWVB receiver" 1>&5
+echo "configure:10866: checking Ultralink M320 WWVB receiver" >&5
+echo $ECHO_N "checking Ultralink M320 WWVB receiver... $ECHO_C" >&6
 # Check whether --enable-ULINK or --disable-ULINK was given.
 if test "${enable_ULINK+set}" = set; then
   enableval="$enable_ULINK"
@@ -9621,7 +10872,6 @@ if test "${enable_ULINK+set}" = set; then
 else
   ntp_ok=$ntp_eac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9629,10 +10879,11 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10882: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking WWV receiver... $ac_c" 1>&6
-echo "configure:9636: checking WWV receiver" 1>&5
+echo "configure:10885: checking WWV receiver" >&5
+echo $ECHO_N "checking WWV receiver... $ECHO_C" >&6
 # Check whether --enable-WWV or --disable-WWV was given.
 if test "${enable_WWV+set}" = set; then
   enableval="$enable_WWV"
@@ -9643,7 +10894,6 @@ else
      *)                ntp_ok=yes ;;
     esac
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9651,21 +10901,22 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10904: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 case "$ntp_ok$ntp_canaudio" in
- yesno) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;;
+ yesno) echo "configure: WARNING: *** But the expected answer is... no ***" >&2 ;;
 esac
 
 # Requires modem control
-echo $ac_n "checking USNO modem service... $ac_c" 1>&6
-echo "configure:9662: checking USNO modem service" 1>&5
+echo "configure:10911: checking USNO modem service" >&5
+echo $ECHO_N "checking USNO modem service... $ECHO_C" >&6
 # Check whether --enable-USNO or --disable-USNO was given.
 if test "${enable_USNO+set}" = set; then
   enableval="$enable_USNO"
   ntp_ok=$enableval
 else
-  cat >conftest.$ac_ext <<EOF
-#line 9669 "configure"
+  cat >conftest.$ac_ext <<_ACEOF
+#line 10919 "configure"
 #include "confdefs.h"
 #include <termios.h>
 #ifdef HAVE_SYS_IOCTL_H
@@ -9674,20 +10925,17 @@ else
 #ifdef TIOCMBIS
          yes
 #endif
-         
-EOF
+
+_ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "yes" >/dev/null 2>&1; then
-  rm -rf conftest*
   ntp_ok=$ntp_eac
 else
-  rm -rf conftest*
   ntp_ok=no
 fi
 rm -f conftest*
 
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_refclock=yes
     cat >>confdefs.h <<\EOF
@@ -9695,10 +10943,11 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10946: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&6
 
-echo $ac_n "checking for default inclusion of all suitable PARSE clocks... $ac_c" 1>&6
-echo "configure:9702: checking for default inclusion of all suitable PARSE clocks" 1>&5
+echo "configure:10949: checking for default inclusion of all suitable PARSE clocks" >&5
+echo $ECHO_N "checking for default inclusion of all suitable PARSE clocks... $ECHO_C" >&6
 # Check whether --enable-parse-clocks or --disable-parse-clocks was given.
 if test "${enable_parse_clocks+set}" = set; then
   enableval="$enable_parse_clocks"
@@ -9710,15 +10959,15 @@ else
     esac
     ntp_eapc=no
 fi
-
-echo "$ac_t""$ntp_eapc" 1>&6
+echo "configure:10962: result: $ntp_eapc" >&5
+echo "${ECHO_T}$ntp_eapc" >&6
 
 case "$ntp_eac$ntp_eapc$ntp_canparse" in
  noyes*)
-    { echo "configure: error: "--enable-parse-clocks" requires "--enable-all-clocks"." 1>&2; exit 1; }
+    { echo "configure: error: \"--enable-parse-clocks\" requires \"--enable-all-clocks\"." >&2; exit 1; }
     ;;
  yesyesno)
-    { echo "configure: error: You said "--enable-parse-clocks" but PARSE isn't supported on this platform!" 1>&2; exit 1; }
+    { echo "configure: error: You said \"--enable-parse-clocks\" but PARSE isn't supported on this platform!" >&2; exit 1; }
     ;;
  *) ;;
 esac
@@ -9727,8 +10976,8 @@ ntp_libparse=no
 ntp_parseutil=no
 ntp_rawdcf=no
 
-echo $ac_n "checking Diem Computime Radio Clock... $ac_c" 1>&6
-echo "configure:9732: checking Diem Computime Radio Clock" 1>&5
+echo "configure:10979: checking Diem Computime Radio Clock" >&5
+echo $ECHO_N "checking Diem Computime Radio Clock... $ECHO_C" >&6
 # Check whether --enable-COMPUTIME or --disable-COMPUTIME was given.
 if test "${enable_COMPUTIME+set}" = set; then
   enableval="$enable_COMPUTIME"
@@ -9736,7 +10985,6 @@ if test "${enable_COMPUTIME+set}" = set; then
 else
   ntp_ok=$ntp_eapc
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_libparse=yes
     ntp_refclock=yes
@@ -9745,15 +10993,16 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:10996: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&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; }
+    { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; }
     ;;
 esac
 
-echo $ac_n "checking ELV/DCF7000 clock... $ac_c" 1>&6
-echo "configure:9757: checking ELV/DCF7000 clock" 1>&5
+echo "configure:11004: checking ELV/DCF7000 clock" >&5
+echo $ECHO_N "checking ELV/DCF7000 clock... $ECHO_C" >&6
 # Check whether --enable-DCF7000 or --disable-DCF7000 was given.
 if test "${enable_DCF7000+set}" = set; then
   enableval="$enable_DCF7000"
@@ -9761,7 +11010,6 @@ if test "${enable_DCF7000+set}" = set; then
 else
   ntp_ok=$ntp_eapc
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_libparse=yes
     ntp_refclock=yes
@@ -9770,15 +11018,16 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:11021: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&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; }
+    { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; }
     ;;
 esac
 
-echo $ac_n "checking HOPF 6021 clock... $ac_c" 1>&6
-echo "configure:9782: checking HOPF 6021 clock" 1>&5
+echo "configure:11029: checking HOPF 6021 clock" >&5
+echo $ECHO_N "checking HOPF 6021 clock... $ECHO_C" >&6
 # Check whether --enable-HOPF6021 or --disable-HOPF6021 was given.
 if test "${enable_HOPF6021+set}" = set; then
   enableval="$enable_HOPF6021"
@@ -9786,7 +11035,6 @@ if test "${enable_HOPF6021+set}" = set; then
 else
   ntp_ok=$ntp_eapc
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_libparse=yes
     ntp_refclock=yes
@@ -9795,15 +11043,16 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:11046: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&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; }
+    { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; }
     ;;
 esac
 
-echo $ac_n "checking Meinberg clocks... $ac_c" 1>&6
-echo "configure:9807: checking Meinberg clocks" 1>&5
+echo "configure:11054: checking Meinberg clocks" >&5
+echo $ECHO_N "checking Meinberg clocks... $ECHO_C" >&6
 # Check whether --enable-MEINBERG or --disable-MEINBERG was given.
 if test "${enable_MEINBERG+set}" = set; then
   enableval="$enable_MEINBERG"
@@ -9811,7 +11060,6 @@ if test "${enable_MEINBERG+set}" = set; then
 else
   ntp_ok=$ntp_eapc
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_libparse=yes
     ntp_refclock=yes
@@ -9820,15 +11068,16 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:11071: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&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; }
+    { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; }
     ;;
 esac
 
-echo $ac_n "checking DCF77 raw time code... $ac_c" 1>&6
-echo "configure:9832: checking DCF77 raw time code" 1>&5
+echo "configure:11079: checking DCF77 raw time code" >&5
+echo $ECHO_N "checking DCF77 raw time code... $ECHO_C" >&6
 # Check whether --enable-RAWDCF or --disable-RAWDCF was given.
 if test "${enable_RAWDCF+set}" = set; then
   enableval="$enable_RAWDCF"
@@ -9836,7 +11085,6 @@ if test "${enable_RAWDCF+set}" = set; then
 else
   ntp_ok=$ntp_eapc
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_libparse=yes
     ntp_parseutil=yes
@@ -9847,19 +11095,20 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:11098: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&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; }
+    { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; }
     ;;
 esac
 
 case "$ntp_rawdcf" in
  yes)
-    echo $ac_n "checking if we must enable parity for RAWDCF... $ac_c" 1>&6
-echo "configure:9861: checking if we must enable parity for RAWDCF" 1>&5
+    echo "configure:11108: checking if we must enable parity for RAWDCF" >&5
+echo $ECHO_N "checking if we must enable parity for RAWDCF... $ECHO_C" >&6
 if test "${ac_cv_var_rawdcf_parity+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ans=no
     case "$target" in
@@ -9869,7 +11118,8 @@ else
     esac
     ac_cv_var_rawdcf_parity=$ans
 fi
-echo "$ac_t""$ac_cv_var_rawdcf_parity" 1>&6
+echo "configure:11121: result: $ac_cv_var_rawdcf_parity" >&5
+echo "${ECHO_T}$ac_cv_var_rawdcf_parity" >&6
     case "$ac_cv_var_rawdcf_parity" in
      yes) cat >>confdefs.h <<\EOF
 #define RAWDCF_NO_IGNPAR 1
@@ -9883,8 +11133,8 @@ EOF
     ;;
 esac
 
-echo $ac_n "checking RCC 8000 clock... $ac_c" 1>&6
-echo "configure:9888: checking RCC 8000 clock" 1>&5
+echo "configure:11136: checking RCC 8000 clock" >&5
+echo $ECHO_N "checking RCC 8000 clock... $ECHO_C" >&6
 # Check whether --enable-RCC8000 or --disable-RCC8000 was given.
 if test "${enable_RCC8000+set}" = set; then
   enableval="$enable_RCC8000"
@@ -9892,7 +11142,6 @@ if test "${enable_RCC8000+set}" = set; then
 else
   ntp_ok=$ntp_eapc
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_libparse=yes
     ntp_refclock=yes
@@ -9901,15 +11150,16 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:11153: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&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; }
+    { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; }
     ;;
 esac
 
-echo $ac_n "checking Schmid DCF77 clock... $ac_c" 1>&6
-echo "configure:9913: checking Schmid DCF77 clock" 1>&5
+echo "configure:11161: checking Schmid DCF77 clock" >&5
+echo $ECHO_N "checking Schmid DCF77 clock... $ECHO_C" >&6
 # Check whether --enable-SCHMID or --disable-SCHMID was given.
 if test "${enable_SCHMID+set}" = set; then
   enableval="$enable_SCHMID"
@@ -9917,7 +11167,6 @@ if test "${enable_SCHMID+set}" = set; then
 else
   ntp_ok=$ntp_eapc
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_libparse=yes
     ntp_refclock=yes
@@ -9926,15 +11175,16 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:11178: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&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; }
+    { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; }
     ;;
 esac
 
-echo $ac_n "checking Trimble GPS receiver/TAIP protocol... $ac_c" 1>&6
-echo "configure:9938: checking Trimble GPS receiver/TAIP protocol" 1>&5
+echo "configure:11186: checking Trimble GPS receiver/TAIP protocol" >&5
+echo $ECHO_N "checking Trimble GPS receiver/TAIP protocol... $ECHO_C" >&6
 # Check whether --enable-TRIMTAIP or --disable-TRIMTAIP was given.
 if test "${enable_TRIMTAIP+set}" = set; then
   enableval="$enable_TRIMTAIP"
@@ -9942,7 +11192,6 @@ if test "${enable_TRIMTAIP+set}" = set; then
 else
   ntp_ok=$ntp_eapc
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_libparse=yes
     ntp_refclock=yes
@@ -9951,15 +11200,16 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:11203: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&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; }
+    { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; }
     ;;
 esac
 
-echo $ac_n "checking Trimble GPS receiver/TSIP protocol... $ac_c" 1>&6
-echo "configure:9963: checking Trimble GPS receiver/TSIP protocol" 1>&5
+echo "configure:11211: checking Trimble GPS receiver/TSIP protocol" >&5
+echo $ECHO_N "checking Trimble GPS receiver/TSIP protocol... $ECHO_C" >&6
 # Check whether --enable-TRIMTSIP or --disable-TRIMTSIP was given.
 if test "${enable_TRIMTSIP+set}" = set; then
   enableval="$enable_TRIMTSIP"
@@ -9967,7 +11217,6 @@ if test "${enable_TRIMTSIP+set}" = set; then
 else
   ntp_ok=$ntp_eapc
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_libparse=yes
     ntp_refclock=yes
@@ -9976,15 +11225,16 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:11228: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&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; }
+    { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; }
     ;;
 esac
 
-echo $ac_n "checking WHARTON 400A Series clock... $ac_c" 1>&6
-echo "configure:9988: checking WHARTON 400A Series clock" 1>&5
+echo "configure:11236: checking WHARTON 400A Series clock" >&5
+echo $ECHO_N "checking WHARTON 400A Series clock... $ECHO_C" >&6
 # Check whether --enable-WHARTON or --disable-WHARTON was given.
 if test "${enable_WHARTON+set}" = set; then
   enableval="$enable_WHARTON"
@@ -9992,7 +11242,6 @@ if test "${enable_WHARTON+set}" = set; then
 else
   ntp_ok=$ntp_eapc
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_libparse=yes
     ntp_refclock=yes
@@ -10001,15 +11250,16 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:11253: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&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; }
+    { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; }
     ;;
 esac
 
-echo $ac_n "checking VARITEXT clock... $ac_c" 1>&6
-echo "configure:10013: checking VARITEXT clock" 1>&5
+echo "configure:11261: checking VARITEXT clock" >&5
+echo $ECHO_N "checking VARITEXT clock... $ECHO_C" >&6
 # Check whether --enable-VARITEXT or --disable-VARITEXT was given.
 if test "${enable_VARITEXT+set}" = set; then
   enableval="$enable_VARITEXT"
@@ -10017,7 +11267,6 @@ if test "${enable_VARITEXT+set}" = set; then
 else
   ntp_ok=$ntp_eapc
 fi
-
 if test "$ntp_ok" = "yes"; then
     ntp_libparse=yes
     ntp_refclock=yes
@@ -10026,15 +11275,16 @@ if test "$ntp_ok" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ntp_ok" 1>&6
+echo "configure:11278: result: $ntp_ok" >&5
+echo "${ECHO_T}$ntp_ok" >&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; }
+    { echo "configure: error: That's a parse clock and this system doesn't support it!" >&2; exit 1; }
     ;;
 esac
 
-echo $ac_n "checking if we need to make and use the parse libraries... $ac_c" 1>&6
-echo "configure:10038: checking if we need to make and use the parse libraries" 1>&5
+echo "configure:11286: checking if we need to make and use the parse libraries" >&5
+echo $ECHO_N "checking if we need to make and use the parse libraries... $ECHO_C" >&6
 ans=no
 case "$ntp_libparse" in
  yes)
@@ -10056,10 +11306,12 @@ EOF
 
     ;;
 esac
-echo "$ac_t""$ans" 1>&6
+echo "configure:11309: result: $ans" >&5
+echo "${ECHO_T}$ans" >&6
+
+echo "configure:11312: checking for the level of crypto support" >&5
+echo $ECHO_N "checking for the level of crypto support... $ECHO_C" >&6
 
-echo $ac_n "checking for the level of crypto support... $ac_c" 1>&6
-echo "configure:10063: checking for the level of crypto support" 1>&5
 # Check whether --with-crypto or --without-crypto was given.
 if test "${with_crypto+set}" = set; then
   withval="$with_crypto"
@@ -10067,7 +11319,6 @@ if test "${with_crypto+set}" = set; then
 else
   ans=yes
 fi
-
 case "$ans" in
  no) ;;
  yes|rsaref)
@@ -10081,8 +11332,9 @@ case "$ans" in
 #define DES 1
 EOF
 
-       cat >>confdefs.h <<\EOF
-#define PUBKEY 
+       
+cat >>confdefs.h <<\EOF
+#define PUBKEY
 EOF
 
     fi
@@ -10092,17 +11344,20 @@ esac
 case "$ans" in
  no) ;;
  *)
-    cat >>confdefs.h <<\EOF
-#define AUTOKEY 
+
+cat >>confdefs.h <<\EOF
+#define AUTOKEY
 EOF
 
     AUTOKEY=1
     ;;
 esac
-echo "$ac_t""$ans" 1>&6
+echo "configure:11355: result: $ans" >&5
+echo "${ECHO_T}$ans" >&6
+
+echo "configure:11358: checking if we want to compile with ElectricFence" >&5
+echo $ECHO_N "checking if we want to compile with ElectricFence... $ECHO_C" >&6
 
-echo $ac_n "checking if we want to compile with ElectricFence... $ac_c" 1>&6
-echo "configure:10106: checking if we want to compile with ElectricFence" 1>&5
 # Check whether --with-electricfence or --without-electricfence was given.
 if test "${with_electricfence+set}" = set; then
   withval="$with_electricfence"
@@ -10110,22 +11365,22 @@ if test "${with_electricfence+set}" = set; then
 else
   ans=no
 fi
-
 case "$ans" in
  no) ;;
  *)
     LIBS="$LIBS \${top_builddir}/ElectricFence/libefence.a"
     EF_PROGS="eftest tstheap"
-    
+
     EF_LIBS=libefence.a
-    
+
     ans=yes
     ;;
 esac
-echo "$ac_t""$ans" 1>&6
+echo "configure:11379: result: $ans" >&5
+echo "${ECHO_T}$ans" >&6
 
-echo $ac_n "checking if we can make dcf parse utilities... $ac_c" 1>&6
-echo "configure:10129: checking if we can make dcf parse utilities" 1>&5
+echo "configure:11382: checking if we can make dcf parse utilities" >&5
+echo $ECHO_N "checking if we can make dcf parse utilities... $ECHO_C" >&6
 ans=no
 if test "$ntp_parseutil" = "yes"; then
     case "$target" in
@@ -10136,10 +11391,11 @@ if test "$ntp_parseutil" = "yes"; then
        ;;
     esac
 fi
-echo "$ac_t""$ans" 1>&6
+echo "configure:11394: result: $ans" >&5
+echo "${ECHO_T}$ans" >&6
 
-echo $ac_n "checking if we can build kernel streams modules for parse... $ac_c" 1>&6
-echo "configure:10143: checking if we can build kernel streams modules for parse" 1>&5
+echo "configure:11397: checking if we can build kernel streams modules for parse" >&5
+echo $ECHO_N "checking if we can build kernel streams modules for parse... $ECHO_C" >&6
 ans=no
 case "$ntp_parseutil$ac_cv_header_sys_stropts_h" in
  yesyes)
@@ -10163,22 +11419,26 @@ EOF
     esac
     ;;
 esac
-echo "$ac_t""$ans" 1>&6
+echo "configure:11422: result: $ans" >&5
+echo "${ECHO_T}$ans" >&6
 
-echo $ac_n "checking if we need basic refclock support... $ac_c" 1>&6
-echo "configure:10170: checking if we need basic refclock support" 1>&5
+echo "configure:11425: checking if we need basic refclock support" >&5
+echo $ECHO_N "checking if we need basic refclock support... $ECHO_C" >&6
 if test "$ntp_refclock" = "yes"; then
     cat >>confdefs.h <<\EOF
 #define REFCLOCK 1
 EOF
 
 fi
-echo "$ac_t""$ntp_refclock" 1>&6
+echo "configure:11433: result: $ntp_refclock" >&5
+echo "${ECHO_T}$ntp_refclock" >&6
 
-                       
+       
+       
+       
 
-echo $ac_n "checking if we want HP-UX adjtimed support... $ac_c" 1>&6
-echo "configure:10182: checking if we want HP-UX adjtimed support" 1>&5
+echo "configure:11440: checking if we want HP-UX adjtimed support" >&5
+echo $ECHO_N "checking if we want HP-UX adjtimed support... $ECHO_C" >&6
 case "$target" in
  *-*-hpux[56789]*)
     ans=yes
@@ -10193,12 +11453,13 @@ if test "$ans" = "yes"; then
 EOF
 
 fi
-echo "$ac_t""$ans" 1>&6
+echo "configure:11456: result: $ans" >&5
+echo "${ECHO_T}$ans" >&6
 
-echo $ac_n "checking if we can read kmem... $ac_c" 1>&6
-echo "configure:10200: checking if we can read kmem" 1>&5
+echo "configure:11459: checking if we can read kmem" >&5
+echo $ECHO_N "checking if we can read kmem... $ECHO_C" >&6
 if test "${ac_cv_var_can_kmem+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   # Check whether --enable-kmem or --disable-kmem was given.
 if test "${enable_kmem+set}" = set; then
@@ -10232,12 +11493,12 @@ else
        ans=no
        ;;
     esac
-    
-fi
 
+fi
 ac_cv_var_can_kmem=$ans
 fi
-echo "$ac_t""$ac_cv_var_can_kmem" 1>&6
+echo "configure:11500: result: $ac_cv_var_can_kmem" >&5
+echo "${ECHO_T}$ac_cv_var_can_kmem" >&6
 
 case "$ac_cv_var_can_kmem" in
  *yes*) ;;
@@ -10247,10 +11508,10 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking if adjtime is accurate... $ac_c" 1>&6
-echo "configure:10252: checking if adjtime is accurate" 1>&5
+echo "configure:11511: checking if adjtime is accurate" >&5
+echo $ECHO_N "checking if adjtime is accurate... $ECHO_C" >&6
 if test "${ac_cv_var_adjtime_is_accurate+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   # Check whether --enable-accurate-adjtime or --disable-accurate-adjtime was given.
 if test "${enable_accurate_adjtime+set}" = set; then
@@ -10285,12 +11546,12 @@ else
       *) ans=no
         ;;
      esac
-     
-fi
 
+fi
 ac_cv_var_adjtime_is_accurate=$ans
 fi
-echo "$ac_t""$ac_cv_var_adjtime_is_accurate" 1>&6
+echo "configure:11553: result: $ac_cv_var_adjtime_is_accurate" >&5
+echo "${ECHO_T}$ac_cv_var_adjtime_is_accurate" >&6
 case "$ac_cv_var_adjtime_is_accurate" in
  yes) cat >>confdefs.h <<\EOF
 #define ADJTIME_IS_ACCURATE 1
@@ -10298,10 +11559,10 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking the name of 'tick' in the kernel... $ac_c" 1>&6
-echo "configure:10303: checking the name of 'tick' in the kernel" 1>&5
+echo "configure:11562: checking the name of 'tick' in the kernel" >&5
+echo $ECHO_N "checking the name of 'tick' in the kernel... $ECHO_C" >&6
 if test "${ac_cv_var_nlist_tick+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ans=_tick
 case "$target" in
@@ -10332,7 +11593,8 @@ case "$target" in
 esac
 ac_cv_var_nlist_tick=$ans
 fi
-echo "$ac_t""$ac_cv_var_nlist_tick" 1>&6
+echo "configure:11596: result: $ac_cv_var_nlist_tick" >&5
+echo "${ECHO_T}$ac_cv_var_nlist_tick" >&6
 case "$ac_cv_var_nlist_tick" in
  ''|no) ;;     # HMS: I think we can only get 'no' here...
  *) cat >>confdefs.h <<EOF
@@ -10341,10 +11603,10 @@ EOF
  ;;
 esac
 #
-echo $ac_n "checking for the units of 'tick'... $ac_c" 1>&6
-echo "configure:10346: checking for the units of 'tick'" 1>&5
+echo "configure:11606: checking for the units of 'tick'" >&5
+echo $ECHO_N "checking for the units of 'tick'... $ECHO_C" >&6
 if test "${ac_cv_var_tick_nano+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ans=usec
 case "$target" in
@@ -10354,7 +11616,8 @@ case "$target" in
 esac
 ac_cv_var_tick_nano=$ans
 fi
-echo "$ac_t""$ac_cv_var_tick_nano" 1>&6
+echo "configure:11619: result: $ac_cv_var_tick_nano" >&5
+echo "${ECHO_T}$ac_cv_var_tick_nano" >&6
 case "$ac_cv_var_tick_nano" in
  nsec)
     cat >>confdefs.h <<\EOF
@@ -10364,10 +11627,10 @@ EOF
     ;;
 esac
 #
-echo $ac_n "checking the name of 'tickadj' in the kernel... $ac_c" 1>&6
-echo "configure:10369: checking the name of 'tickadj' in the kernel" 1>&5
+echo "configure:11630: checking the name of 'tickadj' in the kernel" >&5
+echo $ECHO_N "checking the name of 'tickadj' in the kernel... $ECHO_C" >&6
 if test "${ac_cv_var_nlist_tickadj+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ans=_tickadj
 case "$target" in
@@ -10407,7 +11670,8 @@ case "$target" in
 esac
 ac_cv_var_nlist_tickadj=$ans
 fi
-echo "$ac_t""$ac_cv_var_nlist_tickadj" 1>&6
+echo "configure:11673: result: $ac_cv_var_nlist_tickadj" >&5
+echo "${ECHO_T}$ac_cv_var_nlist_tickadj" >&6
 case "$ac_cv_var_nlist_tickadj" in
  ''|no) ;;     # HMS: I think we can only get 'no' here...
  *) cat >>confdefs.h <<EOF
@@ -10416,10 +11680,10 @@ EOF
  ;;
 esac
 #
-echo $ac_n "checking for the units of 'tickadj'... $ac_c" 1>&6
-echo "configure:10421: checking for the units of 'tickadj'" 1>&5
+echo "configure:11683: checking for the units of 'tickadj'" >&5
+echo $ECHO_N "checking for the units of 'tickadj'... $ECHO_C" >&6
 if test "${ac_cv_var_tickadj_nano+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ans=usec
 case "$target" in
@@ -10429,7 +11693,8 @@ case "$target" in
 esac
 ac_cv_var_tickadj_nano=$ans
 fi
-echo "$ac_t""$ac_cv_var_tickadj_nano" 1>&6
+echo "configure:11696: result: $ac_cv_var_tickadj_nano" >&5
+echo "${ECHO_T}$ac_cv_var_tickadj_nano" >&6
 case "$ac_cv_var_tickadj_nano" in
  nsec)
     cat >>confdefs.h <<\EOF
@@ -10439,10 +11704,10 @@ EOF
     ;;
 esac
 #
-echo $ac_n "checking half-heartedly for 'dosynctodr' in the kernel... $ac_c" 1>&6
-echo "configure:10444: checking half-heartedly for 'dosynctodr' in the kernel" 1>&5
+echo "configure:11707: checking half-heartedly for 'dosynctodr' in the kernel" >&5
+echo $ECHO_N "checking half-heartedly for 'dosynctodr' in the kernel... $ECHO_C" >&6
 if test "${ac_cv_var_nlist_dosynctodr+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   case "$target" in
  *-apple-aux[23]*)
@@ -10481,7 +11746,8 @@ else
 esac
 ac_cv_var_nlist_dosynctodr=$ans
 fi
-echo "$ac_t""$ac_cv_var_nlist_dosynctodr" 1>&6
+echo "configure:11749: result: $ac_cv_var_nlist_dosynctodr" >&5
+echo "${ECHO_T}$ac_cv_var_nlist_dosynctodr" >&6
 case "$ac_cv_var_nlist_dosynctodr" in
  no) ;;
  *)  cat >>confdefs.h <<EOF
@@ -10491,10 +11757,10 @@ EOF
      ;;
 esac
 #
-echo $ac_n "checking half-heartedly for 'noprintf' in the kernel... $ac_c" 1>&6
-echo "configure:10496: checking half-heartedly for 'noprintf' in the kernel" 1>&5
+echo "configure:11760: checking half-heartedly for 'noprintf' in the kernel" >&5
+echo $ECHO_N "checking half-heartedly for 'noprintf' in the kernel... $ECHO_C" >&6
 if test "${ac_cv_var_nlist_noprintf+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   case "$target" in
  *-apple-aux[23]*)
@@ -10527,7 +11793,8 @@ else
 esac
 ac_cv_var_nlist_noprintf=$ans
 fi
-echo "$ac_t""$ac_cv_var_nlist_noprintf" 1>&6
+echo "configure:11796: result: $ac_cv_var_nlist_noprintf" >&5
+echo "${ECHO_T}$ac_cv_var_nlist_noprintf" >&6
 case "$ac_cv_var_nlist_noprintf" in
  no) ;;
  *)  cat >>confdefs.h <<EOF
@@ -10537,10 +11804,10 @@ EOF
      ;;
 esac
 
-echo $ac_n "checking for a default value for 'tick'... $ac_c" 1>&6
-echo "configure:10542: checking for a default value for 'tick'" 1>&5
+echo "configure:11807: checking for a default value for 'tick'" >&5
+echo $ECHO_N "checking for a default value for 'tick'... $ECHO_C" >&6
 if test "${ac_cv_var_tick+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   # Check whether --enable-tick or --disable-tick was given.
 if test "${enable_tick+set}" = set; then
@@ -10568,10 +11835,10 @@ else
         ;;
      esac
 fi
-
 ac_cv_var_tick=$ans
 fi
-echo "$ac_t""$ac_cv_var_tick" 1>&6
+echo "configure:11840: result: $ac_cv_var_tick" >&5
+echo "${ECHO_T}$ac_cv_var_tick" >&6
 case "$ac_cv_var_tick" in
  ''|no) ;;     # HMS: I think we can only get 'no' here...
  *) cat >>confdefs.h <<EOF
@@ -10580,10 +11847,10 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking for a default value for 'tickadj'... $ac_c" 1>&6
-echo "configure:10585: checking for a default value for 'tickadj'" 1>&5
+echo "configure:11850: checking for a default value for 'tickadj'" >&5
+echo $ECHO_N "checking for a default value for 'tickadj'... $ECHO_C" >&6
 if test "${ac_cv_var_tickadj+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   # Check whether --enable-tickadj or --disable-tickadj was given.
 if test "${enable_tickadj+set}" = set; then
@@ -10636,10 +11903,10 @@ else
       ;;
   esac
 fi
-
 ac_cv_var_tickadj=$ans
 fi
-echo "$ac_t""$ac_cv_var_tickadj" 1>&6
+echo "configure:11908: result: $ac_cv_var_tickadj" >&5
+echo "${ECHO_T}$ac_cv_var_tickadj" >&6
 case "$ac_cv_var_tickadj" in
  ''|no) ;;     # HMS: I think we can only get 'no' here...
  *) cat >>confdefs.h <<EOF
@@ -10669,15 +11936,15 @@ esac
 ac_cv_make_tickadj=yes
 case "$ac_cv_var_can_kmem$ac_cv_var_tick$ac_cv_var_tickadj" in
  nonono)       # Don't read KMEM, no presets.  Bogus.
-    echo "configure: warning: Can't read kmem" 1>&2
+    echo "configure: WARNING: Can't read kmem" >&2
     ac_cv_make_tickadj=no
     ;;
  nono*)                # Don't read KMEM, no PRESET_TICK but PRESET_TICKADJ.  Bogus.
-    echo "configure: warning: Can't read kmem but no PRESET_TICK.  No tickadj." 1>&2
+    echo "configure: WARNING: Can't read kmem but no PRESET_TICK.  No tickadj." >&2
     ac_cv_make_tickadj=no
     ;;
  no*no)                # Don't read KMEM, PRESET_TICK but no PRESET_TICKADJ.  Bogus.
-    echo "configure: warning: Can't read kmem but no PRESET_TICKADJ.  No tickadj." 1>&2
+    echo "configure: WARNING: Can't read kmem but no PRESET_TICKADJ.  No tickadj." >&2
     ac_cv_make_tickadj=no
     ;;
  no*)          # Don't read KMEM, PRESET_TICK and PRESET_TICKADJ.  Cool.
@@ -10685,14 +11952,14 @@ case "$ac_cv_var_can_kmem$ac_cv_var_tick$ac_cv_var_tickadj" in
  yesnono)      # Read KMEM, no presets.  Cool.
     ;;
  yesno*)       # Read KMEM, no PRESET_TICK but PRESET_TICKADJ.  Bogus.
-    echo "configure: warning: PRESET_TICKADJ is defined but not PRESET_TICK.  Please report this." 1>&2
+    echo "configure: WARNING: PRESET_TICKADJ is defined but not PRESET_TICK.  Please report this." >&2
     ;;
  yes*no)       # Read KMEM, PRESET_TICK but no PRESET_TICKADJ.  Cool.
     ;;
  yes*)         # READ KMEM, PRESET_TICK and PRESET_TICKADJ.
     ;;
  *)            # Generally bogus.
-    { echo "configure: error: This shouldn't happen." 1>&2; exit 1; }
+    { echo "configure: error: This shouldn't happen." >&2; exit 1; }
     ;;
 esac
 
@@ -10711,24 +11978,25 @@ case "$target" in
  ;;
 esac
 
-echo $ac_n "checking if we want and can make the tickadj utility... $ac_c" 1>&6
-echo "configure:10716: checking if we want and can make the tickadj utility" 1>&5
+echo "configure:11981: checking if we want and can make the tickadj utility" >&5
+echo $ECHO_N "checking if we want and can make the tickadj utility... $ECHO_C" >&6
 if test "${ac_cv_make_tickadj+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_cv_make_tickadj=yes
 fi
-echo "$ac_t""$ac_cv_make_tickadj" 1>&6
+echo "configure:11988: result: $ac_cv_make_tickadj" >&5
+echo "${ECHO_T}$ac_cv_make_tickadj" >&6
 case "$ac_cv_make_tickadj" in
  yes)
     MAKE_TICKADJ=tickadj
     ;;
 esac
 
-echo $ac_n "checking if we want and can make the ntptime utility... $ac_c" 1>&6
-echo "configure:10730: checking if we want and can make the ntptime utility" 1>&5
+echo "configure:11996: checking if we want and can make the ntptime utility" >&5
+echo $ECHO_N "checking if we want and can make the ntptime utility... $ECHO_C" >&6
 if test "${ac_cv_make_ntptime+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   case "$target" in
  *) case "$ac_cv_struct_ntptimeval$ac_cv_var_kernel_pll" in
@@ -10743,17 +12011,18 @@ else
 esac
 ac_cv_make_ntptime=$ans
 fi
-echo "$ac_t""$ac_cv_make_ntptime" 1>&6
+echo "configure:12014: result: $ac_cv_make_ntptime" >&5
+echo "${ECHO_T}$ac_cv_make_ntptime" >&6
 case "$ac_cv_make_ntptime" in
  yes)
     MAKE_NTPTIME=ntptime
     ;;
 esac
 
-echo $ac_n "checking if we want UDP wildcard delivery... $ac_c" 1>&6
-echo "configure:10755: checking if we want UDP wildcard delivery" 1>&5
+echo "configure:12022: checking if we want UDP wildcard delivery" >&5
+echo $ECHO_N "checking if we want UDP wildcard delivery... $ECHO_C" >&6
 if test "${ac_cv_var_udp_wildcard_delivery+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   # Check whether --enable-udp-wildcard or --disable-udp-wildcard was given.
 if test "${enable_udp_wildcard+set}" = set; then
@@ -10806,10 +12075,10 @@ else
         ;;
      esac
 fi
-
 ac_cv_var_udp_wildcard_delivery=$ans
 fi
-echo "$ac_t""$ac_cv_var_udp_wildcard_delivery" 1>&6
+echo "configure:12080: result: $ac_cv_var_udp_wildcard_delivery" >&5
+echo "${ECHO_T}$ac_cv_var_udp_wildcard_delivery" >&6
 case "$ac_cv_var_udp_wildcard_delivery" in
  yes) cat >>confdefs.h <<\EOF
 #define UDP_WILDCARD_DELIVERY 1
@@ -10828,10 +12097,10 @@ case "$host" in
     ;;
 esac
 
-echo $ac_n "checking if we should always slew the time... $ac_c" 1>&6
-echo "configure:10833: checking if we should always slew the time" 1>&5
+echo "configure:12100: checking if we should always slew the time" >&5
+echo $ECHO_N "checking if we should always slew the time... $ECHO_C" >&6
 if test "${ac_cv_var_slew_always+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   # Check whether --enable-slew-always or --disable-slew-always was given.
 if test "${enable_slew_always+set}" = set; then
@@ -10854,12 +12123,12 @@ else
       *) ans=no
         ;;
      esac
-     
-fi
 
+fi
 ac_cv_var_slew_always=$ans
 fi
-echo "$ac_t""$ac_cv_var_slew_always" 1>&6
+echo "configure:12130: result: $ac_cv_var_slew_always" >&5
+echo "${ECHO_T}$ac_cv_var_slew_always" >&6
 case "$ac_cv_var_slew_always" in
  yes) cat >>confdefs.h <<\EOF
 #define SLEWALWAYS 1
@@ -10867,10 +12136,10 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking if we should step and slew the time... $ac_c" 1>&6
-echo "configure:10872: checking if we should step and slew the time" 1>&5
+echo "configure:12139: checking if we should step and slew the time" >&5
+echo $ECHO_N "checking if we should step and slew the time... $ECHO_C" >&6
 if test "${ac_cv_var_step_slew+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   # Check whether --enable-step-slew or --disable-step-slew was given.
 if test "${enable_step_slew+set}" = set; then
@@ -10896,12 +12165,12 @@ else
       *) ans=no
         ;;
      esac
-     
-fi
 
+fi
 ac_cv_var_step_slew=$ans
 fi
-echo "$ac_t""$ac_cv_var_step_slew" 1>&6
+echo "configure:12172: result: $ac_cv_var_step_slew" >&5
+echo "${ECHO_T}$ac_cv_var_step_slew" >&6
 case "$ac_cv_var_step_slew" in
  yes) cat >>confdefs.h <<\EOF
 #define STEP_SLEW 1
@@ -10909,10 +12178,10 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking if ntpdate should step the time... $ac_c" 1>&6
-echo "configure:10914: checking if ntpdate should step the time" 1>&5
+echo "configure:12181: checking if ntpdate should step the time" >&5
+echo $ECHO_N "checking if ntpdate should step the time... $ECHO_C" >&6
 if test "${ac_cv_var_ntpdate_step+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   # Check whether --enable-ntpdate-step or --disable-ntpdate-step was given.
 if test "${enable_ntpdate_step+set}" = set; then
@@ -10926,12 +12195,12 @@ else
       *) ans=no
         ;;
      esac
-     
-fi
 
+fi
 ac_cv_var_ntpdate_step=$ans
 fi
-echo "$ac_t""$ac_cv_var_ntpdate_step" 1>&6
+echo "configure:12202: result: $ac_cv_var_ntpdate_step" >&5
+echo "${ECHO_T}$ac_cv_var_ntpdate_step" >&6
 case "$ac_cv_var_ntpdate_step" in
  yes) cat >>confdefs.h <<\EOF
 #define FORCE_NTPDATE_STEP 1
@@ -10939,10 +12208,10 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking if we should sync TODR clock every hour... $ac_c" 1>&6
-echo "configure:10944: checking if we should sync TODR clock every hour" 1>&5
+echo "configure:12211: checking if we should sync TODR clock every hour" >&5
+echo $ECHO_N "checking if we should sync TODR clock every hour... $ECHO_C" >&6
 if test "${ac_cv_var_sync_todr+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   # Check whether --enable-hourly-todr-sync or --disable-hourly-todr-sync was given.
 if test "${enable_hourly_todr_sync+set}" = set; then
@@ -10960,10 +12229,10 @@ else
         ;;
      esac
 fi
-
 ac_cv_var_sync_todr=$ans
 fi
-echo "$ac_t""$ac_cv_var_sync_todr" 1>&6
+echo "configure:12234: result: $ac_cv_var_sync_todr" >&5
+echo "${ECHO_T}$ac_cv_var_sync_todr" >&6
 case "$ac_cv_var_sync_todr" in
  yes) cat >>confdefs.h <<\EOF
 #define DOSYNCTODR 1
@@ -10971,10 +12240,10 @@ EOF
  ;;
 esac
 
-echo $ac_n "checking if we should avoid kernel FLL bug... $ac_c" 1>&6
-echo "configure:10976: checking if we should avoid kernel FLL bug" 1>&5
+echo "configure:12243: checking if we should avoid kernel FLL bug" >&5
+echo $ECHO_N "checking if we should avoid kernel FLL bug... $ECHO_C" >&6
 if test "${ac_cv_var_kernel_fll_bug+set}" = set; then
-  echo $ac_n "(cached) $ac_c" 1>&6
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   # Check whether --enable-kernel-fll-bug or --disable-kernel-fll-bug was given.
 if test "${enable_kernel_fll_bug+set}" = set; then
@@ -11006,12 +12275,12 @@ else
      *) ans=no
         ;;
     esac
-    
-fi
 
+fi
 ac_cv_var_kernel_fll_bug=$ans
 fi
-echo "$ac_t""$ac_cv_var_kernel_fll_bug" 1>&6
+echo "configure:12282: result: $ac_cv_var_kernel_fll_bug" >&5
+echo "${ECHO_T}$ac_cv_var_kernel_fll_bug" >&6
 case "$ac_cv_var_kernel_fll_bug" in
  yes) cat >>confdefs.h <<\EOF
 #define KERNEL_FLL_BUG 1
@@ -11035,7 +12304,8 @@ esac
            test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
            eval echo \""$sysconfdir"\"
         )`
-       cat >>confdefs.h <<EOF
+       
+cat >>confdefs.h <<EOF
 #define NTP_KEYSDIR "$ac_expanded"
 EOF
 
@@ -11043,52 +12313,64 @@ EOF
 # the ANSI2KNR-filtering rules.
 LIBOBJS=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
 
+ac_config_files="$ac_config_files Makefile adjtimed/Makefile clockstuff/Makefile \
+ElectricFence/Makefile
+include/Makefile kernel/Makefile kernel/sys/Makefile libntp/Makefile \
+libparse/Makefile librsaref/Makefile ntpd/Makefile ntpdc/Makefile \
+ntpdate/Makefile ntpq/Makefile ntptrace/Makefile parseutil/Makefile \
+scripts/Makefile scripts/calc_tickadj scripts/checktime scripts/freq_adj \
+scripts/mkver scripts/ntp-wait scripts/ntpsweep scripts/ntpver \
+scripts/plot_summary scripts/summary util/Makefile"
+
+ac_config_commands="$ac_config_commands default"
+
 trap '' 1 2 15
 cat >confcache <<\EOF
 # This file is a shell script that caches the results of configure
 # tests run on this system so they can be shared between configure
-# scripts and configure runs.  It is not useful on other systems.
-# If it contains results you don't want to keep, you may remove or edit it.
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems.  If it contains results you don't
+# want to keep, you may remove or edit it.
 #
-# By default, configure uses ./config.cache as the cache file,
-# creating it if it does not exist already.  You can give configure
-# the --cache-file=FILE option to use a different cache file; that is
-# what configure does when it calls configure scripts in
-# subdirectories, so they share the cache.
-# Giving --cache-file=/dev/null disables caching, for debugging configure.
-# config.status only pays attention to the cache file if you give it the
-# --recheck option to rerun configure.
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
 #
+# `ac_cv_env_foo' variables (set or unset) will be overriden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
 EOF
 # The following way of writing the cache mishandles newlines in values,
 # but we know of no workaround that is simple, portable, and efficient.
 # So, don't put newlines in cache variables' values.
 # Ultrix sh set writes to stderr and can't be redirected directly,
 # and sets the high bit in the cache file unless we assign to the vars.
-(set) 2>&1 |
-  case `(ac_space=' '; set | grep ac_space) 2>&1` in
-  *ac_space=\ *)
-    # `set' does not quote correctly, so add quotes (double-quote substitution
-    # turns \\\\ into \\, and sed turns \\ into \).
-    sed -n \
-      -e "s/'/'\\\\''/g" \
-      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
-    ;;
-  *)
-    # `set' quotes correctly as required by POSIX, so do not add quotes.
-    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
-    ;;
-  esac >>confcache
+{
+  (set) 2>&1 |
+    case `(ac_space=' '; set | grep ac_space) 2>&1` in
+    *ac_space=\ *)
+      # `set' does not quote correctly, so add quotes (double-quote substitution
+      # turns \\\\ into \\, and sed turns \\ into \).
+      sed -n \
+       -e "s/'/'\\\\''/g" \
+       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1='\\2'/p"
+      ;;
+    *)
+      # `set' quotes correctly as required by POSIX, so do not add quotes.
+      sed -n 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\2/p'
+      ;;
+    esac;
+} |
+  sed '/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/' >>confcache
 if cmp -s $cache_file confcache; then :; else
   if test -w $cache_file; then
-    echo "updating cache $cache_file"
+    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
     cat confcache >$cache_file
   else
     echo "not updating unwritable cache $cache_file"
   fi
 fi
 rm -f confcache
-
 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
 
 test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
 DEFS=-DHAVE_CONFIG_H
 
+# Save into config.log some information that might help in debugging.
+echo >&5
+echo "Cache variables:" >&5
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, don't put newlines in cache variables' values.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+{
+  (set) 2>&1 |
+    case `(ac_space=' '; set | grep ac_space) 2>&1` in
+    *ac_space=\ *)
+      # `set' does not quote correctly, so add quotes (double-quote substitution
+      # turns \\\\ into \\, and sed turns \\ into \).
+      sed -n \
+       -e "s/'/'\\\\''/g" \
+       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1='\\2'/p"
+      ;;
+    *)
+      # `set' quotes correctly as required by POSIX, so do not add quotes.
+      sed -n 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\2/p'
+      ;;
+    esac;
+} | sed 's/^/| /' >&5
+echo >&5
+echo "confdefs.h:" >&5
+cat confdefs.h | sed 's/^/| /' >&5
+
 : ${CONFIG_STATUS=./config.status}
 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
 echo creating $CONFIG_STATUS
-cat >$CONFIG_STATUS <<EOF
+cat >$CONFIG_STATUS <<\EOF
 #! /bin/sh
 # Generated automatically by configure.
 # Run this file to recreate the current configuration.
-# This directory was configured as follows,
-# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
-#
-# $0 $ac_configure_args
-#
 # Compiler output produced by configure, useful for debugging
 # configure, is in ./config.log if it exists.
 
+debug=false
+me=`echo "$0" | sed 's,.*/,,'`
+SHELL=${CONFIG_SHELL-/bin/sh}
+
+EOF
+
 # Files that config.status was made for.
-config_files="\\
-  Makefile adjtimed/Makefile clockstuff/Makefile ElectricFence/Makefile
-  include/Makefile kernel/Makefile kernel/sys/Makefile libntp/Makefile
-  libparse/Makefile librsaref/Makefile ntpd/Makefile ntpdc/Makefile
-  ntpdate/Makefile ntpq/Makefile ntptrace/Makefile parseutil/Makefile
-  scripts/Makefile scripts/calc_tickadj scripts/checktime scripts/freq_adj
-  scripts/mkver scripts/ntp-wait scripts/ntpsweep scripts/ntpver
-  scripts/plot_summary scripts/summary util/Makefile"
-config_headers="\\
-  config.h"
-config_commands="\\
-  default-1 default-2 default"
-
-ac_cs_usage="\\
-\\\`$CONFIG_STATUS' instantiates files from templates according to the
+if test -n "$ac_config_files"; then
+  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
+fi
+
+if test -n "$ac_config_headers"; then
+  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
+fi
+
+if test -n "$ac_config_links"; then
+  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
+fi
+
+if test -n "$ac_config_commands"; then
+  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
+fi
+
+cat >>$CONFIG_STATUS <<\EOF
+
+ac_cs_usage="\
+\`$me' instantiates files from templates according to the
 current configuration.
 
-Usage: $CONFIG_STATUS [OPTIONS] FILE...
+Usage: $0 [OPTIONS] FILE...
 
-  --recheck    Update $CONFIG_STATUS by reconfiguring in the same conditions
-  --version    Print the version of Autoconf and exit
-  --help       Display this help and exit
+  -h, --help       print this help, then exit
+  -V, --version    print version number, then exit
+  -d, --debug      don't remove temporary files
+      --recheck    update $me by reconfiguring in the same conditions
   --file=FILE[:TEMPLATE]
-               Instantiate the configuration file FILE
+                   instantiate the configuration file FILE
   --header=FILE[:TEMPLATE]
-               Instantiate the configuration header FILE
+                   instantiate the configuration header FILE
 
 Configuration files:
-\$config_files
+$config_files
 
 Configuration headers:
-\$config_headers
+$config_headers
 
 Configuration commands:
-\$config_commands
+$config_commands
 
 Report bugs to <bug-autoconf@gnu.org>."
+EOF
 
+cat >>$CONFIG_STATUS <<EOF
 ac_cs_version="\\
-$CONFIG_STATUS generated by autoconf version 2.14a.
+$CONFIG_STATUS generated by autoconf version 2.49a.
 Configured on host `(hostname || uname -n) 2>/dev/null | sed 1q` by
-  `echo "$0 $ac_configure_args" | sed 's/[\\"\`\$]/\\\\&/g'`"
+  `echo "$0 $ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`"
 
-# Root of the tmp file names.  Use pid to allow concurrent executions.
-ac_cs_root=cs\$\$
 ac_given_srcdir=$srcdir
 ac_given_INSTALL="$INSTALL"
+EOF
 
+cat >>$CONFIG_STATUS <<\EOF
 # If no file are specified by the user, then we need to provide default
 # value.  By we need to know if files were specified by the user.
 ac_need_defaults=:
-while test \$# != 0
+while test $# != 0
 do
-  case "\$1" in
+  case $1 in
   --*=*)
-    ac_option=\`echo "\$1" | sed -e 's/=.*//'\`
-    ac_optarg=\`echo "\$1" | sed -e 's/[^=]*=//'\`
+    ac_option=`expr "x$1" : 'x\([^=]*\)='`
+    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
     shift
-    set dummy "\$ac_option" "\$ac_optarg" \${1+"\$@"}
+    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
     shift
     ;;
   -*);;
      ac_need_defaults=false;;
   esac
 
-  case "\$1" in
-
+  case $1 in
   # Handling of the options.
+EOF
+cat >>$CONFIG_STATUS <<EOF
   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
-    echo "running \${CONFIG_SHELL-/bin/sh} $0 `echo "$ac_configure_args" | sed 's/[\\"\`\$]/\\\\&/g'` --no-create --no-recursion"
-    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
-  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
-    echo "\$ac_cs_version"; exit 0 ;;
+    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
+    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
+EOF
+cat >>$CONFIG_STATUS <<\EOF
+  --version | --vers* | -V )
+    echo "$ac_cs_version"; exit 0 ;;
   --he | --h)
     # Conflict between --help and --header
-    echo "$CONFIG_STATUS: ambiguous option: \$ac_option"; exit 1 ;;
-  -help | --help | --hel )
-    echo "\$ac_cs_usage"; exit 0 ;;
+    echo "$me: ambiguous option: $ac_option
+Try \`$me --help' for more information."; exit 1 ;;
+  --help | --hel | -h )
+    echo "$ac_cs_usage"; exit 0 ;;
+  --debug | --d* | -d )
+    debug=: ;;
   --file | --fil | --fi | --f )
     shift
-    CONFIG_FILES="\$CONFIG_FILES \$1"
+    CONFIG_FILES="$CONFIG_FILES $1"
     ac_need_defaults=false;;
   --header | --heade | --head | --hea )
     shift
-    CONFIG_HEADERS="\$CONFIG_FILES \$1"
+    CONFIG_HEADERS="$CONFIG_HEADERS $1"
     ac_need_defaults=false;;
 
   # Handling of arguments.
-  'Makefile' ) CONFIG_FILES="\$CONFIG_FILES Makefile" ;;
-  'adjtimed/Makefile' ) CONFIG_FILES="\$CONFIG_FILES adjtimed/Makefile" ;;
-  'clockstuff/Makefile' ) CONFIG_FILES="\$CONFIG_FILES clockstuff/Makefile" ;;
-  'ElectricFence/Makefile' ) CONFIG_FILES="\$CONFIG_FILES ElectricFence/Makefile" ;;
-  'include/Makefile' ) CONFIG_FILES="\$CONFIG_FILES include/Makefile" ;;
-  'kernel/Makefile' ) CONFIG_FILES="\$CONFIG_FILES kernel/Makefile" ;;
-  'kernel/sys/Makefile' ) CONFIG_FILES="\$CONFIG_FILES kernel/sys/Makefile" ;;
-  'libntp/Makefile' ) CONFIG_FILES="\$CONFIG_FILES libntp/Makefile" ;;
-  'libparse/Makefile' ) CONFIG_FILES="\$CONFIG_FILES libparse/Makefile" ;;
-  'librsaref/Makefile' ) CONFIG_FILES="\$CONFIG_FILES librsaref/Makefile" ;;
-  'ntpd/Makefile' ) CONFIG_FILES="\$CONFIG_FILES ntpd/Makefile" ;;
-  'ntpdc/Makefile' ) CONFIG_FILES="\$CONFIG_FILES ntpdc/Makefile" ;;
-  'ntpdate/Makefile' ) CONFIG_FILES="\$CONFIG_FILES ntpdate/Makefile" ;;
-  'ntpq/Makefile' ) CONFIG_FILES="\$CONFIG_FILES ntpq/Makefile" ;;
-  'ntptrace/Makefile' ) CONFIG_FILES="\$CONFIG_FILES ntptrace/Makefile" ;;
-  'parseutil/Makefile' ) CONFIG_FILES="\$CONFIG_FILES parseutil/Makefile" ;;
-  'scripts/Makefile' ) CONFIG_FILES="\$CONFIG_FILES scripts/Makefile" ;;
-  'scripts/calc_tickadj' ) CONFIG_FILES="\$CONFIG_FILES scripts/calc_tickadj" ;;
-  'scripts/checktime' ) CONFIG_FILES="\$CONFIG_FILES scripts/checktime" ;;
-  'scripts/freq_adj' ) CONFIG_FILES="\$CONFIG_FILES scripts/freq_adj" ;;
-  'scripts/mkver' ) CONFIG_FILES="\$CONFIG_FILES scripts/mkver" ;;
-  'scripts/ntp-wait' ) CONFIG_FILES="\$CONFIG_FILES scripts/ntp-wait" ;;
-  'scripts/ntpsweep' ) CONFIG_FILES="\$CONFIG_FILES scripts/ntpsweep" ;;
-  'scripts/ntpver' ) CONFIG_FILES="\$CONFIG_FILES scripts/ntpver" ;;
-  'scripts/plot_summary' ) CONFIG_FILES="\$CONFIG_FILES scripts/plot_summary" ;;
-  'scripts/summary' ) CONFIG_FILES="\$CONFIG_FILES scripts/summary" ;;
-  'util/Makefile' ) CONFIG_FILES="\$CONFIG_FILES util/Makefile" ;;
-  'default-1' ) CONFIG_COMMANDS="\$CONFIG_COMMANDS default-1" ;;
-  'default-2' ) CONFIG_COMMANDS="\$CONFIG_COMMANDS default-2" ;;
-  'default' ) CONFIG_COMMANDS="\$CONFIG_COMMANDS default" ;;
-  'config.h' ) CONFIG_HEADERS="\$CONFIG_HEADERS config.h" ;;
+  'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+  'adjtimed/Makefile' ) CONFIG_FILES="$CONFIG_FILES adjtimed/Makefile" ;;
+  'clockstuff/Makefile' ) CONFIG_FILES="$CONFIG_FILES clockstuff/Makefile" ;;
+  'ElectricFence/Makefile' ) CONFIG_FILES="$CONFIG_FILES ElectricFence/Makefile" ;;
+  'include/Makefile' ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
+  'kernel/Makefile' ) CONFIG_FILES="$CONFIG_FILES kernel/Makefile" ;;
+  'kernel/sys/Makefile' ) CONFIG_FILES="$CONFIG_FILES kernel/sys/Makefile" ;;
+  'libntp/Makefile' ) CONFIG_FILES="$CONFIG_FILES libntp/Makefile" ;;
+  'libparse/Makefile' ) CONFIG_FILES="$CONFIG_FILES libparse/Makefile" ;;
+  'librsaref/Makefile' ) CONFIG_FILES="$CONFIG_FILES librsaref/Makefile" ;;
+  'ntpd/Makefile' ) CONFIG_FILES="$CONFIG_FILES ntpd/Makefile" ;;
+  'ntpdc/Makefile' ) CONFIG_FILES="$CONFIG_FILES ntpdc/Makefile" ;;
+  'ntpdate/Makefile' ) CONFIG_FILES="$CONFIG_FILES ntpdate/Makefile" ;;
+  'ntpq/Makefile' ) CONFIG_FILES="$CONFIG_FILES ntpq/Makefile" ;;
+  'ntptrace/Makefile' ) CONFIG_FILES="$CONFIG_FILES ntptrace/Makefile" ;;
+  'parseutil/Makefile' ) CONFIG_FILES="$CONFIG_FILES parseutil/Makefile" ;;
+  'scripts/Makefile' ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
+  'scripts/calc_tickadj' ) CONFIG_FILES="$CONFIG_FILES scripts/calc_tickadj" ;;
+  'scripts/checktime' ) CONFIG_FILES="$CONFIG_FILES scripts/checktime" ;;
+  'scripts/freq_adj' ) CONFIG_FILES="$CONFIG_FILES scripts/freq_adj" ;;
+  'scripts/mkver' ) CONFIG_FILES="$CONFIG_FILES scripts/mkver" ;;
+  'scripts/ntp-wait' ) CONFIG_FILES="$CONFIG_FILES scripts/ntp-wait" ;;
+  'scripts/ntpsweep' ) CONFIG_FILES="$CONFIG_FILES scripts/ntpsweep" ;;
+  'scripts/ntpver' ) CONFIG_FILES="$CONFIG_FILES scripts/ntpver" ;;
+  'scripts/plot_summary' ) CONFIG_FILES="$CONFIG_FILES scripts/plot_summary" ;;
+  'scripts/summary' ) CONFIG_FILES="$CONFIG_FILES scripts/summary" ;;
+  'util/Makefile' ) CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
+  'default-1' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
+  'default-2' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
+  'default' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
+  'config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
   # This is an error.
-  -*) echo "$CONFIG_STATUS: invalid option: \$1"; exit 1 ;;
-  *) echo "$CONFIG_STATUS: invalid argument: \$1"; exit 1 ;;
+  -*) echo "$me: unrecognized option: $1
+Try \`$me --help' for more information."; exit 1 ;;
+  *) echo "$me: invalid argument: $1"; exit 1 ;;
   esac
   shift
 done
 
 EOF
 
-cat >>$CONFIG_STATUS <<EOF
+cat >>$CONFIG_STATUS <<\EOF
 # If the user did not use the arguments to specify the items to instantiate,
 # then the envvar interface is used.  Set only those that are not.
-if \$ac_need_defaults; then
-  : \${CONFIG_FILES=\$config_files}
-  : \${CONFIG_HEADERS=\$config_headers}
-  : \${CONFIG_COMMANDS=\$config_commands}
+if $ac_need_defaults; then
+  : ${CONFIG_FILES=$config_files}
+  : ${CONFIG_HEADERS=$config_headers}
+  : ${CONFIG_COMMANDS=$config_commands}
 fi
 
-# Remove all the CONFIG_FILES, and trap to remove the temp files.
-rm -fr \`echo "\$CONFIG_FILES" | sed "s/:[^ ]*//g"\`
-trap 'rm -fr \$ac_cs_root*; exit 1' 1 2 15
+# Create a temporary directory, and hook for its removal unless debugging.
+$debug ||
+{
+  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
+  trap 'exit $?' 1 2 13 15
+}
+
+# Create a (secure) tmp directory for tmp files.
+: ${TMPDIR=/tmp}
+{
+  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
+  test -n "$tmp" && test -d "$tmp"
+}  ||
+{
+  tmp=$TMPDIR/cs$$-$RANDOM && (umask 077 && mkdir $tmp)
+} ||
+{
+   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
+   exit 1;
+}
 
 EOF
 
@@ -11271,8 +12614,18 @@ cat >>$CONFIG_STATUS <<EOF
 # INIT-COMMANDS section.
 #
 
+am_indx=1
+  for am_file in config.h; do
+    case " $CONFIG_HEADERS " in
+    *" $am_file "*)
+      echo timestamp > `echo $am_file | sed 's%:.*%%;s%[^/]*$%%'`stamp-h$am_indx
+      ;;
+    esac
+    am_indx=\`expr \$am_indx + 1\`
+  done
 AMDEP="$AMDEP"
 ac_aux_dir="$ac_aux_dir"
+
 EOF
 
 cat >>$CONFIG_STATUS <<EOF
@@ -11285,93 +12638,97 @@ cat >>$CONFIG_STATUS <<EOF
 # This happens for instance when ./config.status config.h
 if test -n "\$CONFIG_FILES"; then
   # Protect against being on the right side of a sed subst in config.status.
-  sed 's/%@/@@/; s/@%/@@/; s/%;t t\$/@;t t/; /@;t t\$/s/[\\\\&%]/\\\\&/g;
-   s/@@/%@/; s/@@/@%/; s/@;t t\$/%;t t/' >\$ac_cs_root.subs <<\\CEOF
-s%@SHELL@%$SHELL%;t t
-s%@CFLAGS@%$CFLAGS%;t t
-s%@CPPFLAGS@%$CPPFLAGS%;t t
-s%@CXXFLAGS@%$CXXFLAGS%;t t
-s%@FFLAGS@%$FFLAGS%;t t
-s%@DEFS@%$DEFS%;t t
-s%@LDFLAGS@%$LDFLAGS%;t t
-s%@LIBS@%$LIBS%;t t
-s%@exec_prefix@%$exec_prefix%;t t
-s%@prefix@%$prefix%;t t
-s%@program_transform_name@%$program_transform_name%;t t
-s%@bindir@%$bindir%;t t
-s%@sbindir@%$sbindir%;t t
-s%@libexecdir@%$libexecdir%;t t
-s%@datadir@%$datadir%;t t
-s%@sysconfdir@%$sysconfdir%;t t
-s%@sharedstatedir@%$sharedstatedir%;t t
-s%@localstatedir@%$localstatedir%;t t
-s%@libdir@%$libdir%;t t
-s%@includedir@%$includedir%;t t
-s%@oldincludedir@%$oldincludedir%;t t
-s%@infodir@%$infodir%;t t
-s%@mandir@%$mandir%;t t
-s%@host@%$host%;t t
-s%@host_alias@%$host_alias%;t t
-s%@host_cpu@%$host_cpu%;t t
-s%@host_vendor@%$host_vendor%;t t
-s%@host_os@%$host_os%;t t
-s%@target@%$target%;t t
-s%@target_alias@%$target_alias%;t t
-s%@target_cpu@%$target_cpu%;t t
-s%@target_vendor@%$target_vendor%;t t
-s%@target_os@%$target_os%;t t
-s%@build@%$build%;t t
-s%@build_alias@%$build_alias%;t t
-s%@build_cpu@%$build_cpu%;t t
-s%@build_vendor@%$build_vendor%;t t
-s%@build_os@%$build_os%;t t
-s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%;t t
-s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%;t t
-s%@INSTALL_DATA@%$INSTALL_DATA%;t t
-s%@PACKAGE@%$PACKAGE%;t t
-s%@VERSION@%$VERSION%;t t
-s%@ACLOCAL@%$ACLOCAL%;t t
-s%@AUTOCONF@%$AUTOCONF%;t t
-s%@AUTOMAKE@%$AUTOMAKE%;t t
-s%@AUTOHEADER@%$AUTOHEADER%;t t
-s%@MAKEINFO@%$MAKEINFO%;t t
-s%@AMTAR@%$AMTAR%;t t
-s%@install_sh@%$install_sh%;t t
-s%@AWK@%$AWK%;t t
-s%@SET_MAKE@%$SET_MAKE%;t t
-s%@AMDEP@%$AMDEP%;t t
-s%@AMDEPBACKSLASH@%$AMDEPBACKSLASH%;t t
-s%@DEPDIR@%$DEPDIR%;t t
-s%@CC@%$CC%;t t
-s%@CPP@%$CPP%;t t
-s%@CCDEPMODE@%$CCDEPMODE%;t t
-s%@LN_S@%$LN_S%;t t
-s%@RANLIB@%$RANLIB%;t t
-s%@PATH_SH@%$PATH_SH%;t t
-s%@PATH_PERL@%$PATH_PERL%;t t
-s%@U@%$U%;t t
-s%@ANSI2KNR@%$ANSI2KNR%;t t
-s%@LIBOBJS@%$LIBOBJS%;t t
-s%@LIBPARSE@%$LIBPARSE%;t t
-s%@MAKE_LIBPARSE@%$MAKE_LIBPARSE%;t t
-s%@MAKE_LIBPARSE_KERNEL@%$MAKE_LIBPARSE_KERNEL%;t t
-s%@MAKE_CHECK_Y2K@%$MAKE_CHECK_Y2K%;t t
-s%@RSAREF@%$RSAREF%;t t
-s%@LIBRSAREF@%$LIBRSAREF%;t t
-s%@MAKE_LIBRSAREF@%$MAKE_LIBRSAREF%;t t
-s%@MAKE_NTP_GENKEYS@%$MAKE_NTP_GENKEYS%;t t
-s%@AUTOKEY@%$AUTOKEY%;t t
-s%@EF_PROGS@%$EF_PROGS%;t t
-s%@EF_LIBS@%$EF_LIBS%;t t
-s%@TESTDCF@%$TESTDCF%;t t
-s%@DCFD@%$DCFD%;t t
-s%@MAKE_PARSEKMODULE@%$MAKE_PARSEKMODULE%;t t
-s%@PROPDELAY@%$PROPDELAY%;t t
-s%@CHUTEST@%$CHUTEST%;t t
-s%@CLKTEST@%$CLKTEST%;t t
-s%@MAKE_ADJTIMED@%$MAKE_ADJTIMED%;t t
-s%@MAKE_TICKADJ@%$MAKE_TICKADJ%;t t
-s%@MAKE_NTPTIME@%$MAKE_NTPTIME%;t t
+  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
+   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
+s,@SHELL@,$SHELL,;t t
+s,@exec_prefix@,$exec_prefix,;t t
+s,@prefix@,$prefix,;t t
+s,@program_transform_name@,$program_transform_name,;t t
+s,@bindir@,$bindir,;t t
+s,@sbindir@,$sbindir,;t t
+s,@libexecdir@,$libexecdir,;t t
+s,@datadir@,$datadir,;t t
+s,@sysconfdir@,$sysconfdir,;t t
+s,@sharedstatedir@,$sharedstatedir,;t t
+s,@localstatedir@,$localstatedir,;t t
+s,@libdir@,$libdir,;t t
+s,@includedir@,$includedir,;t t
+s,@oldincludedir@,$oldincludedir,;t t
+s,@infodir@,$infodir,;t t
+s,@mandir@,$mandir,;t t
+s,@ECHO_C@,$ECHO_C,;t t
+s,@ECHO_N@,$ECHO_N,;t t
+s,@ECHO_T@,$ECHO_T,;t t
+s,@CFLAGS@,$CFLAGS,;t t
+s,@CPPFLAGS@,$CPPFLAGS,;t t
+s,@CXXFLAGS@,$CXXFLAGS,;t t
+s,@FFLAGS@,$FFLAGS,;t t
+s,@DEFS@,$DEFS,;t t
+s,@LDFLAGS@,$LDFLAGS,;t t
+s,@LIBS@,$LIBS,;t t
+s,@build@,$build,;t t
+s,@build_cpu@,$build_cpu,;t t
+s,@build_vendor@,$build_vendor,;t t
+s,@build_os@,$build_os,;t t
+s,@host@,$host,;t t
+s,@host_cpu@,$host_cpu,;t t
+s,@host_vendor@,$host_vendor,;t t
+s,@host_os@,$host_os,;t t
+s,@target@,$target,;t t
+s,@target_cpu@,$target_cpu,;t t
+s,@target_vendor@,$target_vendor,;t t
+s,@target_os@,$target_os,;t t
+s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
+s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
+s,@INSTALL_DATA@,$INSTALL_DATA,;t t
+s,@PACKAGE@,$PACKAGE,;t t
+s,@VERSION@,$VERSION,;t t
+s,@ACLOCAL@,$ACLOCAL,;t t
+s,@AUTOCONF@,$AUTOCONF,;t t
+s,@AUTOMAKE@,$AUTOMAKE,;t t
+s,@AUTOHEADER@,$AUTOHEADER,;t t
+s,@MAKEINFO@,$MAKEINFO,;t t
+s,@AMTAR@,$AMTAR,;t t
+s,@install_sh@,$install_sh,;t t
+s,@AWK@,$AWK,;t t
+s,@SET_MAKE@,$SET_MAKE,;t t
+s,@AMDEP@,$AMDEP,;t t
+s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
+s,@DEPDIR@,$DEPDIR,;t t
+s,@CC@,$CC,;t t
+s,@ac_ct_CC@,$ac_ct_CC,;t t
+s,@EXEEXT@,$EXEEXT,;t t
+s,@OBJEXT@,$OBJEXT,;t t
+s,@CPP@,$CPP,;t t
+s,@CCDEPMODE@,$CCDEPMODE,;t t
+s,@LN_S@,$LN_S,;t t
+s,@RANLIB@,$RANLIB,;t t
+s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
+s,@PATH_SH@,$PATH_SH,;t t
+s,@PATH_PERL@,$PATH_PERL,;t t
+s,@U@,$U,;t t
+s,@ANSI2KNR@,$ANSI2KNR,;t t
+s,@LIBOBJS@,$LIBOBJS,;t t
+s,@LIBPARSE@,$LIBPARSE,;t t
+s,@MAKE_LIBPARSE@,$MAKE_LIBPARSE,;t t
+s,@MAKE_LIBPARSE_KERNEL@,$MAKE_LIBPARSE_KERNEL,;t t
+s,@MAKE_CHECK_Y2K@,$MAKE_CHECK_Y2K,;t t
+s,@RSAREF@,$RSAREF,;t t
+s,@LIBRSAREF@,$LIBRSAREF,;t t
+s,@MAKE_LIBRSAREF@,$MAKE_LIBRSAREF,;t t
+s,@MAKE_NTP_GENKEYS@,$MAKE_NTP_GENKEYS,;t t
+s,@AUTOKEY@,$AUTOKEY,;t t
+s,@EF_PROGS@,$EF_PROGS,;t t
+s,@EF_LIBS@,$EF_LIBS,;t t
+s,@TESTDCF@,$TESTDCF,;t t
+s,@DCFD@,$DCFD,;t t
+s,@MAKE_PARSEKMODULE@,$MAKE_PARSEKMODULE,;t t
+s,@PROPDELAY@,$PROPDELAY,;t t
+s,@CHUTEST@,$CHUTEST,;t t
+s,@CLKTEST@,$CLKTEST,;t t
+s,@MAKE_ADJTIMED@,$MAKE_ADJTIMED,;t t
+s,@MAKE_TICKADJ@,$MAKE_TICKADJ,;t t
+s,@MAKE_NTPTIME@,$MAKE_NTPTIME,;t t
 CEOF
 
 EOF
@@ -11384,27 +12741,26 @@ EOF
   ac_beg=1 # First line for current file.
   ac_end=$ac_max_sed_lines # Line after last line for current file.
   ac_more_lines=:
-  ac_sed_cmds=""
+  ac_sed_cmds=
   while $ac_more_lines; do
     if test $ac_beg -gt 1; then
-      sed "1,${ac_beg}d; ${ac_end}q" $ac_cs_root.subs >$ac_cs_root.sfrag
+      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     else
-      sed "${ac_end}q" $ac_cs_root.subs >$ac_cs_root.sfrag
+      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     fi
-    if test ! -s $ac_cs_root.sfrag; then
+    if test ! -s $tmp/subs.frag; then
       ac_more_lines=false
-      rm -f $ac_cs_root.sfrag
     else
       # The purpose of the label and of the branching condition is to
       # speed up the sed processing (if there are no `@' at all, there
       # is no need to browse any of the substitutions).
       # These are the two extra sed commands mentioned above.
       (echo ':t
-  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $ac_cs_root.sfrag) >$ac_cs_root.s$ac_sed_frag
+  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
       if test -z "$ac_sed_cmds"; then
-       ac_sed_cmds="sed -f $ac_cs_root.s$ac_sed_frag"
+       ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
       else
-       ac_sed_cmds="$ac_sed_cmds | sed -f $ac_cs_root.s$ac_sed_frag"
+       ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
       fi
       ac_sed_frag=`expr $ac_sed_frag + 1`
       ac_beg=$ac_end
@@ -11418,80 +12774,120 @@ fi # test -n "$CONFIG_FILES"
 
 EOF
 cat >>$CONFIG_STATUS <<\EOF
-for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
+for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
-  case "$ac_file" in
-  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
-       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
-  *) ac_file_in="${ac_file}.in" ;;
+  case $ac_file in
+  - | *:- | *:-:* ) # input from stdin
+        cat >$tmp/stdin
+        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
+        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
+  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
+        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
+  * )   ac_file_in=$ac_file.in ;;
   esac
 
   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
-
-  # Remove last slash and all that follows it.  Not all systems have dirname.
-  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
+  ac_dir=`expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+      X"$ac_file" : 'X\(//\)[^/]' \| \
+      X"$ac_file" : 'X\(//\)$' \| \
+      X"$ac_file" : 'X\(/\)' \| \
+      .   : '\(.\)' 2>/dev/null ||
+echo "X"$ac_file"" | sed '
+           /^X\(.*^/\)\/\/*^/^/*\/*$/{ s//\1/p; q; }
+           /^X\(\/\/\)^/.*/{ s//\1/p; q; }
+           /^X\(\/\/\)$/{ s//\1/p; q; }
+           /^X\(\/\).*/{ s//\1/p; q; }
+           s/.*/./p; q'`
   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
-    # The file is in a subdirectory.
-    test ! -d "$ac_dir" && mkdir "$ac_dir"
-    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
+    { case "$ac_dir" in
+  [\\/]* | ?:[\\/]* ) ac_incr_dir=;;
+  *)                      ac_incr_dir=.;;
+esac
+ac_dummy=""$ac_dir""
+for ac_mkdir_dir in `IFS=/; set X $ac_dummy; shift; echo "$@"`; do
+  ac_incr_dir=$ac_incr_dir/$ac_mkdir_dir
+  test -d $ac_incr_dir || mkdir $ac_incr_dir
+done; }
+
+    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
     # A "../" for each directory in $ac_dir_suffix.
-    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
+    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
   else
     ac_dir_suffix= ac_dots=
   fi
 
-  case "$ac_given_srcdir" in
+  case $ac_given_srcdir in
   .)  srcdir=.
       if test -z "$ac_dots"; then top_srcdir=.
-      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
-  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
+      else top_srcdir=`echo $ac_dots | sed 's,/$,,'`; fi ;;
+  [\\/]* | ?:[\\/]* )
+      srcdir=$ac_given_srcdir$ac_dir_suffix;
+      top_srcdir=$ac_given_srcdir ;;
   *) # Relative path.
-    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
-    top_srcdir="$ac_dots$ac_given_srcdir" ;;
+    srcdir=$ac_dots$ac_given_srcdir$ac_dir_suffix
+    top_srcdir=$ac_dots$ac_given_srcdir ;;
   esac
 
-  case "$ac_given_INSTALL" in
-  [/$]*) INSTALL="$ac_given_INSTALL" ;;
-  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
+  case $ac_given_INSTALL in
+  [\\/$]* | ?:[\\/]* ) INSTALL=$ac_given_INSTALL ;;
+  *) INSTALL=$ac_dots$ac_given_INSTALL ;;
   esac
 
-  echo creating "$ac_file"
-  rm -f "$ac_file"
+  if test x"$ac_file" != x-; then
+    echo creating $ac_file
+    rm -f "$ac_file"
+  fi
   configure_input="Generated automatically from `echo $ac_file_in |
-                                                 sed 's%.*/%%'` by configure."
-  case "$ac_file" in
-  *[Mm]akefile*) ac_comsub="1i\\
-# $configure_input" ;;
-  *) ac_comsub= ;;
-  esac
-
-  # Don't redirect the output to AC_FILE directly: use `mv' so that updating
-  # is atomic, and doesn't need trapping.
-  ac_file_inputs=`echo $ac_file_in |
-                  sed -e "s%^%$ac_given_srcdir/%;s%:% $ac_given_srcdir/%g"`
-  for ac_file_input in $ac_file_inputs;
-  do
-    test -f "$ac_file_input" ||
-        { echo "configure: error: cannot find input file \`$ac_file_input'" 1>&2; exit 1; }
-  done
+                                                 sed 's,.*/,,'` by configure."
+
+  # Don't redirect the output to AC_FILE directly: use `mv' so that
+  # updating is atomic, and doesn't need trapping.
+
+  # First look for the input files in the build tree, otherwise in the
+  # src tree.
+  ac_file_inputs=`IFS=:
+    for f in $ac_file_in; do
+      case $f in
+      -) echo $tmp/stdin ;;
+      [\\/$]* | ?:[\\/]*)
+         # Absolute
+         test -f "$f" || { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+         echo $f;;
+      *) # Relative
+         if test -f "$f"; then
+           # Build tree
+           echo $f
+         elif test -f "$ac_given_srcdir/$f"; then
+           # Source tree
+           echo $ac_given_srcdir/$f
+         else
+           # /dev/null tree
+           { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+         fi;;
+      esac
+    done`
 EOF
 cat >>$CONFIG_STATUS <<EOF
-  sed -e "$ac_comsub
-$ac_vpsub
+  sed "$ac_vpsub
 $extrasub
 EOF
 cat >>$CONFIG_STATUS <<\EOF
 :t
 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s%@configure_input@%$configure_input%;t t
-s%@srcdir@%$srcdir%;t t
-s%@top_srcdir@%$top_srcdir%;t t
-s%@INSTALL@%$INSTALL%;t t
-" $ac_file_inputs | (eval "$ac_sed_cmds") >$ac_cs_root.out
-  mv $ac_cs_root.out $ac_file
+s,@configure_input@,$configure_input,;t t
+s,@srcdir@,$srcdir,;t t
+s,@top_srcdir@,$top_srcdir,;t t
+s,@INSTALL@,$INSTALL,;t t
+" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
+  rm -f $tmp/stdin
+  if test x"$ac_file" != x-; then
+    mv $tmp/out $ac_file
+  else
+    cat $tmp/out
+    rm -f $tmp/out
+  fi
 
-fi; done
-rm -f $ac_cs_root.s*
+done
 EOF
 cat >>$CONFIG_STATUS <<\EOF
 
@@ -11503,36 +12899,55 @@ cat >>$CONFIG_STATUS <<\EOF
 # NAME is the cpp macro being defined and VALUE is the value it is being given.
 #
 # ac_d sets the value in "#define NAME VALUE" lines.
-ac_dA='s%^\([  ]*\)#\([        ]*<<define>>[   ][      ]*\)'
-ac_dB='\([     ][      ]*\)[^  ]*%\1#\2'
-ac_dC='\3'
-ac_dD='%;t t'
+ac_dA='s,^\([  ]*\)#\([        ]*define[       ][      ]*\)'
+ac_dB='[       ].*$,\1#\2'
+ac_dC=' '
+ac_dD=',;t'
 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
-ac_uA='s%^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
-ac_uB='$%\1#\2define\3'
+ac_uA='s,^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
+ac_uB='$,\1#\2define\3'
 ac_uC=' '
-ac_uD='%;t t'
+ac_uD=',;t'
 
-for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
+for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
-  case "$ac_file" in
-  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
-       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
-  *) ac_file_in="${ac_file}.in" ;;
+  case $ac_file in
+  - | *:- | *:-:* ) # input from stdin
+        cat >$tmp/stdin
+        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
+        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
+  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
+        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
+  * )   ac_file_in=$ac_file.in ;;
   esac
 
-  echo creating $ac_file
-
-  rm -f $ac_cs_root.frag $ac_cs_root.in $ac_cs_root.out
-  ac_file_inputs=`echo $ac_file_in |
-                  sed -e "s%^%$ac_given_srcdir/%;s%:% $ac_given_srcdir/%g"`
-    for ac_file_input in $ac_file_inputs;
-  do
-    test -f "$ac_file_input" ||
-        { echo "configure: error: cannot find input file \`$ac_file_input'" 1>&2; exit 1; }
-  done
+  test x"$ac_file" != x- && echo creating $ac_file
+
+  # First look for the input files in the build tree, otherwise in the
+  # src tree.
+  ac_file_inputs=`IFS=:
+    for f in $ac_file_in; do
+      case $f in
+      -) echo $tmp/stdin ;;
+      [\\/$]* | ?:[\\/]*)
+         # Absolute
+         test -f "$f" || { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+         echo $f;;
+      *) # Relative
+         if test -f "$f"; then
+           # Build tree
+           echo $f
+         elif test -f "$ac_given_srcdir/$f"; then
+           # Source tree
+           echo $ac_given_srcdir/$f
+         else
+           # /dev/null tree
+           { echo "configure: error: cannot find input file \\\`$f'" >&2; exit 1; }
+         fi;;
+      esac
+    done`
   # Remove the trailing spaces.
-  sed -e 's/[  ]*$//' $ac_file_inputs >$ac_cs_root.in
+  sed 's/[     ]*$//' $ac_file_inputs >$tmp/in
 
 EOF
 
@@ -11544,48 +12959,58 @@ EOF
 # config.status.  Protect against being in an unquoted here document
 # in config.status.
 rm -f conftest.defines conftest.undefs
-cat >$ac_cs_root.hdr <<\EOF
-s/[\\&%]/\\&/g
-s%[\\$`]%\\&%g
+# Using a here document instead of a string reduces the quoting nightmare.
+# Putting comments in sed scripts is not portable.
+#
+# `cleanup' is used to avoid that the second main sed command (meant for
+# 0-ary CPP macros) applies to n-ary macro definitions.  So we use
+# `t cleanup' to jump over the second main sed command when it succeeded.
+# See the Autoconf documentation for `clear'.
+cat >confdef2sed.sed <<\EOF
+s/[\\&,]/\\&/g
+s,[\\$`],\\&,g
 t clear
 : clear
-s%^[   ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$%${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD}%gp
+s,^[   ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
 t cleanup
-s%^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
+s,^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 : cleanup
 EOF
 # If some macros were called several times there might be several times
 # the same #defines, which is useless.  Nevertheless, we may not want to
 # sort them, since we want the *last* AC_DEFINE to be honored.
-uniq confdefs.h | sed -n -f $ac_cs_root.hdr >conftest.defines
-sed -e 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
-rm -f $ac_cs_root.hdr
+uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
+sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
+rm -f confdef2sed.sed
 
 # This sed command replaces #undef with comments.  This is necessary, for
 # example, in the case of _POSIX_SOURCE, which is predefined and required
 # on some systems where configure will not decide to define it.
 cat >>conftest.undefs <<\EOF
-s%^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
+s,^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 EOF
 
 # Break up conftest.defines because some shells have a limit on the size
 # of here documents, and old seds have small limits too (100 cmds).
 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
-echo '  if egrep "^[   ]*#[    ]*define" $ac_cs_root.in >/dev/null; then' >>$CONFIG_STATUS
+echo '  if egrep "^[   ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
 echo '  :' >>$CONFIG_STATUS
 rm -f conftest.tail
 while grep . conftest.defines >/dev/null
 do
-  # Write a limited-size here document to $ac_cs_root.frag.
-  echo '  cat >$ac_cs_root.frag <<CEOF' >>$CONFIG_STATUS
-  echo ': t' >>$CONFIG_STATUS
+  # Write a limited-size here document to $tmp/defines.sed.
+  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
+  # Speed up: don't consider the non `#define' lines.
   echo '/^[    ]*#[    ]*define/!b' >>$CONFIG_STATUS
+  # Work around the forget-to-reset-the-flag bug.
+  echo 't clr' >>$CONFIG_STATUS
+  echo ': clr' >>$CONFIG_STATUS
   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   echo 'CEOF
-  sed -f $ac_cs_root.frag $ac_cs_root.in >$ac_cs_root.out
-  rm -f $ac_cs_root.in
-  mv $ac_cs_root.out $ac_cs_root.in
+  sed -f $tmp/defines.sed $tmp/in >$tmp/out
+  rm -f $tmp/in
+  mv $tmp/out $tmp/in
 ' >>$CONFIG_STATUS
   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   rm -f conftest.defines
@@ -11601,15 +13026,18 @@ echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
 rm -f conftest.tail
 while grep . conftest.undefs >/dev/null
 do
-  # Write a limited-size here document to $ac_cs_root.frag.
-  echo '  cat >$ac_cs_root.frag <<CEOF' >>$CONFIG_STATUS
-  echo ': t' >>$CONFIG_STATUS
+  # Write a limited-size here document to $tmp/undefs.sed.
+  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
+  # Speed up: don't consider the non `#undef'
   echo '/^[    ]*#[    ]*undef/!b' >>$CONFIG_STATUS
+  # Work around the forget-to-reset-the-flag bug.
+  echo 't clr' >>$CONFIG_STATUS
+  echo ': clr' >>$CONFIG_STATUS
   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   echo 'CEOF
-  sed -f $ac_cs_root.frag $ac_cs_root.in >$ac_cs_root.out
-  rm -f $ac_cs_root.in
-  mv $ac_cs_root.out $ac_cs_root.in
+  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
+  rm -f $tmp/in
+  mv $tmp/out $tmp/in
 ' >>$CONFIG_STATUS
   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   rm -f conftest.undefs
@@ -11618,38 +13046,61 @@ done
 rm -f conftest.undefs
 
 cat >>$CONFIG_STATUS <<\EOF
-  rm -f $ac_cs_root.frag $ac_cs_root.h
-  echo "/* $ac_file.  Generated automatically by configure.  */" >$ac_cs_root.h
-  cat $ac_cs_root.in >>$ac_cs_root.h
-  rm -f $ac_cs_root.in
-  if cmp -s $ac_file $ac_cs_root.h 2>/dev/null; then
-    echo "$ac_file is unchanged"
-    rm -f $ac_cs_root.h
+  if test x"$ac_file" = x-; then
+    echo "/* Generated automatically by configure.  */" >$tmp/config.h
   else
-    # Remove last slash and all that follows it.  Not all systems have dirname.
-      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
+    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
+  fi
+  cat $tmp/in >>$tmp/config.h
+  rm -f $tmp/in
+  if test x"$ac_file" != x-; then
+    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
+      echo "$ac_file is unchanged"
+    else
+      ac_dir=`expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+      X"$ac_file" : 'X\(//\)[^/]' \| \
+      X"$ac_file" : 'X\(//\)$' \| \
+      X"$ac_file" : 'X\(/\)' \| \
+      .   : '\(.\)' 2>/dev/null ||
+echo "X"$ac_file"" | sed '
+           /^X\(.*^/\)\/\/*^/^/*\/*$/{ s//\1/p; q; }
+           /^X\(\/\/\)^/.*/{ s//\1/p; q; }
+           /^X\(\/\/\)$/{ s//\1/p; q; }
+           /^X\(\/\).*/{ s//\1/p; q; }
+           s/.*/./p; q'`
       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
-      # The file is in a subdirectory.
-      test ! -d "$ac_dir" && mkdir "$ac_dir"
+        { case "$ac_dir" in
+  [\\/]* | ?:[\\/]* ) ac_incr_dir=;;
+  *)                      ac_incr_dir=.;;
+esac
+ac_dummy=""$ac_dir""
+for ac_mkdir_dir in `IFS=/; set X $ac_dummy; shift; echo "$@"`; do
+  ac_incr_dir=$ac_incr_dir/$ac_mkdir_dir
+  test -d $ac_incr_dir || mkdir $ac_incr_dir
+done; }
+
+      fi
+      rm -f $ac_file
+      mv $tmp/config.h $ac_file
     fi
-    rm -f $ac_file
-    mv $ac_cs_root.h $ac_file
+  else
+    cat $tmp/config.h
+    rm -f $tmp/config.h
   fi
-fi; done
+done
 EOF
 cat >>$CONFIG_STATUS <<\EOF
 
 #
 # CONFIG_COMMANDS section.
 #
-for ac_file in .. $CONFIG_COMMANDS; do if test "x$ac_file" != x..; then
-  ac_dest=`echo "$ac_file"|sed 's%:.*%%'`
-  ac_source=`echo "$ac_file"|sed 's%[^:]*:%%'`
-
-  echo "executing commands of $ac_dest"
-  case "$ac_dest" in
-    default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
-    default-2 ) 
+for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
+  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
+  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
+
+  case $ac_dest in
+    default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp >     stamp-h ;;
+    default-2 )
 test x"$AMDEP" != x"" ||
 for mf in $CONFIG_FILES; do
   case "$mf" in
@@ -11690,15 +13141,11 @@ done
  ;;
     default ) chmod +x scripts/calc_tickadj scripts/checktime scripts/freq_adj scripts/mkver scripts/ntp-wait scripts/ntpsweep scripts/ntpver scripts/plot_summary scripts/summary ;;
   esac
-fi;done
+done
 EOF
 
 cat >>$CONFIG_STATUS <<\EOF
 
-#
-# CONFIG_COMMANDS section.
-#
-
 exit 0
 EOF
 chmod +x $CONFIG_STATUS
index 43e46d6222c92a4305b2c3b9abdaad5419dfc205..f69c11c466ded5c8fa9c864ff57302d27961f5a6 100644 (file)
@@ -5,8 +5,8 @@ AC_CANONICAL_SYSTEM
 AC_DEFINE_UNQUOTED(STR_SYSTEM, "$target")
 AM_CONFIG_HEADER(config.h)
 AC_ARG_PROGRAM
-AM_INIT_AUTOMAKE(ntp, 4.0.99k7)
-AC_PREREQ(2.14)
+AM_INIT_AUTOMAKE(ntp, 4.0.99k8)
+AC_PREREQ(2.49)
 
 ac_cv_var_oncore_ok=no
 
@@ -15,6 +15,7 @@ iCFLAGS="$CFLAGS"
 
 dnl  we need to check for cross compile tools for vxWorks here
 AC_PROG_CC
+AC_PROG_CC_STDC
 AC_PROG_CPP
 
 case "$target" in
@@ -437,7 +438,7 @@ if test $ac_cv_struct_ntptimeval = yes; then
   AC_DEFINE(HAVE_STRUCT_NTPTIMEVAL, 1, [Do we have struct ntptimeval?])
 fi
 
-AC_CHECK_MEMBERS((struct ntptimeval.time.tv_nsec), , ,[
+AC_CHECK_MEMBERS([struct ntptimeval.time.tv_nsec], , ,[
 #ifdef HAVE_SYS_TIME_H
 #include <sys/time.h>
 #else
@@ -453,12 +454,12 @@ AC_CHECK_MEMBERS((struct ntptimeval.time.tv_nsec), , ,[
 # endif
 #endif])
 
-AC_CHECK_MEMBERS((struct audio_info.monitor_gain,
+AC_CHECK_MEMBERS([struct audio_info.monitor_gain,
     struct audio_info.output_muted,
     struct audio_info.blocksize,
     struct audio_info.hiwat,
     struct audio_info.lowat,
-    struct audio_info.mode), , ,
+    struct audio_info.mode], , ,
 [#ifdef HAVE_SUN_AUDIO_H
 #include <sun/audio.h>
 #endif
@@ -510,7 +511,7 @@ case "$host" in
     ;;
 esac
 
-AC_CHECK_TYPES((s_char))
+AC_CHECK_TYPES([s_char])
 case "$ac_cv_c_char_unsigned$ac_cv_sizeof_signed_char$ac_cv_type_s_char" in
  *yes)
     # We have a typedef for s_char.  Might as well believe it...
@@ -552,14 +553,15 @@ case "$target" in
 esac
 AC_CHECK_FUNCS(daemon)
 AC_CHECK_FUNCS(finite, ,
-  AC_CHECK_FUNCS(isfinite, ,
-    AC_MSG_CHECKING(for isfinite with <math.h>)
+  [AC_CHECK_FUNCS(isfinite, ,
+    [AC_MSG_CHECKING(for isfinite with <math.h>)
     _libs=$LIBS
     LIBS="$LIBS -lm"
     AC_TRY_LINK([#include <math.h>], [float f = 0.0; isfinite(f)],
       [AC_MSG_RESULT(yes)
-      AC_DEFINE(HAVE_ISFINITE)])
-    LIBS=$_libs))
+      AC_DEFINE(HAVE_ISFINITE)],
+      AC_MSG_RESULT(no))
+    LIBS=$_libs])])
 AC_CHECK_FUNCS(getbootfile getdtablesize getrusage gettimeofday)
 case "$target" in
  *-pc-cygwin*)
@@ -1414,11 +1416,18 @@ AC_MSG_RESULT($ntp_ok)
 # there is NO way that I can tell to tell if a given OS is using timespec or
 # timeval so just set it here for the one case that is KNOWN to use timespec.
 
-case "$ac_cv_header_timepps_h$ac_cv_header_sys_timepps_h" in
- *yes*)
-    AC_DEFINE(HAVE_PPSAPI)
-    ac_cv_var_oncore_ok=yes
-    AC_DEFINE(HAVE_TIMESPEC)
+# The PPSAPI headers use "inline", so we must have a STDC compiler to use
+# the PPSAIP.
+
+case "$ANSI2KNR" in
+ '')
+    case "$ac_cv_header_timepps_h$ac_cv_header_sys_timepps_h" in
+     *yes*)
+       AC_DEFINE(HAVE_PPSAPI)
+       ac_cv_var_oncore_ok=yes
+       AC_DEFINE(HAVE_TIMESPEC)
+       ;;
+    esac
     ;;
 esac
 
index 6e13daec97fc8930e79bc402e09da9308acfd7ac..5fe484dc8b4549223a53aa6fd774788ff3a49cb4 100644 (file)
@@ -1,6 +1,6 @@
 # Makefile.in generated automatically by automake 1.4a from Makefile.am
 
-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -126,7 +126,7 @@ all: all-redirect
 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
        cd $(top_srcdir) && $(AUTOMAKE) --gnu kernel/Makefile
 
-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
        cd $(top_builddir) \
          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
@@ -229,12 +229,11 @@ distdir: $(DISTFILES)
        @for file in $(DISTFILES); do \
          d=$(srcdir); \
          if test -d $$d/$$file; then \
-           cp -pR $$d/$$file $(distdir) \
-           || exit 1; \
+           cp -pR $$d/$$file $(distdir); \
          else \
            test -f $(distdir)/$$file \
-           || cp -p $$d/$$file $(distdir)/$$file \
-           || exit 1; \
+           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+           || cp -p $$d/$$file $(distdir)/$$file || :; \
          fi; \
        done
        for subdir in $(SUBDIRS); do \
index 9be501c14c9cb05f1bc47092d7d4c75c65f90c5a..810228845b11527b7f9c885b25eba9202ebe0327 100644 (file)
@@ -1,6 +1,6 @@
 # Makefile.in generated automatically by automake 1.4a from Makefile.am
 
-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -132,7 +132,7 @@ all: all-redirect
 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
        cd $(top_srcdir) && $(AUTOMAKE) --gnu kernel/sys/Makefile
 
-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
        cd $(top_builddir) \
          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
@@ -176,12 +176,11 @@ distdir: $(DISTFILES)
        @for file in $(DISTFILES); do \
          d=$(srcdir); \
          if test -d $$d/$$file; then \
-           cp -pR $$d/$$file $(distdir) \
-           || exit 1; \
+           cp -pR $$d/$$file $(distdir); \
          else \
            test -f $(distdir)/$$file \
-           || cp -p $$d/$$file $(distdir)/$$file \
-           || exit 1; \
+           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+           || cp -p $$d/$$file $(distdir)/$$file || :; \
          fi; \
        done
 info-am:
index 86d7ae0a5d6c5a9b30c53bb642e62f072166afa7..b11538ecb1db39b3df47c46c653824fd38e05f85 100644 (file)
@@ -1,6 +1,6 @@
 # Makefile.in generated automatically by automake 1.4a from Makefile.am
 
-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -196,6 +196,12 @@ CCLD = $(CC)
 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
 DIST_SOURCES =  $(libparse_a_SOURCES) $(libparse_kernel_a_SOURCES) \
 parsesolaris.c parsestreams.c
+DIST_COMMON =  README Makefile.am Makefile.in
+
+
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+
+GZIP_ENV = --best
 depcomp = $(SHELL) $(top_srcdir)/depcomp
 DEP_FILES =  @AMDEP@ $(DEPDIR)/clk_computime$U.Po \
 $(DEPDIR)/clk_dcf7000$U.Po $(DEPDIR)/clk_hopf6021$U.Po \
@@ -207,12 +213,6 @@ $(DEPDIR)/data_mbg$U.Po $(DEPDIR)/info_trimble$U.Po \
 $(DEPDIR)/parse$U.Po $(DEPDIR)/parse_conf$U.Po \
 $(DEPDIR)/parsesolaris$U.Po $(DEPDIR)/parsestreams$U.Po \
 $(DEPDIR)/trim_info$U.Po
-DIST_COMMON =  README Makefile.am Makefile.in
-
-
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-
-GZIP_ENV = --best
 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
 
@@ -222,7 +222,7 @@ all: all-redirect
 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
        cd $(top_srcdir) && $(AUTOMAKE) --gnu libparse/Makefile
 
-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
        cd $(top_builddir) \
          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
@@ -362,6 +362,20 @@ distclean-tags:
 
 maintainer-clean-tags:
 
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+
+distdir: $(DISTFILES)
+       @for file in $(DISTFILES); do \
+         d=$(srcdir); \
+         if test -d $$d/$$file; then \
+           cp -pR $$d/$$file $(distdir); \
+         else \
+           test -f $(distdir)/$$file \
+           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+           || cp -p $$d/$$file $(distdir)/$$file || :; \
+         fi; \
+       done
+
 @AMDEP@include $(DEPDIR)/clk_computime$U.Po
 @AMDEP@include $(DEPDIR)/clk_dcf7000$U.Po
 @AMDEP@include $(DEPDIR)/clk_hopf6021$U.Po
@@ -398,21 +412,6 @@ maintainer-clean-depend:
 @AMDEP@        $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
        $(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
 
-
-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
-
-distdir: $(DISTFILES)
-       @for file in $(DISTFILES); do \
-         d=$(srcdir); \
-         if test -d $$d/$$file; then \
-           cp -pR $$d/$$file $(distdir) \
-           || exit 1; \
-         else \
-           test -f $(distdir)/$$file \
-           || cp -p $$d/$$file $(distdir)/$$file \
-           || exit 1; \
-         fi; \
-       done
 info-am:
 info: info-am
 dvi-am:
@@ -485,8 +484,8 @@ maintainer-clean-compile mostlyclean-kr distclean-kr clean-kr \
 maintainer-clean-kr mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
 clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS tags \
 mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
-mostlyclean-depend distclean-depend clean-depend \
-maintainer-clean-depend distdir info-am info dvi-am dvi check check-am \
+distdir mostlyclean-depend distclean-depend clean-depend \
+maintainer-clean-depend info-am info dvi-am dvi check check-am \
 installcheck-am installcheck install-exec-am install-exec \
 install-data-am install-data install-am install uninstall-am uninstall \
 all-redirect all-am all install-strip installdirs mostlyclean-generic \
index 7ae634d9aba8f61e680e0f2fb793e831e0a97ae5..942ffba4896781b23c3aea86a24067fd9d2136dd 100644 (file)
@@ -1,6 +1,6 @@
 # Makefile.in generated automatically by automake 1.4a from Makefile.am
 
-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -179,6 +179,12 @@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CF
 CCLD = $(CC)
 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
 DIST_SOURCES =  check_y2k.c $(ntpd_SOURCES)
+DIST_COMMON =  Makefile.am Makefile.in
+
+
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+
+GZIP_ENV = --best
 depcomp = $(SHELL) $(top_srcdir)/depcomp
 DEP_FILES =  @AMDEP@ $(DEPDIR)/check_y2k$U.Po $(DEPDIR)/cmd_args$U.Po \
 $(DEPDIR)/map_vme$U.Po $(DEPDIR)/ntp_config$U.Po \
@@ -208,12 +214,6 @@ $(DEPDIR)/refclock_shm$U.Po $(DEPDIR)/refclock_tpro$U.Po \
 $(DEPDIR)/refclock_trak$U.Po $(DEPDIR)/refclock_true$U.Po \
 $(DEPDIR)/refclock_ulink$U.Po $(DEPDIR)/refclock_usno$U.Po \
 $(DEPDIR)/refclock_wwv$U.Po $(DEPDIR)/refclock_wwvb$U.Po
-DIST_COMMON =  Makefile.am Makefile.in
-
-
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-
-GZIP_ENV = --best
 SOURCES = check_y2k.c $(ntpd_SOURCES)
 OBJECTS = check_y2k$U.o $(am_ntpd_OBJECTS)
 
@@ -223,7 +223,7 @@ all: all-redirect
 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
        cd $(top_srcdir) && $(AUTOMAKE) --gnu ntpd/Makefile
 
-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
        cd $(top_builddir) \
          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
@@ -458,6 +458,20 @@ distclean-tags:
 
 maintainer-clean-tags:
 
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+
+distdir: $(DISTFILES)
+       @for file in $(DISTFILES); do \
+         d=$(srcdir); \
+         if test -d $$d/$$file; then \
+           cp -pR $$d/$$file $(distdir); \
+         else \
+           test -f $(distdir)/$$file \
+           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+           || cp -p $$d/$$file $(distdir)/$$file || :; \
+         fi; \
+       done
+
 @AMDEP@include $(DEPDIR)/check_y2k$U.Po
 @AMDEP@include $(DEPDIR)/cmd_args$U.Po
 @AMDEP@include $(DEPDIR)/map_vme$U.Po
@@ -532,21 +546,6 @@ maintainer-clean-depend:
 @AMDEP@        $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
        $(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
 
-
-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
-
-distdir: $(DISTFILES)
-       @for file in $(DISTFILES); do \
-         d=$(srcdir); \
-         if test -d $$d/$$file; then \
-           cp -pR $$d/$$file $(distdir) \
-           || exit 1; \
-         else \
-           test -f $(distdir)/$$file \
-           || cp -p $$d/$$file $(distdir)/$$file \
-           || exit 1; \
-         fi; \
-       done
 info-am:
 info: info-am
 dvi-am:
@@ -620,11 +619,11 @@ mostlyclean-checkPROGRAMS distclean-checkPROGRAMS clean-checkPROGRAMS \
 maintainer-clean-checkPROGRAMS mostlyclean-compile distclean-compile \
 clean-compile maintainer-clean-compile mostlyclean-kr distclean-kr \
 clean-kr maintainer-clean-kr tags mostlyclean-tags distclean-tags \
-clean-tags maintainer-clean-tags mostlyclean-depend distclean-depend \
-clean-depend maintainer-clean-depend distdir info-am info dvi-am dvi \
-check-local check check-am installcheck-am installcheck install-exec-am \
-install-exec install-data-am install-data install-am install \
-uninstall-am uninstall all-redirect all-am all install-strip \
+clean-tags maintainer-clean-tags distdir mostlyclean-depend \
+distclean-depend clean-depend maintainer-clean-depend info-am info \
+dvi-am dvi check-local check check-am installcheck-am installcheck \
+install-exec-am install-exec install-data-am install-data install-am \
+install uninstall-am uninstall all-redirect all-am all install-strip \
 installdirs mostlyclean-generic distclean-generic clean-generic \
 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
 
index 9d604102814c7f30f714516f4356a2c06af4320f..77cb37cd62c16300bc5a25ddbe25c12e4bd2677e 100644 (file)
@@ -200,7 +200,7 @@ atom_shutdown(
        if (fddev > 0)
                close(fddev);
        if (fdpps > 0)
-               time_destroy(fdpps);
+               time_pps_destroy(fdpps);
        fdpps = 0;
 #endif /* HAVE_PPSAPI */
        if (pps_peer == peer)
index 42a43b5798c89fb550751ba019513abdbd702f64..b0f81f7ace81efff928e09a60929d0234e70a244 100644 (file)
@@ -1,6 +1,6 @@
 # Makefile.in generated automatically by automake 1.4a from Makefile.am
 
-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -143,15 +143,15 @@ LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
 DIST_SOURCES =  ntpdate.c $(ntptimeset_SOURCES)
 HEADERS =  $(noinst_HEADERS)
 
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-DEP_FILES =  @AMDEP@ $(DEPDIR)/ntpdate$U.Po \
-$(DEPDIR)/ntptime_config$U.Po $(DEPDIR)/ntptimeset$U.Po
 DIST_COMMON =  README $(noinst_HEADERS) Makefile.am Makefile.in
 
 
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
 GZIP_ENV = --best
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+DEP_FILES =  @AMDEP@ $(DEPDIR)/ntpdate$U.Po \
+$(DEPDIR)/ntptime_config$U.Po $(DEPDIR)/ntptimeset$U.Po
 SOURCES = ntpdate.c $(ntptimeset_SOURCES)
 OBJECTS = ntpdate$U.o $(am_ntptimeset_OBJECTS)
 
@@ -161,7 +161,7 @@ all: all-redirect
 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
        cd $(top_srcdir) && $(AUTOMAKE) --gnu ntpdate/Makefile
 
-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
        cd $(top_builddir) \
          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
@@ -267,6 +267,20 @@ distclean-tags:
 
 maintainer-clean-tags:
 
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+
+distdir: $(DISTFILES)
+       @for file in $(DISTFILES); do \
+         d=$(srcdir); \
+         if test -d $$d/$$file; then \
+           cp -pR $$d/$$file $(distdir); \
+         else \
+           test -f $(distdir)/$$file \
+           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+           || cp -p $$d/$$file $(distdir)/$$file || :; \
+         fi; \
+       done
+
 @AMDEP@include $(DEPDIR)/ntpdate$U.Po
 @AMDEP@include $(DEPDIR)/ntptime_config$U.Po
 @AMDEP@include $(DEPDIR)/ntptimeset$U.Po
@@ -288,21 +302,6 @@ maintainer-clean-depend:
 @AMDEP@        $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
        $(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
 
-
-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
-
-distdir: $(DISTFILES)
-       @for file in $(DISTFILES); do \
-         d=$(srcdir); \
-         if test -d $$d/$$file; then \
-           cp -pR $$d/$$file $(distdir) \
-           || exit 1; \
-         else \
-           test -f $(distdir)/$$file \
-           || cp -p $$d/$$file $(distdir)/$$file \
-           || exit 1; \
-         fi; \
-       done
 info-am:
 info: info-am
 dvi-am:
@@ -372,9 +371,9 @@ maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
 mostlyclean-compile distclean-compile clean-compile \
 maintainer-clean-compile mostlyclean-kr distclean-kr clean-kr \
 maintainer-clean-kr tags mostlyclean-tags distclean-tags clean-tags \
-maintainer-clean-tags mostlyclean-depend distclean-depend clean-depend \
-maintainer-clean-depend distdir info-am info dvi-am dvi check check-am \
-installcheck-am installcheck install-exec-am install-exec \
+maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
+clean-depend maintainer-clean-depend info-am info dvi-am dvi check \
+check-am installcheck-am installcheck install-exec-am install-exec \
 install-data-am install-data install-am install uninstall-am uninstall \
 all-redirect all-am all install-strip installdirs mostlyclean-generic \
 distclean-generic clean-generic maintainer-clean-generic clean \
index be85ec85edb3fbca4e261e7a289d3e2fe781a0f9..cf98c45a1a5714445913ed16ee95166dd9fe8c23 100644 (file)
@@ -1,6 +1,6 @@
 # Makefile.in generated automatically by automake 1.4a from Makefile.am
 
-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -139,14 +139,14 @@ LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
 DIST_SOURCES =  $(ntpdc_SOURCES)
 HEADERS =  $(noinst_HEADERS)
 
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-DEP_FILES =  @AMDEP@ $(DEPDIR)/ntpdc$U.Po $(DEPDIR)/ntpdc_ops$U.Po
 DIST_COMMON =  README $(noinst_HEADERS) Makefile.am Makefile.in
 
 
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
 GZIP_ENV = --best
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+DEP_FILES =  @AMDEP@ $(DEPDIR)/ntpdc$U.Po $(DEPDIR)/ntpdc_ops$U.Po
 SOURCES = $(ntpdc_SOURCES)
 OBJECTS = $(am_ntpdc_OBJECTS)
 
@@ -156,7 +156,7 @@ all: all-redirect
 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
        cd $(top_srcdir) && $(AUTOMAKE) --gnu ntpdc/Makefile
 
-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
        cd $(top_builddir) \
          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
@@ -256,6 +256,20 @@ distclean-tags:
 
 maintainer-clean-tags:
 
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+
+distdir: $(DISTFILES)
+       @for file in $(DISTFILES); do \
+         d=$(srcdir); \
+         if test -d $$d/$$file; then \
+           cp -pR $$d/$$file $(distdir); \
+         else \
+           test -f $(distdir)/$$file \
+           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+           || cp -p $$d/$$file $(distdir)/$$file || :; \
+         fi; \
+       done
+
 @AMDEP@include $(DEPDIR)/ntpdc$U.Po
 @AMDEP@include $(DEPDIR)/ntpdc_ops$U.Po
 
@@ -276,21 +290,6 @@ maintainer-clean-depend:
 @AMDEP@        $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
        $(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
 
-
-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
-
-distdir: $(DISTFILES)
-       @for file in $(DISTFILES); do \
-         d=$(srcdir); \
-         if test -d $$d/$$file; then \
-           cp -pR $$d/$$file $(distdir) \
-           || exit 1; \
-         else \
-           test -f $(distdir)/$$file \
-           || cp -p $$d/$$file $(distdir)/$$file \
-           || exit 1; \
-         fi; \
-       done
 info-am:
 info: info-am
 dvi-am:
@@ -360,9 +359,9 @@ maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
 mostlyclean-compile distclean-compile clean-compile \
 maintainer-clean-compile mostlyclean-kr distclean-kr clean-kr \
 maintainer-clean-kr tags mostlyclean-tags distclean-tags clean-tags \
-maintainer-clean-tags mostlyclean-depend distclean-depend clean-depend \
-maintainer-clean-depend distdir info-am info dvi-am dvi check check-am \
-installcheck-am installcheck install-exec-am install-exec \
+maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
+clean-depend maintainer-clean-depend info-am info dvi-am dvi check \
+check-am installcheck-am installcheck install-exec-am install-exec \
 install-data-am install-data install-am install uninstall-am uninstall \
 all-redirect all-am all install-strip installdirs mostlyclean-generic \
 distclean-generic clean-generic maintainer-clean-generic clean \
index e6dcb88d393b5f3862691f0ed762a53ff31e2d2a..221623fc665a9fd58b1986a4851a24c5c1c3fdfb 100644 (file)
@@ -1,6 +1,6 @@
 # Makefile.in generated automatically by automake 1.4a from Makefile.am
 
-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -139,14 +139,14 @@ LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
 DIST_SOURCES =  $(ntpq_SOURCES)
 HEADERS =  $(noinst_HEADERS)
 
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-DEP_FILES =  @AMDEP@ $(DEPDIR)/ntpq$U.Po $(DEPDIR)/ntpq_ops$U.Po
 DIST_COMMON =  README $(noinst_HEADERS) Makefile.am Makefile.in
 
 
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
 GZIP_ENV = --best
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+DEP_FILES =  @AMDEP@ $(DEPDIR)/ntpq$U.Po $(DEPDIR)/ntpq_ops$U.Po
 SOURCES = $(ntpq_SOURCES)
 OBJECTS = $(am_ntpq_OBJECTS)
 
@@ -156,7 +156,7 @@ all: all-redirect
 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
        cd $(top_srcdir) && $(AUTOMAKE) --gnu ntpq/Makefile
 
-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
        cd $(top_builddir) \
          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
@@ -256,6 +256,20 @@ distclean-tags:
 
 maintainer-clean-tags:
 
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+
+distdir: $(DISTFILES)
+       @for file in $(DISTFILES); do \
+         d=$(srcdir); \
+         if test -d $$d/$$file; then \
+           cp -pR $$d/$$file $(distdir); \
+         else \
+           test -f $(distdir)/$$file \
+           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+           || cp -p $$d/$$file $(distdir)/$$file || :; \
+         fi; \
+       done
+
 @AMDEP@include $(DEPDIR)/ntpq$U.Po
 @AMDEP@include $(DEPDIR)/ntpq_ops$U.Po
 
@@ -276,21 +290,6 @@ maintainer-clean-depend:
 @AMDEP@        $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
        $(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
 
-
-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
-
-distdir: $(DISTFILES)
-       @for file in $(DISTFILES); do \
-         d=$(srcdir); \
-         if test -d $$d/$$file; then \
-           cp -pR $$d/$$file $(distdir) \
-           || exit 1; \
-         else \
-           test -f $(distdir)/$$file \
-           || cp -p $$d/$$file $(distdir)/$$file \
-           || exit 1; \
-         fi; \
-       done
 info-am:
 info: info-am
 dvi-am:
@@ -360,9 +359,9 @@ maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
 mostlyclean-compile distclean-compile clean-compile \
 maintainer-clean-compile mostlyclean-kr distclean-kr clean-kr \
 maintainer-clean-kr tags mostlyclean-tags distclean-tags clean-tags \
-maintainer-clean-tags mostlyclean-depend distclean-depend clean-depend \
-maintainer-clean-depend distdir info-am info dvi-am dvi check check-am \
-installcheck-am installcheck install-exec-am install-exec \
+maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
+clean-depend maintainer-clean-depend info-am info dvi-am dvi check \
+check-am installcheck-am installcheck install-exec-am install-exec \
 install-data-am install-data install-am install uninstall-am uninstall \
 all-redirect all-am all install-strip installdirs mostlyclean-generic \
 distclean-generic clean-generic maintainer-clean-generic clean \
index f093a8ff8c540442a32fe3fb17720e3e5c16efec..7b89c6998fc264e833a39649f783a71563869e77 100644 (file)
@@ -1,6 +1,6 @@
 # Makefile.in generated automatically by automake 1.4a from Makefile.am
 
-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -137,14 +137,14 @@ LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
 DIST_SOURCES =  ntptrace.c
 HEADERS =  $(noinst_HEADERS)
 
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-DEP_FILES =  @AMDEP@ $(DEPDIR)/ntptrace$U.Po
 DIST_COMMON =  README $(noinst_HEADERS) Makefile.am Makefile.in
 
 
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
 GZIP_ENV = --best
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+DEP_FILES =  @AMDEP@ $(DEPDIR)/ntptrace$U.Po
 SOURCES = ntptrace.c
 OBJECTS = ntptrace$U.o
 
@@ -154,7 +154,7 @@ all: all-redirect
 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
        cd $(top_srcdir) && $(AUTOMAKE) --gnu ntptrace/Makefile
 
-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
        cd $(top_builddir) \
          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
@@ -252,6 +252,20 @@ distclean-tags:
 
 maintainer-clean-tags:
 
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+
+distdir: $(DISTFILES)
+       @for file in $(DISTFILES); do \
+         d=$(srcdir); \
+         if test -d $$d/$$file; then \
+           cp -pR $$d/$$file $(distdir); \
+         else \
+           test -f $(distdir)/$$file \
+           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+           || cp -p $$d/$$file $(distdir)/$$file || :; \
+         fi; \
+       done
+
 @AMDEP@include $(DEPDIR)/ntptrace$U.Po
 
 mostlyclean-depend:
@@ -271,21 +285,6 @@ maintainer-clean-depend:
 @AMDEP@        $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
        $(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
 
-
-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
-
-distdir: $(DISTFILES)
-       @for file in $(DISTFILES); do \
-         d=$(srcdir); \
-         if test -d $$d/$$file; then \
-           cp -pR $$d/$$file $(distdir) \
-           || exit 1; \
-         else \
-           test -f $(distdir)/$$file \
-           || cp -p $$d/$$file $(distdir)/$$file \
-           || exit 1; \
-         fi; \
-       done
 info-am:
 info: info-am
 dvi-am:
@@ -355,9 +354,9 @@ maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
 mostlyclean-compile distclean-compile clean-compile \
 maintainer-clean-compile mostlyclean-kr distclean-kr clean-kr \
 maintainer-clean-kr tags mostlyclean-tags distclean-tags clean-tags \
-maintainer-clean-tags mostlyclean-depend distclean-depend clean-depend \
-maintainer-clean-depend distdir info-am info dvi-am dvi check check-am \
-installcheck-am installcheck install-exec-am install-exec \
+maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
+clean-depend maintainer-clean-depend info-am info dvi-am dvi check \
+check-am installcheck-am installcheck install-exec-am install-exec \
 install-data-am install-data install-am install uninstall-am uninstall \
 all-redirect all-am all install-strip installdirs mostlyclean-generic \
 distclean-generic clean-generic maintainer-clean-generic clean \
index 4b6a6102da0601e451b22a120e9d5832f2fdeb43..52118c680ebb4221febef9671a9009adf14d42f4 100644 (file)
@@ -1,6 +1,6 @@
 # Makefile.in generated automatically by automake 1.4a from Makefile.am
 
-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -136,14 +136,14 @@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CF
 CCLD = $(CC)
 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
 DIST_SOURCES =  dcfd.c testdcf.c
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-DEP_FILES =  @AMDEP@ $(DEPDIR)/dcfd$U.Po $(DEPDIR)/testdcf$U.Po
 DIST_COMMON =  README Makefile.am Makefile.in
 
 
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
 GZIP_ENV = --best
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+DEP_FILES =  @AMDEP@ $(DEPDIR)/dcfd$U.Po $(DEPDIR)/testdcf$U.Po
 SOURCES = dcfd.c testdcf.c
 OBJECTS = dcfd$U.o testdcf$U.o
 
@@ -153,7 +153,7 @@ all: all-redirect
 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
        cd $(top_srcdir) && $(AUTOMAKE) --gnu parseutil/Makefile
 
-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
        cd $(top_builddir) \
          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
@@ -238,6 +238,20 @@ distclean-tags:
 
 maintainer-clean-tags:
 
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+
+distdir: $(DISTFILES)
+       @for file in $(DISTFILES); do \
+         d=$(srcdir); \
+         if test -d $$d/$$file; then \
+           cp -pR $$d/$$file $(distdir); \
+         else \
+           test -f $(distdir)/$$file \
+           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+           || cp -p $$d/$$file $(distdir)/$$file || :; \
+         fi; \
+       done
+
 @AMDEP@include $(DEPDIR)/dcfd$U.Po
 @AMDEP@include $(DEPDIR)/testdcf$U.Po
 
@@ -258,21 +272,6 @@ maintainer-clean-depend:
 @AMDEP@        $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
        $(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
 
-
-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
-
-distdir: $(DISTFILES)
-       @for file in $(DISTFILES); do \
-         d=$(srcdir); \
-         if test -d $$d/$$file; then \
-           cp -pR $$d/$$file $(distdir) \
-           || exit 1; \
-         else \
-           test -f $(distdir)/$$file \
-           || cp -p $$d/$$file $(distdir)/$$file \
-           || exit 1; \
-         fi; \
-       done
 info-am:
 info: info-am
 dvi-am:
@@ -341,9 +340,9 @@ clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
 mostlyclean-compile distclean-compile clean-compile \
 maintainer-clean-compile mostlyclean-kr distclean-kr clean-kr \
 maintainer-clean-kr tags mostlyclean-tags distclean-tags clean-tags \
-maintainer-clean-tags mostlyclean-depend distclean-depend clean-depend \
-maintainer-clean-depend distdir info-am info dvi-am dvi check-local \
-check check-am installcheck-am installcheck install-exec-am \
+maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
+clean-depend maintainer-clean-depend info-am info dvi-am dvi \
+check-local check check-am installcheck-am installcheck install-exec-am \
 install-exec install-data-am install-data install-am install \
 uninstall-am uninstall all-redirect all-am all install-strip \
 installdirs mostlyclean-generic distclean-generic clean-generic \
index e899c461fbcb52816ec6b9c673d31b6d479e7e9e..0472fac340f17ea1dfd2c14999d2ea53e66c9d74 100644 (file)
@@ -1,6 +1,6 @@
 # Makefile.in generated automatically by automake 1.4a from Makefile.am
 
-# Copyright (C) 1994, 1995-9, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -196,18 +196,18 @@ LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
 DIST_SOURCES =  byteorder.c hist.c jitter.c kern.c longsize.c \
 ntp-genkeys.c ntptime.c precision.c sht.c testrs6000.c tickadj.c \
 timetrim.c
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-DEP_FILES =  @AMDEP@ $(DEPDIR)/byteorder$U.Po $(DEPDIR)/hist$U.Po \
-$(DEPDIR)/jitter$U.Po $(DEPDIR)/kern$U.Po $(DEPDIR)/longsize$U.Po \
-$(DEPDIR)/ntp-genkeys$U.Po $(DEPDIR)/ntptime$U.Po \
-$(DEPDIR)/precision$U.Po $(DEPDIR)/sht$U.Po $(DEPDIR)/testrs6000$U.Po \
-$(DEPDIR)/tickadj$U.Po $(DEPDIR)/timetrim$U.Po
 DIST_COMMON =  README Makefile.am Makefile.in ansi2knr.1 ansi2knr.c
 
 
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
 GZIP_ENV = --best
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+DEP_FILES =  @AMDEP@ $(DEPDIR)/byteorder$U.Po $(DEPDIR)/hist$U.Po \
+$(DEPDIR)/jitter$U.Po $(DEPDIR)/kern$U.Po $(DEPDIR)/longsize$U.Po \
+$(DEPDIR)/ntp-genkeys$U.Po $(DEPDIR)/ntptime$U.Po \
+$(DEPDIR)/precision$U.Po $(DEPDIR)/sht$U.Po $(DEPDIR)/testrs6000$U.Po \
+$(DEPDIR)/tickadj$U.Po $(DEPDIR)/timetrim$U.Po
 SOURCES = byteorder.c hist.c jitter.c kern.c longsize.c ntp-genkeys.c ntptime.c precision.c sht.c testrs6000.c tickadj.c timetrim.c
 OBJECTS = byteorder$U.o hist$U.o jitter$U.o kern$U.o longsize$U.o ntp-genkeys$U.o ntptime$U.o precision$U.o sht$U.o testrs6000$U.o tickadj$U.o timetrim$U.o
 
@@ -217,7 +217,7 @@ all: all-redirect
 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
        cd $(top_srcdir) && $(AUTOMAKE) --gnu util/Makefile
 
-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
        cd $(top_builddir) \
          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
@@ -390,6 +390,20 @@ distclean-tags:
 
 maintainer-clean-tags:
 
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+
+distdir: $(DISTFILES)
+       @for file in $(DISTFILES); do \
+         d=$(srcdir); \
+         if test -d $$d/$$file; then \
+           cp -pR $$d/$$file $(distdir); \
+         else \
+           test -f $(distdir)/$$file \
+           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+           || cp -p $$d/$$file $(distdir)/$$file || :; \
+         fi; \
+       done
+
 @AMDEP@include $(DEPDIR)/byteorder$U.Po
 @AMDEP@include $(DEPDIR)/hist$U.Po
 @AMDEP@include $(DEPDIR)/jitter$U.Po
@@ -420,21 +434,6 @@ maintainer-clean-depend:
 @AMDEP@        $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
        $(COMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
 
-
-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
-
-distdir: $(DISTFILES)
-       @for file in $(DISTFILES); do \
-         d=$(srcdir); \
-         if test -d $$d/$$file; then \
-           cp -pR $$d/$$file $(distdir) \
-           || exit 1; \
-         else \
-           test -f $(distdir)/$$file \
-           || cp -p $$d/$$file $(distdir)/$$file \
-           || exit 1; \
-         fi; \
-       done
 info-am:
 info: info-am
 dvi-am:
@@ -505,9 +504,9 @@ mostlyclean-compile distclean-compile clean-compile \
 maintainer-clean-compile mostlyclean-krextra distclean-krextra \
 clean-krextra maintainer-clean-krextra mostlyclean-kr distclean-kr \
 clean-kr maintainer-clean-kr tags mostlyclean-tags distclean-tags \
-clean-tags maintainer-clean-tags mostlyclean-depend distclean-depend \
-clean-depend maintainer-clean-depend distdir info-am info dvi-am dvi \
-check check-am installcheck-am installcheck install-exec-am \
+clean-tags maintainer-clean-tags distdir mostlyclean-depend \
+distclean-depend clean-depend maintainer-clean-depend info-am info \
+dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
 install-exec install-data-am install-data install-am install \
 uninstall-am uninstall all-redirect all-am all install-strip \
 installdirs mostlyclean-generic distclean-generic clean-generic \