summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2013-01-22 14:32:21 -0500
committerIan Stakenvicius <axs@gentoo.org>2013-01-22 14:34:39 -0500
commit0407037a7bac67603382ffa3472b618cf7560db6 (patch)
tree963559dd6daaabedeaf0c25b37ec75c6845c26ce
parent0342e13a321efbf3b8841eda30869eebe4e62bba (diff)
Fix --disable-modules config optioneudev/v1_beta2
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 <axs@gentoo.org> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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