Tue Sep  3 23:35:35 1996  Harlan Stenn  <stenn@whimsy.udel.edu>

	* include/Makefile.am (SUBDIRS): Deleted.

	* kernel/Makefile.am (SUBDIRS): Added.

	* configure.in (AC_OUTPUT): include/sys/Makefile becomes
	kernel/sys/Makefile .

	* kernel/sys/README: Put discussion of the old include/sys/* files
	in here.

	* include/README: Remove discussion of include/sys/ files.

	* kernel/sys: Moved include/sys to its new home.

Mon Sep  2 02:01:13 1996  Harlan Stenn  <stenn@whimsy.udel.edu>

	* ntpq/ntpq.c: Default info_auth_keytype to MD5.

Fri Aug 30 00:18:32 1996  Harlan Stenn  <stenn@whimsy.udel.edu>

	* configure.in (--enable-kmem): Re-enable kmem for AIX now that
	Skippy's changes to ntp_unixclock.c are in.

	* xntpd/ntp_unixclock.c (clock_parms): Change the heirarchy from
	"NOKEME" controlling things to "PRESET_TICK" controlling them.
	From Skippy.

	* xntpdc/ntpdc.c: Change default info_auth_keytype from
	KEY_TYPE_DES to KEY_TYPE_MD5.

	* configure.in (ac_cv_var_kmem): Deal with new ac_cv_var_tick
	rules.  From Skippy.

Thu Aug 29 22:13:21 1996  Harlan Stenn  <stenn@whimsy.udel.edu>

	* configure.in (ac_cv_var_use_udp_sigpoll): Not under Linux.
	(ac_cv_var_use_tty_sigpoll): Ditto.
  	From Jon Peatfield <J.S.Peatfield@damtp.cam.ac.uk>
	(VERSION): Bumped to 5.86, something that should have been done a
	while ago.
	(ac_cv_var_tick): Talk to Skippy.  There are cases where we need a
	"virtual" PRESET_TICK and we want to read tickadj via nlist().

Mon Aug 26 03:22:37 1996  Harlan Stenn  <stenn@whimsy.udel.edu>

	* xntpd/ntp_io.c (init_clock_sig): Use the AIX code when _AIX is
	defined, otherwise some non-AIX platforms get it and lose.

Thu Aug 22 01:24:18 1996  Harlan Stenn  <stenn@whimsy.udel.edu>

	* libparse/parse.c (days_per_year): Renamed from dysize.
	(parse_to_unixtime): Use days-per_year instead of dysize.
	From bug reported by Bruce Jerrick <bruce@cse.ogi.edu>.

	* parseutil/dcfd.c: Ditto.
	(dcf_to_unixtime): Ditto.

	* xntpd/refclock_leitch.c: Ditto.
	(days_per_year): Ditto.
	(leitch_get_date): Ditto.

	* TODO: Updated the list of files containing SYS_* macros; after
	more dust settles, we should be able to simple remove this code.

	* parseutil/testdcf.c (main): Use NO_PARENB_IGNPAR instead of
	SYS_IRIX* tests.
	From bug reported by David Billinghurst <billingd@crc.cra.com.au>.

	* parseutil/dcfd.c (main): Ditto.

	* xntpd/refclock_parse.c: Ditto.

	* configure.in (ac_cv_var_min_rec_tickadj): Added.
	(ac_cv_var_nlist_extra_indirection): Added.
	(ac_cv_var_no_parenb_ignpar): Added.

	* acconfig.h: Added NLIST_EXTRA_INDIRECTION, MIN_REC_TICKADJ, and
 	NO_PARENB_IGNPAR.

	* util/tickadj.c (main): Use MIN_REC_TICKADJ instead of RS6000.
  	Under AIX, this should be 40.
	(getoffsets): Use NLIST_EXTRA_INDIRECTION instead of RS6000 (in 2
 	places).

	* xntpd/ntp_unixclock.c: #undef hz if hz is #defined, not if
	RS6000 is #defined.
	(clock_parms): Use NLIST_EXTRA_INDIRECTION instead of RS6000 (in
	2 places).

	* util/tickadj.c: Ditto. (hz and RS6000)

	* configure.in (--enable-kmem): Disable read of kmem for AIX.
  	From bug reported by Frank Vance <fvance@waii.com>.

	* xntpd/ntp_io.c: AIX (3.2.5, at least) needs <sys/ioctl.h>.  From
 	Frank Vance <fvance@waii.com>.

	* include/ntp_select.h: Use HAVE_SYS_SELECT_H.  From Frank Vance
	<fvance@waii.com>

	* xntpd/ntp_io.c: Frank Vance <fvance@waii.com> tells me that
	under UXPV, <sys/sockio.h> gives us the SIOC* #defines.

	* configure.in: Look for <sys/select.h> for FD_SET on AIX (and
	PTX?).  From Frank Vance <fvance@waii.com>.

Sun Jul 14 19:10:29 1996  Harlan Stenn  <stenn@whimsy.udel.edu>

	* configure.in (ac_cv_struct_sockaddr_has_sa_len): It was struct
 	socket in some places and struct sockaddr in others.  It should be
 	struct sockaddr (and HAVE_SA_LEN_IN_STRUCT_SOCKADDR) everywhere.
	(AC_CHECKHEADERS): Look for <sys/bsd_audioirig.h> for the IRIG
	clock and <sys/tpro.h> for the TPRO clock.  From Dave Mills.
	(--enable-IRIG): Choose based on <sys/bsd_audioirig.h>
	(--enable-TPRO): Choose based on <sys/tpro.h>

	* acconfig.h: Rename HAVE_SA_LEN_IN_STRUCT_SOCKET to
 	HAVE_SA_LEN_IN_STRUCT_SOCKADDR.

	* xntpd/ntp_io.c: Ditto.

Thu Jul 11 05:17:46 1996  Harlan Stenn  <stenn@whimsy.udel.edu>

	* configure.in (ac_cv_var_use_des): Enable DES by default until we
	figure out why MD5 works for Harlan but not for Dave.

	* xntpd/ntp_io.c: Including sys/ioctl.h loses under SunOS4; let's
	not include it and see who complains.

Tue Jul  9 00:19:19 1996  Harlan Stenn  <stenn@whimsy.udel.edu>

	* configure.in (NEED_HPUX_ADJTIME): Only say we NEED_HPUX_ADJTIME
	and build adjtimed under hpux[56789].
	(MAKE_LIBPARSE): Lose "--enable-PARSE".  MAKE_LIBPARSE iff
	somebody requests a driver that needs libparse.
	(ntp_eapc): Default "Enable All PARSE Clocks" to no.

Mon Jul  8 03:22:03 1996  Harlan Stenn  <stenn@whimsy.udel.edu>

	* util/Makefile.am (bin_PROGRAMS): Moved MAKE_NTPTIME here.

Sun Jul  7 01:29:06 1996  Harlan Stenn  <stenn@whimsy.udel.edu>

	* configure.in (ac_cv_var_kernel_pll): Just check if sys/timex.h
	exists.

	* acconfig.h: Switched comments for PPS and KERNEL_PLL.

	* configure.in (MAKE_LIBPARSE_KERNEL): Prepare for deciding when
	we want to build libparse_kernel.

	* libparse/Makefile.am (noinst_LIBRARIES): Fix spelling of
	MAKE_LIBPARSE.  Add MAKE_LIBPARSE_KERNEL.

	* configure.in (MAKE_LIBPARSE): Only make/use libparse if we're
	building the PARSE code.

	* util/ntptime.c: Add #include <config.h> and only make if
	KERNEL_PLL is defined.

	* configure.in (ac_cv_make_ntptime): Added.

	* util/Makefile.am (noinst_PROGRAMS): Aded MAKE_NTPTIME.

	* configure.in (--enable-PARSE): Disable unless explicitly
 	requested.
	Removed more ppsclock leftovers.
	
	* acconfig.h: Update the comment for KERNEL_PLL, as requested by
	Dave Mills.

	* configure.in (ac_cv_var_kernel_pll): Always to the check.
	Originally, this was only checked on Linux and we assumed it was
	there under FreeBSD.

Sat Jul  6 01:18:32 1996  Harlan Stenn  <stenn@whimsy.udel.edu>

	* include/ntp_string.h: Add declaration for strchr() and strrchr()
	if we're on a system without them.

	* include/l_stdlib.h: Declare getpass() and hope it's OK everywhere.

	* xntpd/ntpd.c: Control inclusion of <sys/ioctl.h> with
	HAVE_SYS_IOCTL_H instead of !VMS.
	Better yet, don't include it at all and see if anybody cares.  It
	gives too many warnings under SunOS4 since it duplicates termios.h.

	* adjtimed/Makefile.am (AUTOMAKE_OPTIONS): Added
	AUTOMAKE_OPTIONS=no-dependencies.

	* authstuff/Makefile.am (AUTOMAKE_OPTIONS): Ditto.

	* clockstuff/Makefile.am (AUTOMAKE_OPTIONS): Ditto.

	* include/sys/Makefile.am (AUTOMAKE_OPTIONS): Ditto.

	* include/Makefile.am (AUTOMAKE_OPTIONS): Ditto.

	* kernel/Makefile.am (AUTOMAKE_OPTIONS): Ditto.

	* libntp/Makefile.am (AUTOMAKE_OPTIONS): Ditto.

	* libparse/Makefile.am (AUTOMAKE_OPTIONS): Ditto.

	* ntpdate/Makefile.am (AUTOMAKE_OPTIONS): Ditto.

	* ntpq/Makefile.am (AUTOMAKE_OPTIONS): Ditto.

	* ntptrace/Makefile.am (AUTOMAKE_OPTIONS): Ditto.

	* parseutil/Makefile.am (AUTOMAKE_OPTIONS): Ditto.

	* xntpd/Makefile.am (AUTOMAKE_OPTIONS): Ditto.

	* xntpdc/Makefile.am (AUTOMAKE_OPTIONS): Ditto.

	* util/Makefile.am (AUTOMAKE_OPTIONS): Ditto.

	* Makefile.am (SUBDIRS): Remove ppsclock from the distribution per
	Dave Mills (we're going to leave the ppsclock distribution in its
	own tarball).

	* adjtimed/Makefile.am (EXTRA_DIST): Remove TAGS (and README) from
	EXTRA_DIST.  TAGS causes too much trouble, and README should be
	automatically included.

	* authstuff/Makefile.am (EXTRA_DIST): Ditto.

	* clockstuff/Makefile.am (EXTRA_DIST): Ditto.

	* include/sys/Makefile.am (EXTRA_DIST): Ditto.

	* include/Makefile.am (EXTRA_DIST): Ditto.

	* libntp/Makefile.am (EXTRA_DIST): Ditto.

	* libparse/Makefile.am (EXTRA_DIST): Ditto.

	* ntpdate/Makefile.am (EXTRA_DIST): Ditto.

	* ntpq/Makefile.am (EXTRA_DIST): Ditto.

	* ntptrace/Makefile.am (EXTRA_DIST): Ditto.

	* parseutil/Makefile.am (EXTRA_DIST): Ditto.

	* ppsclock/ppstest/Makefile.am (EXTRA_DIST): Ditto.

	* ppsclock/Makefile.am (EXTRA_DIST): Ditto.

	* xntpd/Makefile.am (EXTRA_DIST): Ditto.

	* xntpdc/Makefile.am (EXTRA_DIST): Ditto.

	* util/Makefile.am (EXTRA_DIST): Ditto.

	* Makefile.am (AUTOMAKE_OPTIONS): Added "no-dependencies" so Dave
 	could use stock "make" anywhere he wants.
	(EXTRA_DIST): Removed TAGS.

	* include/Makefile.am (noinst_HEADERS): Remove $(srcdir)/ from the
 	front of each header - it messed up "make dist" from
 	subdirectories.

Fri Jul  5 00:07:23 1996  Harlan Stenn  <stenn@whimsy.udel.edu>

	* configure.in (ac_cv_var_ntp_syscalls): Prepend SYS_ to the
 	system calls we're looking for.  Found by Dave Mills.

	* xntpd/ntp_util.c (stats_config): Read the drift file using
	fgets() instead of fscanf().  Always call loop_config().
	From: Craig Leres <leres@ee.lbl.gov>

	* adjtimed/Makefile.am (INCLUDES): Remove the -I.. entry, as
	automake generates it for us automatically.
	(ETAGS_ARGS): Run TAGS on Makefile.am .

	* authstuff/Makefile.am (INCLUDES): Ditto.
	(ETAGS_ARGS): Ditto.

	* clockstuff/Makefile.am (INCLUDES): Ditto.
	(ETAGS_ARGS): Ditto.

	* include/sys/Makefile.am (ETAGS_ARGS): Ditto.

	* include/Makefile.am (noinst_HEADERS): Prepend $(srcdir) in front
	of each header so TAGS can find them in "other" build directories.
	(ETAGS_ARGS): Ditto.

	* kernel/Makefile.am (ETAGS_ARGS): Ditto.

	* libntp/Makefile.am (INCLUDES): Ditto.
	(ETAGS_ARGS): Ditto.

	* libparse/Makefile.am (INCLUDES): Ditto.
	(ETAGS_ARGS): Ditto.

	* ntpdate/Makefile.am (INCLUDES): Ditto.
	(ETAGS_ARGS): Ditto.

	* ntpq/Makefile.am (INCLUDES): Ditto.
	(ETAGS_ARGS): Ditto.

	* ntptrace/Makefile.am (INCLUDES): Ditto.
	(ETAGS_ARGS): Ditto.

	* parseutil/Makefile.am (ETAGS_ARGS): Ditto.

	* ppsclock/ppstest/Makefile.am (ETAGS_ARGS): Ditto.

	* ppsclock/Makefile.am (ETAGS_ARGS): Ditto.

	* xntpd/Makefile.am (INCLUDES): Ditto.
	(ETAGS_ARGS): Ditto.

	* xntpdc/Makefile.am (INCLUDES): Ditto.
	(ETAGS_ARGS): Ditto.

	* util/Makefile.am (INCLUDES): Ditto.
	(ETAGS_ARGS): Ditto.

	* Makefile.am (ETAGS_ARGS): Added Makefile.am and configure.in

	* configure.in: TTY_CLK -> TTYCLK.

	* acconfig.h: CHU_CLK -> CHUCLK. Sigh.
	TTY_CLK -> TTYCLK.  Sigh.

	* configure.in (CHUCLK): Code cleanup, and warn if the driver is
	included but sys/

	* xntpd/refclock_conf.c: Change CHU to CHUCLK.

	* xntpd/refclock_chu.c: Ditto.

	* configure.in (CHUCLK): Ditto.

Thu Jul  4 06:57:05 1996  Harlan Stenn  <stenn@whimsy.udel.edu>

	* include/ntp_machine.h: Fixed typo on HAVE_SYS_STROPTS_H.

	* parseutil/parsetest.c: Add #include <config.h>

	* parseutil/Makefile.am (INCLUDES): Added.
	(noinst_PROGRAMS): Added.

	* parseutil/dcfd.c: Fixed typo on HAVE_TERMIOS_H and HAVE_TERMIO_H.
	Added #include <config.h>.	

Wed Jul  3 06:18:43 1996  Harlan Stenn  <stenn@whimsy.udel.edu>

	* configure.in (ac_cv_var_streams_tli): Clean up the code.  In
 	some cases the result was being changed after the answer was
 	reported to the user.
	(ac_cv_var_can_kmem): Don't AC_DEFINE(NOKMEM) here, wait until
 	after we check for PRESET_{TICK,TICKADJ}.
	(ac_cv_var_kmem): Added.  AC_DEFINE(NOKMEM) if we can't read kmem,
 	or if we can read kmem but both PRESET_{TICK,TICKADJ} are defined.
  	Scream and die if only one of the PRESET_* variables are defined
 	or if no PRESET_* variables are defined but we can't read kmem.

Tue Jul  2 00:24:46 1996  Harlan Stenn  <stenn@whimsy.udel.edu>

	* xntpdc/ntpdc.c (builtins): 'or' in OPT to argument type flag for
 	the "keytype" command so we can see the current keytype.
	(keytype): When printing the current keytype, print a final \n .

	* ntpq/ntpq.c (builtins): Ditto.
	(keytype): Ditto.

	* xntpd/ntp_io.c: On some platforms the ifa_addr member can be
 	NULL.  Check for this case.  From Jeremy Cooper <j@broder.com>

	* xntpd/refclock_acts.c: Change KEEPPTBACTS logic - if both ACTS
 	and PPTBACTS are defined, then if KEEPPTBACTS is defined #undef
 	ACTS ; otherwise #undef PTBACTS.  Do this *after* including last
 	file that might #Include <config.h> .

	* xntpd/refclock_ptbacts.c: Don't #undef ACTS, just #define
 	KEEPPTBACTS .

	* configure.in (ntp_eac): Change sense to include all suitable
 	clocks by default, as requested by Dave Mills.

Sat Jun 29 07:07:52 1996  Harlan Stenn  <stenn@whimsy.udel.edu>

	* xntpd/Makefile.am (xntpd_SOURCES): Added refclock_arbiter.c to
 	the Makefile; Dave already added the code and updated various
 	other bits.

Thu Jun 27 03:07:13 1996  Harlan Stenn  <stenn@whimsy.udel.edu>

	* configure.in (ac_cv_var_tickadj): Change solaris2, fujitsu, and
 	hpux's value for PRESET_TICKADJ from *tick/16 to tick/16 for
 	tickadj.

	* xntpd/ntp_unixclock.c (clock_parms): We need the value for tick
 	before we handle tickadj.  Skippy says so.  Rename tick -> ptick
 	and tickadj -> ptickadj, so we can keep a local copy of tick and
 	handle PRESET_TICKADJ braindamage in tickadj in a less insane way.

	* util/tickadj.c (main): Handle PRESET_TICK and PRESET_TICKADJ
 	better.  Spell "kernel" correctly.  Rename hz -> hz_int.  Use new
 	hz variable the way ntp_unixclock does.  Generally hack things up
 	in the hope that it will be better than it was before.

	* acconfig.h: Added GPSVME.

	* configure.in: Changed behavior for --enable-all-clocks for:
	       ACTS - Not HPUX.  Needs termio.h or termios.h .
	       BANC - HPUX only, off unless explicitly requested
	      DATUM - Not HPUX.
	     GPSVME - HPUX only, off unless explicitly requested.
              HEATH - Not HPUX.  Needs termio.h or termios.h .
               IRIG - sun4c only.
             MX4200 - Not Ultrix.
               TPRO - sparc-*-* only.
           TRUETIME - Not dec-vax-bsd .
               USNO - Not HPUX.  Needs termio.h or termios.h .
	
Wed Jun 26 06:29:43 1996  Harlan Stenn  <stenn@whimsy.udel.edu>

	* xntpd/ntp_refclock.c (refclock_cmpl_fp): Clean up declaration
 	for ANSI compilers.  From Andrej Borsenkow <borsenkow.msk@sni.de>

	* include/ntp_if.h: #include sys/stream.h and sys/stropts.h based
 	on their respective availability instead of SYS_*.
	From Andrej Borsenkow <borsenkow.msk@sni.de>

Thu Jun 20 04:37:38 1996  Harlan Stenn  <stenn@whimsy.udel.edu>

	* html/porting.html: First cut at changes caused by the conversion
 	to automake and autoconf.

	* Makefile.am (EXTRA_DIST): Added ChangeLog.

	* configure.in (enable-udp-wildcard): Typo'd enableval.
	(disable-kmem): Ditto.  From Andrej Borsenkow <borsenkow.msk@sni.de>

