From 95b8f96ad66ab555c763dafebac8a49b9c6f3d51 Mon Sep 17 00:00:00 2001 From: Monsta Date: Thu, 1 Oct 2015 11:20:49 +0300 Subject: configure.ac: add support for new libsystemd library --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 379f9b1..87ab770 100644 --- a/configure.ac +++ b/configure.ac @@ -934,9 +934,9 @@ AC_ARG_WITH(systemd, [Add systemd support]), [with_systemd=$withval], [with_systemd=auto]) -PKG_CHECK_MODULES(SYSTEMD, - [libsystemd-login], - [have_systemd=yes], [have_systemd=no]) +PKG_CHECK_MODULES(SYSTEMD, [libsystemd], [have_systemd=yes], + [PKG_CHECK_MODULES(SYSTEMD, [libsystemd-login >= $SYSTEMD_REQUIRED], + [have_systemd=yes])]) if test "x$with_systemd" = "xauto" ; then if test x$have_systemd = xno ; then -- cgit v1.2.1