httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1194935 - /httpd/httpd/trunk/modules/session/NWGNUmakefile
Date Sat, 29 Oct 2011 17:12:33 GMT
Author: fuankg
Date: Sat Oct 29 17:12:32 2011
New Revision: 1194935

URL: http://svn.apache.org/viewvc?rev=1194935&view=rev
Log:
Fixed NetWare build check for APU_HAVE_CRYPTO.

Modified:
    httpd/httpd/trunk/modules/session/NWGNUmakefile

Modified: httpd/httpd/trunk/modules/session/NWGNUmakefile
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/session/NWGNUmakefile?rev=1194935&r1=1194934&r2=1194935&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/session/NWGNUmakefile (original)
+++ httpd/httpd/trunk/modules/session/NWGNUmakefile Sat Oct 29 17:12:32 2011
@@ -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
 



Mime
View raw message