X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=configure.ac;h=377a27e59ed46408e4be8d49029fcf555ecf16cb;hb=db71b500b2fe1fc74c4d9b60082cb142283b6eda;hp=cdd85efb2d8fd46a19c7c988e28886662bb3ff4e;hpb=3e18fb062f16e99cd3b308089f1459f4eeb33003;p=elogind.git diff --git a/configure.ac b/configure.ac index cdd85efb2..377a27e59 100644 --- a/configure.ac +++ b/configure.ac @@ -9,6 +9,10 @@ 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 @@ -19,7 +23,7 @@ AC_SUBST(LIBUDEV_LT_AGE) dnl /* libvolume_id version */ VOLID_LT_CURRENT=1 -VOLID_LT_REVISION=6 +VOLID_LT_REVISION=7 VOLID_LT_AGE=0 AC_SUBST(VOLID_LT_CURRENT) AC_SUBST(VOLID_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])