chiark / gitweb /
kmod-setup: use libkmod rather than modprobe
[elogind.git] / configure.ac
index 2d04ee9e6bab83b469f9920baf8aaab764205db9..d540d953953fcff93109ed84ba171f3d1aa1486d 100644 (file)
@@ -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