From f87adf0a5f929a8a0b0a0c15936cb58520e4e0c2 Mon Sep 17 00:00:00 2001 From: Daniel Walton Date: Wed, 10 Feb 2016 20:47:05 +0000 Subject: [PATCH] Build was broken if systemd was not installed Signed-off-by: Daniel Walton Reviewed-by: Donald Sharp --- configure.ac | 2 +- debian/rules | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 72e62c4667..6c91ac3cc9 100755 --- a/configure.ac +++ b/configure.ac @@ -326,7 +326,7 @@ if test x"${enable_time_check}" != x"no" ; then fi fi -if test x"${enable_systemd}" != x"no" ; then +if test "${enable_systemd}" = "yes" ; then AC_DEFINE(HAVE_SYSTEMD,,Compile systemd support in) LIBS="$LIBS -lsystemd " fi diff --git a/debian/rules b/debian/rules index 7b284f60d5..b6cac7f8e4 100755 --- a/debian/rules +++ b/debian/rules @@ -66,7 +66,7 @@ override_dh_auto_configure: --enable-werror \ --enable-gcc-rdynamic \ --with-libpam \ - --enable-systemd \ + --enable-systemd=yes \ --enable-dependency-tracking; \ fi if ! diff -b -IHAVE_SNMP -IHAVE_NETSNMP -IUCD_COMPAT -IGETIFADDR debian/my/config.h.reference config.h; then \ -- 2.39.5