From: Bradley Nicholes Date: Thu, 8 Apr 2004 20:05:45 +0000 (+0000) Subject: Add the XDC data to enable multi-process support when MULTIPROC is defined X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0958af3955dd2bc7acd983ebe809777f2b603cea;p=thirdparty%2Fapache%2Fhttpd.git Add the XDC data to enable multi-process support when MULTIPROC is defined git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@103303 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/NWGNUtail.inc b/NWGNUtail.inc index a77b7d777a0..421e990a0f2 100644 --- a/NWGNUtail.inc +++ b/NWGNUtail.inc @@ -263,7 +263,7 @@ ifneq "$(FILES_nlm_exports)" "" @echo Export $(foreach export,$(subst $(SPACE),$(COMMA),$(strip $(FILES_nlm_exports))),$(subst /,\,$(export))) >> $(OBJDIR)\$(NLM_NAME)_link.def endif ifneq "$(strip $(XLFLAGS))" "" - @echo $(XLFLAGS) >> $(OBJDIR)\$(NLM_NAME)_link.def + @echo $(strip $(XLFLAGS)) >> $(OBJDIR)\$(NLM_NAME)_link.def endif #ifndef XDCFOUND # @echo XDCData $(NWOS)\apache.xdc >> $(OBJDIR)\$(NLM_NAME)_link.def diff --git a/src/NWGNUmakefile.mak b/src/NWGNUmakefile.mak index 82e3baa5b0f..9128a88902a 100644 --- a/src/NWGNUmakefile.mak +++ b/src/NWGNUmakefile.mak @@ -37,9 +37,14 @@ XDEFINES += \ # These flags will be added to the link.opt file # XLFLAGS += \ - XDCData $(NWOS)\apache.xdc \ $(EOLIST) +ifdef MULTIPROC +XLFLAGS += \ + XDCData $(NWOS)\apache.xdc \ + $(EOLIST) +endif + # # These values will be appended to the correct variables based on the value of # RELEASE diff --git a/src/main/NWGNUmakefile.mak b/src/main/NWGNUmakefile.mak index ab3f5ef7c09..b7652445618 100644 --- a/src/main/NWGNUmakefile.mak +++ b/src/main/NWGNUmakefile.mak @@ -38,6 +38,12 @@ XDEFINES += \ XLFLAGS += \ $(EOLIST) +ifdef MULTIPROC +XLFLAGS += \ + XDCData $(NWOS)\apache.xdc \ + $(EOLIST) +endif + # # These values will be appended to the correct variables based on the value of # RELEASE