summaryrefslogtreecommitdiff
path: root/modules/session
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2011-10-29 17:12:32 +0000
committerGuenter Knauf <fuankg@apache.org>2011-10-29 17:12:32 +0000
commitaeedd021c70ed5dc174e2dc9731211d07b09cc6a (patch)
tree24ef0d6b964980f82ef7956c2b54155e219b234b /modules/session
parentaae60cdbd804ad0007d6074b4c488d4e1ef83ed9 (diff)
downloadhttpd-aeedd021c70ed5dc174e2dc9731211d07b09cc6a.tar.gz
Fixed NetWare build check for APU_HAVE_CRYPTO.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1194935 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/session')
-rw-r--r--modules/session/NWGNUmakefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/session/NWGNUmakefile b/modules/session/NWGNUmakefile
index bdaf1b7b08..8adaac59f9 100644
--- a/modules/session/NWGNUmakefile
+++ b/modules/session/NWGNUmakefile
@@ -18,6 +18,9 @@ include $(AP_WORK)/build/NWGNUhead.inc
#
# Make sure all needed macro's are defined
#
+ifneq ($(MAKECMDGOALS),clean)
+APU_HAVE_CRYPTO = $(shell $(AWK) '/^\#define APU_HAVE_CRYPTO/{print $$3}' $(APRUTIL)/include/apu.h)
+endif
#
# These directories will be at the beginning of the include list, followed by
@@ -158,8 +161,7 @@ TARGET_nlm = \
$(EOLIST)
# If the APU library has cryptp API then build the mod_session_crypto module
-AWKCMD = $(AWK) '/^\#define APU_HAVE_CRYPTO/{print $$3}' $(APRUTIL)/include/apu.h
-ifeq "$(shell $(AWKCMD))" "1"
+ifeq "$(APU_HAVE_CRYPTO)" "1"
TARGET_nlm += $(OBJDIR)/session_crypto.nlm
endif