diff options
author | Jim Meyering <jim@meyering.net> | 1997-07-15 13:21:56 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-07-15 13:21:56 +0000 |
commit | 47daa6787e9f24edd4fb0816c01faabac94cfed0 (patch) | |
tree | cf4fc2b147a9e91c907cf9dd6b6473ccb461f3c6 | |
parent | eb4d510a748e68580eb29a3647dd51311e1c79cf (diff) | |
download | gunmake-47daa6787e9f24edd4fb0816c01faabac94cfed0.tar.gz |
Add comment describing HAVE_PSTAT_GETDYNAMIC.
-rw-r--r-- | getloadavg.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/getloadavg.c b/getloadavg.c index 8400026..52958d4 100644 --- a/getloadavg.c +++ b/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. |