chiark / gitweb /
core: rename SystemdRunningAs to ManagerRunningAs
[elogind.git] / configure.ac
index 0f004e3..fb62a57 100644 (file)
 
 AC_PREREQ([2.64])
 
-# FIXME: Update to proper web page
 AC_INIT([elogind],
-        [219.11],
-        [http://bugs.freedesktop.org/enter_bug.cgi?product=elogind],
+        [219.14],
+        [https://github.com/wingo/elogind/issues],
         [elogind],
-        [http://www.freedesktop.org/wiki/Software/elogind])
+        [https://github.com/wingo/elogind])
 
 AC_CONFIG_SRCDIR([src/login/logind.c])
 AC_CONFIG_MACRO_DIR([m4])
@@ -233,18 +232,21 @@ AC_CHECK_HEADERS([linux/memfd.h], [], [])
 
 # unconditionally pull-in librt with old glibc versions
 AC_SEARCH_LIBS([clock_gettime], [rt], [], [])
+AC_SEARCH_LIBS([mq_unlink], [rt], [], [])
 
 AC_ARG_WITH([libcap],
             AS_HELP_STRING([--with-libcap=DIR], [Prefix for libcap]),
             [CAP_LDFLAGS="-L$with_libcap/lib"],
             [CAP_LDFLAGS=""])
 save_LIBS="$LIBS"
+save_LDFLAGS="$LDFLAGS"
 LIBS=
 LDFLAGS="$LDFLAGS $CAP_LDFLAGS"
 AC_SEARCH_LIBS([cap_init], [cap], [], [AC_MSG_ERROR([*** POSIX caps library not found])])
 CAP_LIBS="$LIBS"
 AC_SUBST(CAP_LIBS)
 AC_SUBST(CAP_LDFLAGS)
+LIBS="$save_LIBS"
 LDFLAGS="$save_LDFLAGS"
 
 AC_CHECK_FUNCS([memfd_create])