diff --git a/configure.in b/configure.in
index 863a76c998475bd603a35d899aee6bfa95c3ce23..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.alpha2)
+AC_INIT(collectd, 3.5.2)
AC_CONFIG_SRCDIR(src/collectd.c)
AC_CONFIG_HEADERS(src/config.h)
AM_INIT_AUTOMAKE(dist-bzip2)
AC_LIBTOOL_DLOPEN
AC_PROG_LIBTOOL
#AC_PROG_RANLIB
-AC_CONFIG_SUBDIRS(libltdl src/libconfig)
+AC_CONFIG_SUBDIRS(libltdl)
#
# Checks for header files.
AC_C_CONST
AC_TYPE_PID_T
AC_TYPE_SIZE_T
-AC_TYPE_UID_T
AC_HEADER_TIME
#
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_USERS, test "x$enable_users" = "xyes")
-AC_OUTPUT(Makefile src/libconfig/Makefile src/libping/Makefile src/Makefile)
+AC_OUTPUT(Makefile src/libping/Makefile src/Makefile)
cat <<EOF;