summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-02-08 21:52:18 +0100
committerLennart Poettering <lennart@poettering.net>2012-02-09 00:43:05 +0100
commit728beb28a713709f521d374c9f8f3da781969d26 (patch)
treebb2ca1fbce2bcac000b909c245faa973d931ef7e /configure.ac
parent2496985585f8d0febfc578b78d5fb098d545565b (diff)
kmod-setup: use libkmod rather than modprobe
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2d04ee9e6b..d540d95395 100644
--- a/configure.ac
+++ b/configure.ac
@@ -130,6 +130,8 @@ PKG_CHECK_MODULES(DBUS, [ dbus-1 >= 1.3.2 ])
AC_SUBST(DBUS_CFLAGS)
AC_SUBST(DBUS_LIBS)
+PKG_CHECK_MODULES(KMOD, [ libkmod >= 5 ])
+
have_selinux=no
AC_ARG_ENABLE(selinux, AS_HELP_STRING([--disable-selinux], [Disable optional SELINUX support]))
if test "x$enable_selinux" != "xno"; then