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
parentFix test-udev.c to build and work on a uclibc system (diff)
downloadeudev-0407037a7bac67603382ffa3472b618cf7560db6.tar.gz
eudev-0407037a7bac67603382ffa3472b618cf7560db6.tar.bz2
eudev-0407037a7bac67603382ffa3472b618cf7560db6.zip
Fix --disable-modules config optionv1_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 e55930019..5de88126d 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