(backport r1374199)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1374202 13f79535-47bb-0310-9956-
ffa450edef68
ifeq "$(wildcard $(APRUTIL)/include/apr_ldap.h)" "$(APRUTIL)/include/apr_ldap.h"
WITH_LDAP = $(shell $(AWK) '/^\#define APR_HAS_LDAP /{print $$3}' $(APRUTIL)/include/apr_ldap.h)
else
+ifeq "$(MAKECMDGOALS)" "clean"
+WITH_LDAP = 1
+else
WITH_LDAP = 0
endif
+endif
# If USE_STDSOCKETS is defined we allways build mod_ssl
ifdef USE_STDSOCKETS