accountsservice/accountsservice-fix-systemd-test-always-evaluating-true.patch

26 lines
815 B
Diff

From c229be0e0eed580d35860d60bf816830805c4132 Mon Sep 17 00:00:00 2001
From: David King <amigadave@amigadave.com>
Date: Mon, 2 Apr 2012 12:55:37 +0100
Subject: [PATCH] configure: Fix systemd test always evaluating true
https://bugs.freedesktop.org/show_bug.cgi?id=48190
---
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index dc75961..8f2bcc8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -169,7 +169,7 @@ AC_SUBST(SYSTEMD_LIBS)
LIBACCOUNTSSERVICE_LIBS="$LIBACCOUNTSSERVICE_LIBS $SYSTEMD_LIBS"
LIBACCOUNTSSERVICE_CFLAGS="$LIBACCOUNTSSERVICE_CFLAGS $SYSTEMD_CFLAGS"
-if test "x$have_systemd" != "no" ; then
+if test "x$have_systemd" != "xno" ; then
AC_DEFINE(WITH_SYSTEMD, 1, [Define to enable systemd support])
fi
--
1.7.3.4