chiark / gitweb /
do not complain about a missing /etc/udev/rules.d/
[elogind.git] / configure.ac
index 4439166d6ab7a1148f68f733a2c36dc9ce396fc7..bc2e9c27b0f3c2eb0a2b5bae705cb6d9d5e0ad98 100644 (file)
@@ -1,5 +1,5 @@
 AC_INIT([udev],
-       [136],
+       [137],
        [linux-hotplug@vger.kernel.org])
 AC_PREREQ(2.60)
 AC_CONFIG_SRCDIR([udev/udevd.c])
@@ -9,9 +9,13 @@ AC_DISABLE_STATIC
 AC_SYS_LARGEFILE
 AC_PROG_LIBTOOL
 
+dnl /* prefix is /usr, exec_prefix is /, if overridden exec_prefix follows prefix */
+AC_PREFIX_DEFAULT([/usr])
+test "$prefix" = NONE && test "$exec_prefix" = NONE && exec_prefix=
+
 dnl /* libudev version */
 LIBUDEV_LT_CURRENT=0
-LIBUDEV_LT_REVISION=6
+LIBUDEV_LT_REVISION=8
 LIBUDEV_LT_AGE=0
 AC_SUBST(LIBUDEV_LT_CURRENT)
 AC_SUBST(LIBUDEV_LT_REVISION)
@@ -53,7 +57,7 @@ if test "x$with_selinux" = xyes; then
                AC_MSG_ERROR([SELinux selected but libselinux not found]))
        LIBS=$LIBS_save
        AC_DEFINE(USE_SELINUX, [1] ,[compile with SELinux support])
-       SELINUX_LIBS="-lselinux"
+       SELINUX_LIBS="-lselinux -lsepol"
 fi
 AC_SUBST([SELINUX_LIBS])
 AM_CONDITIONAL(USE_SELINUX, [test "x$with_selinux" = xyes], [compile with SELinux support])