summaryrefslogtreecommitdiff
path: root/src/getloadavg.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-07-15 13:21:56 +0000
committerJim Meyering <jim@meyering.net>1997-07-15 13:21:56 +0000
commit579c8381290358c9efcba7770770a18ce4decf25 (patch)
tree79434cae9cb2deaa30a4e5060c0f306e72861ca7 /src/getloadavg.c
parentf8604035c1bdf68388106810b1e0e50c205c375f (diff)
downloademacs-579c8381290358c9efcba7770770a18ce4decf25.tar.gz
Add comment describing HAVE_PSTAT_GETDYNAMIC.
Diffstat (limited to 'src/getloadavg.c')
-rw-r--r--src/getloadavg.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/getloadavg.c b/src/getloadavg.c
index 84000267b1e..52958d4d53f 100644
--- a/src/getloadavg.c
+++ b/src/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.