Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Fix the <ieeefp.h> problem a different way - nothing actuall...



details:   https://anonhg.NetBSD.org/src/rev/33a49594291e
branches:  trunk
changeset: 485675:33a49594291e
user:      simonb <simonb%NetBSD.org@localhost>
date:      Wed May 03 06:08:45 2000 +0000

description:
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.

diffstat:

 dist/ntp/config.h.in          |  3 ---
 dist/ntp/configure            |  2 +-
 dist/ntp/configure.in         |  2 +-
 dist/ntp/ntpd/ntp_util.c      |  6 +-----
 usr.sbin/ntp/include/config.h |  5 -----
 5 files changed, 3 insertions(+), 15 deletions(-)

diffs (72 lines):

diff -r 799be7456e7e -r 33a49594291e dist/ntp/config.h.in
--- a/dist/ntp/config.h.in      Wed May 03 05:38:19 2000 +0000
+++ b/dist/ntp/config.h.in      Wed May 03 06:08:45 2000 +0000
@@ -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
 
diff -r 799be7456e7e -r 33a49594291e dist/ntp/configure
--- a/dist/ntp/configure        Wed May 03 05:38:19 2000 +0000
+++ b/dist/ntp/configure        Wed May 03 06:08:45 2000 +0000
@@ -2806,7 +2806,7 @@
 
 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
diff -r 799be7456e7e -r 33a49594291e dist/ntp/configure.in
--- a/dist/ntp/configure.in     Wed May 03 05:38:19 2000 +0000
+++ b/dist/ntp/configure.in     Wed May 03 06:08:45 2000 +0000
@@ -189,7 +189,7 @@
 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)
diff -r 799be7456e7e -r 33a49594291e dist/ntp/ntpd/ntp_util.c
--- a/dist/ntp/ntpd/ntp_util.c  Wed May 03 05:38:19 2000 +0000
+++ b/dist/ntp/ntpd/ntp_util.c  Wed May 03 06:08:45 2000 +0000
@@ -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"
diff -r 799be7456e7e -r 33a49594291e usr.sbin/ntp/include/config.h
--- a/usr.sbin/ntp/include/config.h     Wed May 03 05:38:19 2000 +0000
+++ b/usr.sbin/ntp/include/config.h     Wed May 03 06:08:45 2000 +0000
@@ -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
 



Home | Main Index | Thread Index | Old Index