summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2013-09-17 12:31:45 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-17 19:42:36 +0200
commita21ccb89b573901abdc3bd921c1e6f2650450961 (patch)
tree66e32b5ee19e1369884e901e64c0d6ba59078344 /src
parentd898e651e5f57a846811307bc9e3d12ba715d355 (diff)
downloadsssd-a21ccb89b573901abdc3bd921c1e6f2650450961.tar.gz
sssd-a21ccb89b573901abdc3bd921c1e6f2650450961.tar.bz2
sssd-a21ccb89b573901abdc3bd921c1e6f2650450961.zip
Do not set HAVE_SYSTEMD_LOGIN if libsystemd-login is not available
Even if HAVE_SYSTEMD_LOGIN is set to 0 #ifdef will still see it as defined.
Diffstat (limited to 'src')
-rw-r--r--src/external/systemd.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/src/external/systemd.m4 b/src/external/systemd.m4
index 202915a5..9afb65de 100644
--- a/src/external/systemd.m4
+++ b/src/external/systemd.m4
@@ -9,4 +9,4 @@ AC_DEFUN([AM_CHECK_SYSTEMD],
AM_COND_IF([HAVE_SYSTEMD],
[PKG_CHECK_MODULES([SYSTEMD_LOGIN], [libsystemd-login],
[AC_DEFINE_UNQUOTED(HAVE_SYSTEMD_LOGIN, 1, [Build with libsystemdlogin support])],
- [AC_DEFINE_UNQUOTED(HAVE_SYSTEMD_LOGIN, 0, [Build without libsystemd-login support])])])
+ [AC_MSG_NOTICE([Build without libsystemd-login support])])])