With recent changes in main.c, guile_gmake_setup is always called. That
requires guile.c to be always compiled and linked (without HAVE_GUILE
being defined there is a stub).

Attached is a patch for the makefiles for VMS (which are not generated
by autoconf).
diff --git a/makefile.com b/makefile.com
index 6359c47..3ee1302 100644
--- a/makefile.com
+++ b/makefile.com
@@ -66,7 +66,7 @@ $ if (p3.nes."WALL")
 $ then
 $   gosub check_cc_qual
 $ endif
-$ filelist = "alloca ar arscan commands default dir expand file function " + -
+$ filelist = "alloca ar arscan commands default dir expand file function guile 
" + -
              "hash implicit job load main misc read remake remote-stub rule " 
+ -
             "output signame variable version vmsfunctions vmsify vpath " + -
             "[.glob]glob [.glob]fnmatch getopt1 getopt strcache"
diff --git a/makefile.vms b/makefile.vms
index e5950b7..0d1e7d0 100644
--- a/makefile.vms
+++ b/makefile.vms
@@ -88,13 +88,11 @@ mandir = []
 # Number to put on the man page filename.
 manext = 1
 
-#guile = ,guile.obj
-
 objs = commands.obj,job.obj,output.obj,dir.obj,file.obj,misc.obj,hash.obj,\
        load.obj,main.obj,read.obj,remake.obj,rule.obj,implicit.obj,\
        default.obj,variable.obj,expand.obj,function.obj,strcache.obj,\
-       vpath.obj,version.obj\
-       $(ARCHIVES)$(ALLOCA)$(extras)$(getopt)$(glob)$(guile)
+       vpath.obj,version.obj,guile.obj\
+       $(ARCHIVES)$(ALLOCA)$(extras)$(getopt)$(glob)
 
 srcs = commands.c job.c output.c dir.c file.c misc.c guile.c hash.c \
        load.c main.c read.c remake.c rule.c implicit.c \
_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to