# HG changeset patch # User Jim Meyering # Date 868972916 0 # Node ID c7b288b97f73a9169f77c852bedfbe3e11776bab # Parent b4b9772f0877cd0bf48e413706269a8775aedc5c Add comment describing HAVE_PSTAT_GETDYNAMIC. diff -r b4b9772f0877 -r c7b288b97f73 src/getloadavg.c --- a/src/getloadavg.c Tue Jul 15 08:32:51 1997 +0000 +++ b/src/getloadavg.c Tue Jul 15 13:21:56 1997 +0000 @@ -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.