summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-01-18 15:07:16 +0000
committerJim Meyering <jim@meyering.net>1997-01-18 15:07:16 +0000
commitaf12dd626020a6b71be76111a2352f7bb6762ed0 (patch)
tree0363f7e0ca1d625fc6a5942cc11b5115bbb87aa6 /lib
parentf8e40348be8d4f443fd1c88825cfd8006d59d566 (diff)
downloadcoreutils-af12dd626020a6b71be76111a2352f7bb6762ed0.tar.xz
Add comment re HAVE_PSTAT_GETDYNAMIC.
Diffstat (limited to 'lib')
-rw-r--r--lib/getloadavg.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/getloadavg.c b/lib/getloadavg.c
index 635e5ac53..b6824e413 100644
--- a/lib/getloadavg.c
+++ b/lib/getloadavg.c
@@ -19,6 +19,14 @@
/* Compile-time symbols that this file uses:
+ HAVE_PSTAT_GETDYNAMIC Define this if your system has the
+ pstat_getdynamic function. I think it
+ is unique to HPUX9. The best way to get the
+ definition is through the AC_FUNC_GETLOADAVG
+ macro that comes with autoconf 2.13 or newer.
+ If that isn't an option, then just put
+ AC_CHECK_FUNCS(pstat_getdynamic) in your
+ configure.in file.
FIXUP_KERNEL_SYMBOL_ADDR() Adjust address in returned struct nlist.
KERNEL_FILE Pathname of the kernel to nlist.
LDAV_CVT() Scale the load average from the kernel.