]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#10495 configure: fix systemdsystemunitdir config variable
authorHoward Chu <hyc@openldap.org>
Tue, 28 Apr 2026 16:03:19 +0000 (17:03 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 29 Apr 2026 13:28:26 +0000 (13:28 +0000)
configure.ac

index 85a590dbbf65a27f8600e653dc5f78dabe967158..6da10e67d4d4eb5b8422ef70fe521de4f33acbab 100644 (file)
@@ -2057,7 +2057,6 @@ dnl ----------------------------------------------------------------
 dnl
 dnl Check for systemd (only if we have a server)
 dnl
-systemdsystemunitdir=
 if test $ol_enable_slapd = no && test $ol_enable_balancer != yes ; then
        if test $ol_with_systemd != no ; then
                AC_MSG_WARN([servers disabled, ignoring --with-systemd=$ol_with_systemd argument])
@@ -2082,6 +2081,8 @@ if test $ol_with_systemd = yes ; then
                        systemdsystemunitdir=/lib/systemd/system
                fi
        fi
+else
+       systemdsystemunitdir=
 fi
 AC_SUBST(systemdsystemunitdir)