summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: beefe43)
raw | patch | inline | side by side (parent: beefe43)
author | Doug MacEachern <dougm@hyperic.com> | |
Fri, 25 Sep 2009 20:02:26 +0000 (13:02 -0700) | ||
committer | Doug MacEachern <dougm@hyperic.com> | |
Fri, 25 Sep 2009 20:02:26 +0000 (13:02 -0700) |
configure.in | patch | blob | history |
diff --git a/configure.in b/configure.in
index c08a61a717e03913a9a02730a8b7271080ad52b7..c3fc8d783cf41773b6a1c3cbdb56d52ae67bcaa8 100644 (file)
--- a/configure.in
+++ b/configure.in
#endif
])
+AC_MSG_CHECKING([for sysctl kern.cp_times])
+if test -x /sbin/sysctl
+then
+ /sbin/sysctl kern.cp_times > /dev/null
+ if test $? -eq 0
+ then
+ AC_MSG_RESULT([yes])
+ AC_DEFINE(HAVE_SYSCTL_KERN_CP_TIMES, 1,
+ [Define if sysctl supports kern.cp_times])
+ else
+ AC_MSG_RESULT([no])
+ fi
+else
+ AC_MSG_RESULT([no])
+fi
+
# For hddtemp module
AC_CHECK_HEADERS(linux/major.h libgen.h)