mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-05-28 04:35:57 -04:00
ITS#10495 configure: fix systemdsystemunitdir config variable
This commit is contained in:
parent
9d0b3b43c6
commit
d60bfa7ed7
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue