1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00

Abort configure if --with-ads and --without-ldap.

This commit is contained in:
Tim Potter 0001-01-01 00:00:00 +00:00
parent c38bdb2aa0
commit 3ac60d2ceb

View File

@ -2288,6 +2288,11 @@ LIBS=""
LDAP_LIBS="$LIBS"; LDAP_LIBS="$LIBS";
LIBS="$ac_save_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 fi
if test x"$with_ads_support" = x"yes"; then if test x"$with_ads_support" = x"yes"; then