From: Sebastian Harl Date: Sun, 9 Mar 2008 18:58:24 +0000 (+0100) Subject: configure: Do not preset $with_libstatgrab and $with_libdevstat. X-Git-Tag: collectd-4.2.6~12 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=c5d8344235ffedd8d37e31a7fefb131502dce212;p=collectd.git configure: Do not preset $with_libstatgrab and $with_libdevstat. Those variables are set when parsing the command line options and evaluated inside the AC_ARG_WITH() macro. Presetting them overwrites any command line options. Signed-off-by: Sebastian Harl Signed-off-by: Florian Forster --- diff --git a/configure.in b/configure.in index 15c941d2..17462a12 100644 --- a/configure.in +++ b/configure.in @@ -1025,8 +1025,6 @@ AC_CHECK_LIB(IOKit, IOServiceGetMatchingServices, AC_DEFINE_UNQUOTED(COLLECT_LIBIOKIT, [$collect_libiokit], [Wether or not to use the IOKit library]) AM_CONDITIONAL(BUILD_WITH_LIBIOKIT, test "x$with_libiokit" = "xyes") -with_libstatgrab="yes" -with_libdevstat="no" AC_ARG_WITH(libstatgrab, [AS_HELP_STRING([--with-libstatgrab@<:@=PREFIX@:>@], [Path to libstatgrab.])], [ if test "x$withval" != "xno" -a "x$withval" != "xyes"