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 \