X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=configure.ac;h=3fd51ce36e35b54b30ffeff598af8f965f0df65b;hp=0ccd8d560ab29b87defb37b9d8ff8bb52cbbd37f;hb=116254097ad3c07d9f7ed06042dbec7ba4f0f4fd;hpb=449934822e7386311fa738d6b34bde393d845ce6 diff --git a/configure.ac b/configure.ac index 0ccd8d560..3fd51ce36 100644 --- a/configure.ac +++ b/configure.ac @@ -1,26 +1,31 @@ AC_INIT([udev], - [134], + [141], [linux-hotplug@vger.kernel.org]) AC_PREREQ(2.60) AC_CONFIG_SRCDIR([udev/udevd.c]) AM_INIT_AUTOMAKE([check-news foreign 1.9 dist-bzip2]) -AC_GNU_SOURCE AC_DISABLE_STATIC +AC_USE_SYSTEM_EXTENSIONS AC_SYS_LARGEFILE AC_PROG_LIBTOOL +AC_CONFIG_MACRO_DIR([m4]) + +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=5 -LIBUDEV_LT_AGE=0 +LIBUDEV_LT_CURRENT=2 +LIBUDEV_LT_REVISION=0 +LIBUDEV_LT_AGE=2 AC_SUBST(LIBUDEV_LT_CURRENT) AC_SUBST(LIBUDEV_LT_REVISION) AC_SUBST(LIBUDEV_LT_AGE) dnl /* libvolume_id version */ -VOLID_LT_CURRENT=1 -VOLID_LT_REVISION=6 -VOLID_LT_AGE=0 +VOLID_LT_CURRENT=2 +VOLID_LT_REVISION=0 +VOLID_LT_AGE=1 AC_SUBST(VOLID_LT_CURRENT) AC_SUBST(VOLID_LT_REVISION) AC_SUBST(VOLID_LT_AGE) @@ -53,7 +58,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])