From aeedd021c70ed5dc174e2dc9731211d07b09cc6a Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Sat, 29 Oct 2011 17:12:32 +0000 Subject: [PATCH] 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 --- modules/session/NWGNUmakefile | 6 ++++-- 1 file 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 -- 2.40.0