diff options
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
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 |