[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autoconf <-> CVS M4 interactions

From: Ralf Wildenhues
Subject: Re: Autoconf <-> CVS M4 interactions
Date: Sat, 17 Jun 2006 10:08:23 +0200
User-agent: Mutt/1.5.11+cvs20060403

* Ralf Wildenhues wrote on Fri, Jun 16, 2006 at 07:13:58PM CEST:
> [...] lib/m4sugar/m4sh.m4f has not been built at the time
> autoconf.as is built, so autom4te will prefer the installed (but old!)
> frozen m4sh.m4f.

FYI, I have installed the first patch as below, making it clearer that
this should be fixed cleanly later.


        * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te,
        in order to avoid picking up an older installed frozen m4sh.m4f.
        Besides an outdated shell startup, this could have been created
        by an earlier M4 version with incompatible frozen file format.

Index: bin/Makefile.am
RCS file: /cvsroot/autoconf/autoconf/bin/Makefile.am,v
retrieving revision 1.24
diff -u -r1.24 Makefile.am
--- bin/Makefile.am     24 May 2005 06:14:27 -0000      1.24
+++ bin/Makefile.am     17 Jun 2006 08:07:33 -0000
@@ -52,8 +52,11 @@
        -e 's|@address@hidden|Generated from address@hidden; do not edit by 
 # autoconf is written in M4sh.
+# FIXME: this target should depend on the frozen files below lib/m4sugar,
+# otherwise autom4te may pick up a frozen m4sh.m4f from an earlier
+# installation below the same $(prefix); work around this with --melt.
 autoconf.in: $(srcdir)/autoconf.as $(m4sh_m4f_dependencies)
-       $(MY_AUTOM4TE) --language M4sh --cache '' $(srcdir)/autoconf.as -o $@
+       $(MY_AUTOM4TE) --language M4sh --cache '' --melt $(srcdir)/autoconf.as 
-o $@
 ## All the scripts depend on Makefile so that they are rebuilt when the
 ## prefix etc. changes.  It took quite a while to have the rule correct,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]