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

modules/session/NWGNUmakefile

index a2bda93e288f890435bd02c2bf82896db5f67272..bdaf1b7b08496ef8913ae5a40cea17ccf7d6cf8f 100644 (file)
@@ -158,7 +158,8 @@ TARGET_nlm = \
        $(EOLIST)
 
 # If the APU library has cryptp API then build the mod_session_crypto module
-ifdef APU_HAVE_CRYPTO
+AWKCMD = $(AWK) '/^\#define APU_HAVE_CRYPTO/{print $$3}' $(APRUTIL)/include/apu.h
+ifeq "$(shell $(AWKCMD))" "1"
 TARGET_nlm += $(OBJDIR)/session_crypto.nlm
 endif