summaryrefslogtreecommitdiff
path: root/modules/NWGNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'modules/NWGNUmakefile')
-rw-r--r--modules/NWGNUmakefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/NWGNUmakefile b/modules/NWGNUmakefile
index b929d01a..0ec061ef 100644
--- a/modules/NWGNUmakefile
+++ b/modules/NWGNUmakefile
@@ -13,8 +13,12 @@ include $(AP_WORK)/build/NWGNUenvironment.inc
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