diff options
-rw-r--r-- | configure.ac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 73a1075d..84602c6a 100644 --- a/configure.ac +++ b/configure.ac @@ -118,8 +118,11 @@ AC_ARG_ENABLE([systemd], [enable_systemd=auto]) PKG_CHECK_MODULES(SYSTEMD, - [gio-unix-2.0 libsystemd-login >= 183 libsystemd-daemon libsystemd-journal], - [have_systemd=yes], [have_systemd=no]) + [gio-unix-2.0 libsystemd], + [have_systemd=yes], + [PKG_CHECK_MODULES([SYSTEMD], + [gio-unix-2.0 libsystemd-login >= 183 libsystemd-daemon libsystemd-journal], + [have_systemd=yes],[have_systemd=no])]) AC_MSG_CHECKING([whether to use systemd]) |