From 0407037a7bac67603382ffa3472b618cf7560db6 Mon Sep 17 00:00:00 2001 From: Ian Stakenvicius Date: Tue, 22 Jan 2013 14:32:21 -0500 Subject: Fix --disable-modules config option This option should be enabled by default, however there was no logic in AC_ARG_ENABLE to set the variable to be enabled when the flag was unspecified Signed-off-by: Ian Stakenvicius Signed-off-by: Anthony G. Basile --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e559300191..5de88126d2 100644 --- a/configure.ac +++ b/configure.ac @@ -246,7 +246,7 @@ AM_CONDITIONAL(ENABLE_MANPAGES, [test "x$have_manpages" = "xyes"]) # ------------------------------------------------------------------------------ -AC_ARG_ENABLE(modules, [AS_HELP_STRING([--disable-modules], [Disable loadable module support @<:@default=enabled@:>@])]) +AC_ARG_ENABLE(modules, [AS_HELP_STRING([--disable-modules], [Disable loadable module support @<:@default=enabled@:>@])], [], [enable_modules=yes]) AC_ARG_ENABLE(libkmod, [AS_HELP_STRING([--enable-libkmod], [Enable module loading through kmod @<:@default=disabled@:>@])], [], [enable_libkmod=no]) if test "x${enable_modules}" = xyes; then -- cgit v1.2.3-54-g00ecf