[collectd] [PATCH] configure: Do not preset $with_libstatgrab and $with_libdevstat.

Sebastian Harl sh at tokkee.org
Sun Mar 9 19:58:24 CET 2008


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 at tokkee.org>
---
 configure.in |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/configure.in b/configure.in
index 036a9e4..0031ccd 100644
--- a/configure.in
+++ b/configure.in
@@ -1042,8 +1042,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"
-- 
1.5.4.2.133.g3d51e

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080309/f9458763/attachment.pgp 


More information about the collectd mailing list