X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=configure.ac;h=3e078a4621c4903b83ca9507844ab35ef765934a;hp=cbd760edbf6cbd4a2f7c8a6e641dceef94496bbf;hb=9379b7c16dd3b2f11d9e69c063706037ae001a0a;hpb=6733f60178cc67d5064583d433335ce8fb25eae1 diff --git a/configure.ac b/configure.ac index cbd760edb..3e078a462 100644 --- a/configure.ac +++ b/configure.ac @@ -1,26 +1,30 @@ AC_INIT([udev], - [134], + [142], [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_CONFIG_MACRO_DIR([m4]) AC_PROG_LIBTOOL +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=3 +LIBUDEV_LT_REVISION=0 +LIBUDEV_LT_AGE=3 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 +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]) @@ -97,9 +101,9 @@ AC_CONFIG_FILES([ extras/volume_id/lib/Makefile extras/volume_id/lib/libvolume_id.pc ]) -AC_OUTPUT -echo " +AC_OUTPUT +AC_MSG_RESULT([ udev $VERSION ======== @@ -120,4 +124,4 @@ echo " ldflags: ${LDFLAGS} xsltproc: ${XSLTPROC} -" +])