Support --disable-monitor: Do not leave $MONMOD empty

This commit is contained in:
Hallvard Furuseth 2005-08-21 00:58:00 +00:00
parent 94747c50db
commit 9fb32a65b3

View File

@ -12,12 +12,11 @@
## A copy of this license is available in the file LICENSE in the ## A copy of this license is available in the file LICENSE in the
## top-level directory of the distribution or, alternatively, at ## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>. ## <http://www.OpenLDAP.org/license.html>.
MONMOD=nomod
if [ x"$MONITORDB" = xyes -o x"$MONITORDB" = xmod ] ; then if [ x"$MONITORDB" = xyes -o x"$MONITORDB" = xmod ] ; then
MON=monitor MON=monitor
if [ $MONITORDB = mod ] ; then if [ $MONITORDB = mod ] ; then
MONMOD=monitormod MONMOD=monitormod
else
MONMOD=nomod
fi fi
else else
MON=nomonitor MON=nomonitor