summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2016-06-28 11:28:24 +0200
committerJakub Hrozek <jhrozek@redhat.com>2016-06-29 21:45:20 +0200
commit7b308bfdac1f6cdc08502d69d49682a1f9aefe06 (patch)
tree4a976323d7ca24df5dc5c5c58e0c0e9b8b9f5502 /configure.ac
parentb54cd7caf6b73b36b68fcefc0cad39a626690398 (diff)
downloadsssd-7b308bfdac1f6cdc08502d69d49682a1f9aefe06.tar.gz
sssd-7b308bfdac1f6cdc08502d69d49682a1f9aefe06.tar.xz
sssd-7b308bfdac1f6cdc08502d69d49682a1f9aefe06.zip
BUILD: Fix detection of systemd
The macro AM_COND_IF must be called after AM_CONDITIONAL Otherwise it will consider that condition is true. As a result of this the header file config.h had defined macro HAVE_SYSTEMD on all platforms Our macro AM_CHECK_SYSTEMD was removed becuase it was needed in src/external/systemd.m4 and should not be invoked later in configure.ac Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 0 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 0d3573c84..dbfdeb40f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -350,10 +350,6 @@ if test x$HAVE_SEMANAGE != x -a x$HAVE_SELINUX != x; then
AM_CHECK_SEMANAGE
fi
-if test x$HAVE_SYSTEMD_UNIT != x; then
- AM_CHECK_SYSTEMD
-fi
-
dnl If journald was selected for logging, configure journald
if test x$syslog = xjournald; then
AM_CHECK_JOURNALD