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])
if test $ol_enable_referrals = auto ; then
AC_MSG_WARN([DNS requires referrals, adding --enable-referrals])
fi fi
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