diff --git a/configure.in b/configure.in
index 4d8023e6a8d7ffcc1dc7d7c24a05d64f6bf81010..37a61b87b6e59089625e70077b4b82deebb329df 100644 (file)
--- a/configure.in
+++ b/configure.in
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(collectd, 3.5.alpha1-quota)
+AC_INIT(collectd, 3.5.2)
AC_CONFIG_SRCDIR(src/collectd.c)
AC_CONFIG_HEADERS(src/config.h)
AM_INIT_AUTOMAKE(dist-bzip2)
AC_CHECK_FUNCS(gethostbyname, , AC_CHECK_LIB(nsl, gethostbyname))
AC_CHECK_FUNCS(strchr memcpy strstr strcmp strncmp strncpy strlen)
AC_CHECK_FUNCS(strncasecmp strcasecmp)
+AC_CHECK_FUNCS(openlog syslog closelog)
# For cpu module
AC_CHECK_FUNCS(sysctlbyname, [have_sysctlbyname="yes"], [have_sysctlbyname="no"])
#
# Check for enabled/disabled features
#
+m4_divert_once([HELP_ENABLE], [
+collectd features:])
AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug],
[Enable debugging (disabled by default)]),
[], [enable_debug="no"])
[Wether or not to enable daemon mode])
AM_CONDITIONAL(BUILD_DAEMON, test "x$enable_daemon" = "xyes")
+m4_divert_once([HELP_ENABLE], [
+collectd modules:])
AC_ARG_ENABLE(cpu, AC_HELP_STRING([--disable-cpu], [Disable CPU usage statistics]),, [enable_cpu="yes"])
if test "x$enable_cpu" != "xno"
then
fi
AM_CONDITIONAL(BUILD_MODULE_DISK, test "x$enable_disk" = "xyes")
-AC_ARG_ENABLE(quota, AC_HELP_STRING([--enable-quota],
- [Enable quota statistics (experimental, disabled by default)]),
- [], [enable_quota="no"])
-if test "x$enable_quota" = "xno"
-then
- collect_quota=0
-else
- if test "x$enable_quota" = "xyes"
- then
- collect_quota=1
- else
- AC_MSG_NOTICE([Please specify either --enable-quota or --disable-quota; Enabling quota statistics.])
- collect_quota=1
- enable_quota="yes"
- fi
-fi
-AC_DEFINE_UNQUOTED(COLLECT_QUOTA, [$collect_quota],
- [Wether or not to collect quota statistics])
-AM_CONDITIONAL(BUILD_MODULE_QUOTA, test "x$enable_quota" = "xyes")
-
AC_ARG_ENABLE(hddtemp, AC_HELP_STRING([--disable-hddtemp], [Disable hdd temperature statistics]),, [enable_hddtemp="yes"])
if test "x$enable_hddtemp" = "xno"
then
fi
AM_CONDITIONAL(BUILD_MODULE_PROCESSES, test "x$enable_processes" = "xyes")
+#AC_ARG_ENABLE(quota, AC_HELP_STRING([--enable-quota],
+# [Enable quota statistics (experimental, disabled by default)]),
+# [], [enable_quota="no"])
+#if test "x$enable_quota" = "xno"
+#then
+# collect_quota=0
+#else
+# if test "x$enable_quota" = "xyes"
+# then
+# collect_quota=1
+# else
+# AC_MSG_NOTICE([Please specify either --enable-quota or --disable-quota; Enabling quota statistics.])
+# collect_quota=1
+# enable_quota="yes"
+# fi
+#fi
+#AC_DEFINE_UNQUOTED(COLLECT_QUOTA, [$collect_quota],
+# [Wether or not to collect quota statistics])
+#AM_CONDITIONAL(BUILD_MODULE_QUOTA, test "x$enable_quota" = "xyes")
+
AC_ARG_ENABLE(sensors, AC_HELP_STRING([--disable-sensors], [Disable lm_sensors statistics]),, [enable_sensors=$with_lm_sensors])
if test "x$enable_sensors" != "xno"
then
cpu . . . . . . . . $enable_cpu
cpufreq . . . . . . $enable_cpufreq
disk . . . . . . . $enable_disk
- quota . . . . . . . $enable_quota (experimental)
hddtemp . . . . . . $enable_hddtemp
load . . . . . . . $enable_load
memory . . . . . . $enable_memory