summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-27 00:41:27 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-27 00:41:27 +0000
commit3fa36d6e984b2f5c2958d078ff19c1a3cf46f9b6 (patch)
tree0332361a4138b9202e9e22f8c50d83df2cc01a72
parentf61e34fce870f45136a2cfcb73133b63df5321af (diff)
Add check for libkstat to get load averages on Solaris
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index abe859f..f9562e8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,6 +31,11 @@ AM_CONFIG_HEADER(config.h)
AC_PROG_CC
AC_PROG_INSTALL
+### How to check load average on various OS'es:
+
+# Solaris: libkstat
+AC_CHECK_LIB([kstat], [kstat_open])
+
# Checks for pkg-config packages
XAW_CHECK_XPRINT_SUPPORT(XLOAD)