From ceef7a54f4316e7f4774f9fa075ed8885bdf3cbb Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Tue, 21 Jun 2016 16:29:38 -0400 Subject: [PATCH] configure.ac: fix --enable/disable-kmod option MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Now all the following work as expected: * No option (defaults to --enable-kmod) * --disable-kmod * --enable-kmod * --enable-kmod=no * --enable-kmod=yes Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 1aed41ed1..ccd1b10a0 100644 --- a/configure.ac +++ b/configure.ac @@ -264,7 +264,7 @@ AC_ARG_WITH(kmod-prefix, AC_ARG_ENABLE(kmod, AS_HELP_STRING([--disable-kmod],[build without kmod support]), - kmod_support=zz$enableval, kmod_support=yes) + kmod_support=$enableval, kmod_support=yes) AS_IF([test "x$kmod_support" = "xyes"], [ AC_CHECK_LIB([kmod], [kmod_module_probe_insert_module], -- 2.34.1