From 0b81983ca545cbb9d1b64f8a41b97b280e7507c4 Mon Sep 17 00:00:00 2001
From: Jan Vcelak <jan.vcelak@nic.cz>
Date: Wed, 26 Feb 2014 16:47:17 +0100
Subject: [PATCH] configure: tune the summary for systemd

issue #213
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index c2e7d29893..c28e2b0dd4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -91,7 +91,7 @@ AC_ARG_ENABLE([systemd],
     [enable_systemd="$enableval"], [enable_systemd=auto])
 
 case "$enable_systemd" in
-    auto) PKG_CHECK_MODULES([systemd_daemon], [libsystemd-daemon], [enable_systemd=yes], [true]) ;;
+    auto) PKG_CHECK_MODULES([systemd_daemon], [libsystemd-daemon], [enable_systemd=yes], [enable_systemd=no]) ;;
     yes)  PKG_CHECK_MODULES([systemd_daemon], [libsystemd-daemon]) ;;
     no)   ;;
     *)    AC_MSG_ERROR([Invalid value of --enable-systemd.]) ;;
@@ -387,6 +387,6 @@ echo "
   Libs: ${LIBS}
   Ragel: ${RAGEL} ${FSM_TYPE}
   Utils with IDN: ${libidn}
-  Use systemd notification: ${enable_systemd}
+  Use systemd notifications: ${enable_systemd}
 
   Continue with 'make' command"
-- 
GitLab