X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=configure.ac;h=849939c78e98004ab5628b13dd3a5923132816a3;hb=cc02d72c82d4ebc2c0803bae0c94707e9d1eea83;hp=4439166d6ab7a1148f68f733a2c36dc9ce396fc7;hpb=626ed3b6c119090dab7bd7491c423ef8ef93c94b;p=elogind.git diff --git a/configure.ac b/configure.ac index 4439166d6..849939c78 100644 --- a/configure.ac +++ b/configure.ac @@ -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])