Commit 300a2424 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

have --enable-dns imply --enable-referrals. If --disable-referrals, error.

parent ba0c0e02
This diff is collapsed.
...@@ -99,11 +99,14 @@ AM_ENABLE_SHARED ...@@ -99,11 +99,14 @@ AM_ENABLE_SHARED
dnl General "enable" options dnl General "enable" options
# validate options # validate options
if test $ol_enable_referrals = no ; then if test $ol_enable_dns = yes ; then
if test $ol_enable_dns = yes ; then if test $ol_enable_referrals = no ; then
AC_MSG_WARN([dns disabled, ignoring --enable-dns argument]) AC_MSG_ERROR([DNS requires --enable-referrals])
fi
if test $ol_enable_referrals = auto ; then
AC_MSG_WARN([DNS requires referrals, adding --enable-referrals])
ol_enable_referrals=yes
fi fi
ol_enable_dns=no
fi fi
if test $ol_enable_slapd = no ; then if test $ol_enable_slapd = no ; then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment