Skip to content

Commit ac04403

Browse files
author
Guenter Knauf
committed
Fixed NetWare mod_serf build.
Submitted by: normw gknw net git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1332878 13f79535-47bb-0310-9956-ffa450edef68
1 parent 6dde645 commit ac04403

2 files changed

Lines changed: 26 additions & 3 deletions

File tree

modules/proxy/NWGNUmakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ TARGET_nlm = \
167167
$(OBJDIR)/proxylbm_traf.nlm \
168168
$(EOLIST)
169169

170-
# If WITH_MOD_SERF and SERFSRC have been defined then build the mod_serf module
171-
ifdef WITH_MOD_SERF
170+
# If WITH_SERF and SERFSRC have been defined then build the mod_serf module
171+
ifdef WITH_SERF
172172
ifneq "$(SERFSRC)" ""
173173
ifneq "$(ZLIBSDK)" ""
174174
TARGET_nlm += \

modules/proxy/NWGNUserf

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ V_PATH = \
2020
$(SERFSRC)/buckets \
2121
$(ZLIBSDK) \
2222
$(EOLIST)
23+
24+
ifeq "$(wildcard $(SERFSRC)/incoming.c)" "$(SERFSRC)/incoming.c"
25+
V_PATH += \
26+
$(SERFSRC)/auth \
27+
$(EOLIST)
28+
endif
29+
2330
#
2431
# These directories will be at the beginning of the include list, followed by
2532
# INCDIRS
@@ -197,14 +204,30 @@ FILES_nlm_objs += \
197204
$(OBJDIR)/file_buckets.o \
198205
$(OBJDIR)/headers_buckets.o \
199206
$(OBJDIR)/limit_buckets.o \
200-
$(OBJDIR)/mmap_buckets.o \
201207
$(OBJDIR)/request_buckets.o \
202208
$(OBJDIR)/response_buckets.o \
203209
$(OBJDIR)/simple_buckets.o \
204210
$(OBJDIR)/socket_buckets.o \
205211
$(OBJDIR)/ssl_buckets.o \
206212
$(EOLIST)
207213

214+
ifeq "$(wildcard $(SERFSRC)/incoming.c)" "$(SERFSRC)/incoming.c"
215+
ifeq "$(wildcard $(SERFSRC)/buckets/iovec_buckets.c)" "$(SERFSRC)/buckets/iovec_buckets.c"
216+
FILES_nlm_objs += \
217+
$(OBJDIR)/auth.o \
218+
$(OBJDIR)/auth_basic.o \
219+
$(OBJDIR)/auth_digest.o \
220+
$(OBJDIR)/bwtp_buckets.o \
221+
$(OBJDIR)/incoming.o \
222+
$(OBJDIR)/iovec_buckets.o \
223+
$(OBJDIR)/outgoing.o \
224+
$(OBJDIR)/ssltunnel.o \
225+
$(EOLIST)
226+
else
227+
$(error This libserf version is broken for NetWare platform!)
228+
endif
229+
endif
230+
208231
# Build zlib from source
209232
FILES_nlm_objs += \
210233
$(OBJDIR)/adler32.o \

0 commit comments

Comments
 (0)