Fix the <ieeefp.h> problem a different way - nothing actually uses the

contents of that header (the only file that includes it compiles to the
same object code on multiple architectures with or without including
<ieeefp.h>), so remove all references to it.

Fix sent to NTP maintainers - they will probably implement this change
after the immenient 4.1.0 release, but don't want to change it so close
to the release date.
This commit is contained in:
simonb 2000-05-03 06:08:45 +00:00
parent bc13e99292
commit 9c747bda1e
5 changed files with 3 additions and 15 deletions

View File

@ -495,9 +495,6 @@
/* Define if you have the `hstrerror' function. */
#undef HAVE_HSTRERROR
/* Define if you have the <ieeefp.h> header file. */
#undef HAVE_IEEEFP_H
/* Define if you have the `kvm_open' function. */
#undef HAVE_KVM_OPEN

2
dist/ntp/configure vendored
View File

@ -2806,7 +2806,7 @@ EOF
fi
for ac_header in bstring.h errno.h fcntl.h ieeefp.h memory.h netdb.h poll.h
for ac_header in bstring.h errno.h fcntl.h memory.h netdb.h poll.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

View File

@ -189,7 +189,7 @@ AC_CHECK_LIB(rt, sched_setscheduler, ,
AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt))
AC_HEADER_STDC
AC_CHECK_HEADERS(bstring.h errno.h fcntl.h ieeefp.h memory.h netdb.h poll.h)
AC_CHECK_HEADERS(bstring.h errno.h fcntl.h memory.h netdb.h poll.h)
AC_CHECK_HEADERS(resolv.h sched.h sgtty.h stdlib.h string.h termio.h termios.h)
AC_CHECK_HEADERS(timepps.h timex.h unistd.h utmp.h utmpx.h)
AC_CHECK_HEADERS(arpa/nameser.h net/if.h netinet/in_systm.h netinet/in.h)

View File

@ -1,4 +1,4 @@
/* $NetBSD: ntp_util.c,v 1.2 2000/04/22 15:49:33 simonb Exp $ */
/* $NetBSD: ntp_util.c,v 1.3 2000/05/03 06:08:47 simonb Exp $ */
/*
* ntp_util.c - stuff I didn't have any other place for
@ -15,10 +15,6 @@
#endif
#include <sys/time.h>
#ifdef HAVE_IEEEFP_H
# include <ieeefp.h>
#endif
#include "ntpd.h"
#include "ntp_io.h"
#include "ntp_unixtime.h"

View File

@ -496,11 +496,6 @@
/* Define if you have the `hstrerror' function. */
#define HAVE_HSTRERROR 1
/* Define if you have the <ieeefp.h> header file. */
#if !defined(__vax__)
#define HAVE_IEEEFP_H 1
#endif
/* Define if you have the `kvm_open' function. */
#define HAVE_KVM_OPEN 1