chiark / gitweb /
libudev: device - add udev_device_get_property_value()
[elogind.git] / configure.ac
index 4439166d6ab7a1148f68f733a2c36dc9ce396fc7..849939c78e98004ab5628b13dd3a5923132816a3 100644 (file)
@@ -9,9 +9,13 @@ AC_DISABLE_STATIC
 AC_SYS_LARGEFILE
 AC_PROG_LIBTOOL
 
+dnl /* prefix is /usr, exec_prefix in /, 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=7
 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])