Code

configure: Do not preset $with_libstatgrab and $with_libdevstat.
authorSebastian Harl <sh@tokkee.org>
Sun, 9 Mar 2008 18:58:24 +0000 (19:58 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Sat, 22 Mar 2008 09:24:01 +0000 (10:24 +0100)
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 <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
configure.in

index 15c941d2c3734e2aa483333ad5629c04678cc910..17462a12d24380f5190c9a1fb38e12a0bab9f50a 100644 (file)
@@ -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"