From c98b4b9958e6847d97396c3d3259015e1929f6b9 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 4 Apr 2003 00:00:47 +0000 Subject: Abort configure if --with-ads and --without-ldap. (This used to be commit 3ac60d2ceb1495a5ee691810678d29dea2667a7a) --- source3/configure.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3') 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 -- cgit