File libgsystem-libsystemd.patch of Package libgsystem

From 69c81f5a4f41a77b0c72d0cc6ee462f76a481744 Mon Sep 17 00:00:00 2001
From: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Date: Fri, 20 Nov 2015 21:32:49 +0100
Subject: buildsystem: Check for libsystemd not libsystemd-journal

Starting with systemd 200 (released 2014-02-20) libsystemd-journal is
part of libsystemd instead of a seperate helper library. Thus Check for
libsystemd instead.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 7d3e6a6..0fb972d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,7 +52,7 @@ AC_ARG_WITH(systemd-journal,
 	    AS_HELP_STRING([--without-systemd-journal], [Use systemd journal @<:@default=auto@:>@]),
 	    [], [with_systemd_journal=auto])
 AS_IF([test x$with_systemd_journal != xno], [
-  PKG_CHECK_MODULES([BUILDDEP_SYSTEMD_JOURNAL], [libsystemd-journal >= 200], have_systemd_journal=yes, have_systemd_journal=no)
+  PKG_CHECK_MODULES([BUILDDEP_SYSTEMD_JOURNAL], [libsystemd >= 209], have_systemd_journal=yes, have_systemd_journal=no)
   ])
 AM_CONDITIONAL(ENABLE_SYSTEMD_JOURNAL, test x$have_systemd_journal = xyes)
 AS_IF([test x$have_systemd_journal = xyes], [
-- 
cgit v0.12