changeset 28640:7f198d98ac14

Revert HAVE_GETLOADAVG changes.
author Dave Love <fx@gnu.org>
date Wed, 19 Apr 2000 11:21:37 +0000
parents 51d5d8415a38
children 73cdcbe7fbd6
files src/s/bsd386.h src/s/freebsd.h src/s/gnu.h src/s/netbsd.h
diffstat 4 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/bsd386.h	Wed Apr 19 11:12:30 2000 +0000
+++ b/src/s/bsd386.h	Wed Apr 19 11:21:37 2000 +0000
@@ -18,6 +18,8 @@
 #define LIB_X11_LIB -L/usr/X11/lib -lX11
 #define LIBS_SYSTEM -lutil -lkvm -lcompat
 
+#define HAVE_GETLOADAVG
+
 #undef BSD_PGRPS
 
 /* System uses OXTABS instead of the expected TAB3.
--- a/src/s/freebsd.h	Wed Apr 19 11:12:30 2000 +0000
+++ b/src/s/freebsd.h	Wed Apr 19 11:21:37 2000 +0000
@@ -99,6 +99,7 @@
 #define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_1 -L/usr/local/lib
 
 #define HAVE_WAIT_HEADER
+#define HAVE_GETLOADAVG 1
 #if 0
 #define HAVE_GETPAGESIZE  /* configure now puts this in config.h */
 #endif
--- a/src/s/gnu.h	Wed Apr 19 11:12:30 2000 +0000
+++ b/src/s/gnu.h	Wed Apr 19 11:21:37 2000 +0000
@@ -28,6 +28,11 @@
 #undef SYSTEM_TYPE
 #define SYSTEM_TYPE "gnu"
 
+#undef NLIST_STRUCT
+
+/* XXX should getloadavg be in libc?  Should we have a libutil?
+#define HAVE_GETLOADAVG */
+#undef NLIST_STRUCT
 #undef KERNEL_FILE
 #undef LDAV_SYMBOL
 
--- a/src/s/netbsd.h	Wed Apr 19 11:12:30 2000 +0000
+++ b/src/s/netbsd.h	Wed Apr 19 11:21:37 2000 +0000
@@ -12,6 +12,7 @@
 
 #undef KERNEL_FILE
 #undef LDAV_SYMBOL
+#define HAVE_GETLOADAVG 1
 
 #define HAVE_UNION_WAIT