diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-02-12 11:07:18 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-02-12 11:07:18 +0000 |
commit | bd7029a99b0c2974265c6665638ef14a052f42ab (patch) | |
tree | f5661ba73366d81ef6e91f889ea7fec5ebe07b6b /gl/m4/getloadavg.m4 | |
parent | f99612320d6eda67644c07be04bb21aa4d7789db (diff) | |
download | monitoring-plugins-bd7029a99b0c2974265c6665638ef14a052f42ab.tar.gz |
Sync to latest Gnulib
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1925 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'gl/m4/getloadavg.m4')
-rw-r--r-- | gl/m4/getloadavg.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gl/m4/getloadavg.m4 b/gl/m4/getloadavg.m4 index 82437291..c1547c74 100644 --- a/gl/m4/getloadavg.m4 +++ b/gl/m4/getloadavg.m4 | |||
@@ -31,6 +31,10 @@ AC_CHECK_FUNCS(pstat_getdynamic) | |||
31 | AC_CHECK_LIB(kstat, kstat_open) | 31 | AC_CHECK_LIB(kstat, kstat_open) |
32 | test $ac_cv_lib_kstat_kstat_open = yes && gl_have_func=yes | 32 | test $ac_cv_lib_kstat_kstat_open = yes && gl_have_func=yes |
33 | 33 | ||
34 | # AIX has libperfstat which does not require root | ||
35 | AC_CHECK_LIB(perfstat, perfstat_cpu_total) | ||
36 | test $ac_cv_lib_perfstat_perfstat_cpu_total = yes && gl_have_func=yes | ||
37 | |||
34 | # Some systems with -lutil have (and need) -lkvm as well, some do not. | 38 | # Some systems with -lutil have (and need) -lkvm as well, some do not. |
35 | # On Solaris, -lkvm requires nlist from -lelf, so check that first | 39 | # On Solaris, -lkvm requires nlist from -lelf, so check that first |
36 | # to get the right answer into the cache. | 40 | # to get the right answer into the cache. |