ITS#10495 configure: fix systemdsystemunitdir config variable

This commit is contained in:
Howard Chu 2026-04-28 17:03:19 +01:00 committed by Quanah Gibson-Mount
parent 9d0b3b43c6
commit d60bfa7ed7

View 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)