]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fixed NetWare build check for APU_HAVE_CRYPTO.
authorGuenter Knauf <fuankg@apache.org>
Sat, 29 Oct 2011 17:12:32 +0000 (17:12 +0000)
committerGuenter Knauf <fuankg@apache.org>
Sat, 29 Oct 2011 17:12:32 +0000 (17:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1194935 13f79535-47bb-0310-9956-ffa450edef68

modules/session/NWGNUmakefile

index bdaf1b7b08496ef8913ae5a40cea17ccf7d6cf8f..8adaac59f91e68af171e97f9963f1c0fbcde32d0 100644 (file)
@@ -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