From 35889a0f7d2a0092985936a4be98dd5dbc8ffbeb Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Mon, 15 Jun 2015 21:48:00 +0200 Subject: [PATCH] Update configure.ac to check for libsystemd https://bugzilla.gnome.org/show_bug.cgi?id=751016 --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 867f1408f..1fc68b838 100644 --- a/configure.ac +++ b/configure.ac @@ -63,8 +63,8 @@ AC_ARG_ENABLE([systemd], [enable_systemd=$enableval], [enable_systemd=auto]) AS_IF([test x$enable_systemd != xno], [ - AC_MSG_CHECKING([for libsystemd-journal]) - PKG_CHECK_EXISTS([libsystemd-journal], + AC_MSG_CHECKING([for libsystemd]) + PKG_CHECK_EXISTS([libsystemd], [have_systemd=yes AC_DEFINE([HAVE_SYSTEMD], [1], [Define if we have systemd])], [have_systemd=no]) @@ -106,7 +106,7 @@ SHARED_PCS="gio-unix-2.0 >= $GIO_MIN_VERSION polkit-agent-1 >= $POLKIT_MIN_VERSION gcr-base-3 >= $GCR_MIN_VERSION" if test x$have_systemd = xyes; then - SHARED_PCS="${SHARED_PCS} libsystemd-journal" + SHARED_PCS="${SHARED_PCS} libsystemd" fi PKG_CHECK_MODULES(GNOME_SHELL, $SHARED_PCS)