summaryrefslogtreecommitdiffstats
path: root/modules/NWGNUmakefile
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2012-08-17 13:31:44 +0200
committerGuenter Knauf <fuankg@apache.org>2012-08-17 13:31:44 +0200
commitade526518db5842dceeb50ce947e78da0f23a840 (patch)
tree9797bc914d279068989d8f8075f01b350f696a16 /modules/NWGNUmakefile
parentmod_lua: Allow scripts handled by the lua-script handler to set a return (diff)
downloadapache2-ade526518db5842dceeb50ce947e78da0f23a840.tar.xz
apache2-ade526518db5842dceeb50ce947e78da0f23a840.zip
Make sure that we clean up the ldap module folder.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1374199 13f79535-47bb-0310-9956-ffa450edef68
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 0e87b42b2a..56ba7abcc1 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