summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-04-04 00:00:47 +0000
committerTim Potter <tpot@samba.org>2003-04-04 00:00:47 +0000
commitc98b4b9958e6847d97396c3d3259015e1929f6b9 (patch)
tree709ab75215e0768fded3fec455f7376a3fdbf56a
parent754d895cea006ac4f06676d5c03e71576759bf7a (diff)
downloadsamba-c98b4b9958e6847d97396c3d3259015e1929f6b9.tar.gz
samba-c98b4b9958e6847d97396c3d3259015e1929f6b9.tar.bz2
samba-c98b4b9958e6847d97396c3d3259015e1929f6b9.zip
Abort configure if --with-ads and --without-ldap.
(This used to be commit 3ac60d2ceb1495a5ee691810678d29dea2667a7a)
-rw-r--r--source3/configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 5d880caef3..87626db666 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2288,6 +2288,11 @@ LIBS=""
LDAP_LIBS="$LIBS";
LIBS="$ac_save_LIBS";
+else
+ # Can't have ADS support without LDAP
+ if test x"$with_ads_support" = x"yes"; then
+ AC_MSG_ERROR(Active directory support requires LDAP)
+ fi
fi
if test x"$with_ads_support" = x"yes"; then