From: octo Date: Tue, 11 Apr 2006 22:22:12 +0000 (+0000) Subject: Added checks for `IOKit/ps/IOPowerSources.h' and `IOKit/ps/IOPSKeys.h' X-Git-Tag: collectd-3.8.6^2~52 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=112652962c23053bde143cca7cbee553e20e15d4;p=collectd.git Added checks for `IOKit/ps/IOPowerSources.h' and `IOKit/ps/IOPSKeys.h' Added output wether or not `apache' plugin is built. Renamed `iokit' to `apple_sensors' in the summary. --- diff --git a/configure.in b/configure.in index 8fd2b489..a56c48b1 100644 --- a/configure.in +++ b/configure.in @@ -162,6 +162,18 @@ AC_CHECK_HEADERS(CoreFoundation/CoreFoundation.h) AC_CHECK_HEADERS(IOKit/IOKitLib.h) AC_CHECK_HEADERS(IOKit/IOTypes.h) +# For the battery plugin +AC_CHECK_HEADERS(IOKit/ps/IOPowerSources.h, [], [], +[ +#if HAVE_IOKIT_IOKITLIB_H +# include +#endif +#if HAVE_IOKIT_IOTYPES_H +# include +#endif +]) +AC_CHECK_HEADERS(IOKit/ps/IOPSKeys.h) + # For load module AC_CHECK_HEADERS(sys/loadavg.h) @@ -1049,13 +1061,14 @@ Configuration: heartbeat . . . . . $collectd_heartbeat seconds Modules: + apache . . . . . . $enable_apache + apple_sensors . . . $enable_apple_sensors battery . . . . . . $enable_battery cpu . . . . . . . . $enable_cpu cpufreq . . . . . . $enable_cpufreq df . . . . . . . . $enable_df disk . . . . . . . $enable_disk hddtemp . . . . . . $enable_hddtemp - iokit . . . . . . . $enable_iokit load . . . . . . . $enable_load memory . . . . . . $enable_memory mysql . . . . . . . $enable_mysql