Add comment re HAVE_PSTAT_GETDYNAMIC.
authorJim Meyering <jim@meyering.net>
Sat, 18 Jan 1997 15:07:16 +0000 (15:07 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 18 Jan 1997 15:07:16 +0000 (15:07 +0000)
lib/getloadavg.c

index 635e5ac..b6824e4 100644 (file)
 
 /* 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.