From: Philippe Proulx Date: Tue, 21 Jun 2016 20:29:38 +0000 (-0400) Subject: configure.ac: fix --enable/disable-kmod option X-Git-Tag: v2.8.1~4 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;ds=sidebyside;h=4099983eddc96a9f1f5900e5f98091f36abc67da;p=lttng-tools.git configure.ac: fix --enable/disable-kmod option 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 --- diff --git a/configure.ac b/configure.ac index ec1f7a07c..e6370a460 100644 --- a/configure.ac +++ b/configure.ac @@ -394,7 +394,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],