From c5d8344235ffedd8d37e31a7fefb131502dce212 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 9 Mar 2008 19:58:24 +0100 Subject: [PATCH] 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 --- configure.in | 2 -- 1 file changed, 2 deletions(-) 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" -- 2.11.0