X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=configure.ac;h=3a624308df9f4e37cf1717853e69aff7a7257434;hp=d795aa114d617905de92f1fe0cf5835ca41abd7a;hb=977f6f4b3dfbdd32d7df5a774a4ed761d5d4b98f;hpb=ae0f55cb86736eaa22fe0242353afbd7049628e4 diff --git a/configure.ac b/configure.ac index d795aa114..3a624308d 100644 --- a/configure.ac +++ b/configure.ac @@ -1,26 +1,31 @@ AC_INIT([udev], - [135], + [140], [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=6 -LIBUDEV_LT_AGE=0 +LIBUDEV_LT_CURRENT=1 +LIBUDEV_LT_REVISION=0 +LIBUDEV_LT_AGE=1 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])