autoconf-patches
[Top][All Lists]
Advanced

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

Re: FYI: local.at


From: Akim Demaille
Subject: Re: FYI: local.at
Date: Wed, 25 Jun 2003 15:40:30 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

 > Hi,
 > Akim Demaille <address@hidden> writes:

 >> * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice.
 >> * lib/autom4te.cfg (args): Add local.at? for Autotest args.
 >         ^^^^^^^^^^^^^^^^^^^^^^^^^

 > You need to update lib/autom4te.in, I guess.  This change isn't
 > visible in the attached patch.

=)  Thanks a lot!  How stupid that was...  I also applied an old patch
from Paolo.

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * lib/Makefile.am (autom4te.cfg): Make it read only.
        Depend on Makefile since it contains substitutions.
        From Paolo Bonzini.
        * lib/autom4te.in (args): Add local.at? for Autotest args.
        This change was made on autom4te.cfg which is generated.
        Reported by Raja R. Harinath.

Index: lib/Makefile.am
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/Makefile.am,v
retrieving revision 1.7
diff -u -u -r1.7 Makefile.am
--- lib/Makefile.am 5 Feb 2002 08:24:06 -0000 1.7
+++ lib/Makefile.am 25 Jun 2003 13:37:13 -0000
@@ -35,11 +35,12 @@
        -e 's,@VERSION\@,$(VERSION),g' \
        -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g'
 
-# All the files below depend on configure.ac so that they are rebuilt
-# when the Autoconf version changes. Unfortunately, suffix rules
+# All the files below depend on Makefile so that they are rebuilt
+# when the prefix, etc. changes. Unfortunately, suffix rules
 # cannot have additional dependencies, so we have to use explicit rules.
 CLEANFILES = autom4te.cfg
-autom4te.cfg: $(top_srcdir)/configure.ac $(srcdir)/autom4te.in
+autom4te.cfg: $(srcdir)/autom4te.in Makefile
        rm -f autom4te.cfg autom4te.tmp
        $(edit) $(srcdir)/autom4te.in >autom4te.tmp
+       chmod -w autom4te.tmp
        mv autom4te.tmp autom4te.cfg
Index: lib/Makefile.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/Makefile.in,v
retrieving revision 1.31
diff -u -u -r1.31 Makefile.in
--- lib/Makefile.in 23 Jun 2003 08:39:10 -0000 1.31
+++ lib/Makefile.in 25 Jun 2003 13:37:13 -0000
@@ -132,8 +132,8 @@
        -e 's,@PACKAGE_NAME\@,$(PACKAGE_NAME),g'
 
 
-# All the files below depend on configure.ac so that they are rebuilt
-# when the Autoconf version changes. Unfortunately, suffix rules
+# All the files below depend on Makefile so that they are rebuilt
+# when the prefix, etc. changes. Unfortunately, suffix rules
 # cannot have additional dependencies, so we have to use explicit rules.
 CLEANFILES = autom4te.cfg
 all: all-recursive
@@ -442,9 +442,10 @@
        uninstall-info-recursive uninstall-nodist_pkgdataDATA \
        uninstall-recursive
 
-autom4te.cfg: $(top_srcdir)/configure.ac $(srcdir)/autom4te.in
+autom4te.cfg: $(srcdir)/autom4te.in Makefile
        rm -f autom4te.cfg autom4te.tmp
        $(edit) $(srcdir)/autom4te.in >autom4te.tmp
+       chmod -w autom4te.tmp
        mv autom4te.tmp autom4te.cfg
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
Index: lib/autom4te.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autom4te.in,v
retrieving revision 1.17
diff -u -u -r1.17 autom4te.in
--- lib/autom4te.in 29 Oct 2002 08:07:29 -0000 1.17
+++ lib/autom4te.in 25 Jun 2003 13:37:13 -0000
@@ -1,6 +1,6 @@
 # Definition of Autom4te option sets.                     -*- Makefile -*-
 #
-# Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
 #
 # This file is part of GNU Autoconf.
 #
@@ -183,6 +183,7 @@
 args: --prepend-include @datadir@
 args: autotest/autotest.m4f
 args: package.m4?
+args: local.at?
 args: --mode 777
 args: --language M4sh
 end-language: "Autotest"




reply via email to

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