From: Bradley Nicholes Date: Fri, 2 Jul 2004 18:58:28 +0000 (+0000) Subject: Allow mod_deflate on NetWare to be compiled against zlib 1.2.1 X-Git-Tag: STRIKER_2_0_51_RC1^2~165 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a744b8223a86be373bdde3d70242bcd86949f96;p=thirdparty%2Fapache%2Fhttpd.git Allow mod_deflate on NetWare to be compiled against zlib 1.2.1 Submitted by: Guenter Knauf git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@104141 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/NWGNUdeflate b/modules/filters/NWGNUdeflate index 2ec80c7a45c..058169d1771 100644 --- a/modules/filters/NWGNUdeflate +++ b/modules/filters/NWGNUdeflate @@ -39,7 +39,6 @@ XINCDIRS += \ # These flags will come after CFLAGS # XCFLAGS += \ - -prefix pre_nw.h \ $(EOLIST) # @@ -181,15 +180,20 @@ FILES_nlm_objs = \ $(OBJDIR)/crc32.o \ $(OBJDIR)/deflate.o \ $(OBJDIR)/inflate.o \ - $(OBJDIR)/infblock.o \ - $(OBJDIR)/infcodes.o \ $(OBJDIR)/inffast.o \ $(OBJDIR)/inftrees.o \ - $(OBJDIR)/infutil.o \ $(OBJDIR)/trees.o \ $(OBJDIR)/zutil.o \ $(EOLIST) +ifeq "$(wildcard $(ZLIBSDK)/infblock.c)" "$(ZLIBSDK)/infblock.c" +FILES_nlm_objs += \ + $(OBJDIR)/infblock.o \ + $(OBJDIR)/infcodes.o \ + $(OBJDIR)/infutil.o \ + $(EOLIST) +endif + # # These are the LIB files needed to create the NLM target above. # These will be added as a library command in the link.opt file. @@ -264,11 +268,7 @@ install :: nlms FORCE # Any specialized rules here # -ifneq "$(ZLIBSDK)" "" -$(OBJDIR)/%.o: $(ZLIBSDK)/%.c $(OBJDIR)\$(NLM_NAME)_cc.opt - @echo Compiling $< - $(CC) $(ZLIBSDK)\$(