Pardon my 'oops'.
When mod_dav linked with the change below, I (rashly) assumed the fix worked, but after a nights sleep found the symbol export list was, in fact, empty, and an inspection of the .i file showed why - all the DAV_DECLARE() macros had also been removed by the pre-process. Will bumble about in the dark while I work out how this works for httpd.imp.
N.

On 1/09/2016 3:30 PM, NormW wrote:
Looking at mod_dav exporting symbols not in use for NetWare, I've
(shamelessly) borrowed the same pre-process method used for httpd.imp,
which results in the following diff:

Index: build/NWGNUmakefile
===================================================================
--- build/NWGNUmakefile    (revision 1758692)
+++ build/NWGNUmakefile    (working copy)
@@ -27,10 +27,14 @@

 libs :: chkapr $(NWOS)/chartables.c

-$(DAV)/main/dav.imp : make_nw_export.awk $(DAV)/main/mod_dav.h
+$(DAV)/main/dav.imp : make_nw_export.awk mod_dav.i
     @echo $(DL)GEN  $@$(DL)
     $(AWK) -v EXPPREFIX=AP$(VERSION_MAJMIN) -f $^ >$@

+mod_dav.i : $(DAV)/main/mod_dav.h cc.opt
+    @echo $(DL)GEN  $@$(DL)
+    $(CC) $< @cc.opt
+
 $(STDMOD)/cache/mod_cache.imp: make_nw_export.awk
$(STDMOD)/cache/mod_cache.h $(STDMOD)/cache/cache_util.h
     @echo $(DL)GEN  $@$(DL)
     $(AWK) -v EXPPREFIX=AP$(VERSION_MAJMIN) -f $^ >$@
@@ -127,6 +131,7 @@
     $(call DEL,$(DAV)/main/dav.imp)
     $(call DEL,$(NWOS)/httpd.imp)
     $(call DEL,nw_export.i)
+    $(call DEL,mod_dav.i)
     $(call DEL,cc.opt)
     $(call DEL,NWGNUversion.inc)
 ifneq "$(BUILDTOOL_AS_NLM)" "1"

I can't call it my idea, but if anyone knows of a better way around
this, would love to see it applied.


Reply via email to