Abort configure if --with-ads and --without-ldap.
authorTim Potter <tpot@samba.org>
Fri, 4 Apr 2003 00:00:47 +0000 (00:00 +0000)
committerTim Potter <tpot@samba.org>
Fri, 4 Apr 2003 00:00:47 +0000 (00:00 +0000)
(This used to be commit 3ac60d2ceb1495a5ee691810678d29dea2667a7a)

source3/configure.in

index 5d880caef37fd2eda6ca87d8bc76b23007194e8e..87626db666ada7c80f789e338f2bab17e2a85a48 100644 (file)
@@ -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