]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/Makefile.am (autom4te.cfg): Make it read only.
authorAkim Demaille <akim@epita.fr>
Wed, 25 Jun 2003 13:38:54 +0000 (13:38 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 25 Jun 2003 13:38:54 +0000 (13:38 +0000)
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.

ChangeLog
lib/Makefile.am
lib/Makefile.in
lib/autom4te.in

index 638abd7399e01ff4db5ee02e43bb005306b05b1f..b83a184a2aa19c43a0572c358b8a714af224ae3f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2003-06-25  Akim Demaille  <akim@epita.fr>
+
+       * 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.
+
 2003-06-25  Akim Demaille  <akim@epita.fr>
 
        * doc/autoconf.texi (Header Portability): sys/mount.h.
index ef3bc3846d3dcca19f927b5fb863d020653412f5..68630529a86a508f31e469d5ddd81c14cefd3ef6 100644 (file)
@@ -35,11 +35,12 @@ edit = sed \
        -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 99520c9206e31520faff98b2dfdfbd28311c6e4f..1dac02295f11b9d58f2920fe390d73d44bd3ce1a 100644 (file)
@@ -132,8 +132,8 @@ edit = sed \
        -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: uninstall-info-recursive
        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 83812ac8d54ee0ff23069fa67f1230dec463f687..2e9f3631831427bb9ae0859f82a271140af9846a 100644 (file)
@@ -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 @@ begin-language: "Autotest"
 args: --prepend-include @datadir@
 args: autotest/autotest.m4f
 args: package.m4?
+args: local.at?
 args: --mode 777
 args: --language M4sh
 end-language: "Autotest"