From: Akim Demaille Date: Wed, 25 Jun 2003 13:38:54 +0000 (+0000) Subject: * lib/Makefile.am (autom4te.cfg): Make it read only. X-Git-Tag: AUTOCONF-2.57b~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2978241cd882bfe524e3c6802a016906382e1110;p=thirdparty%2Fautoconf.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 638abd73..b83a184a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2003-06-25 Akim Demaille + + * 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 * doc/autoconf.texi (Header Portability): sys/mount.h. diff --git a/lib/Makefile.am b/lib/Makefile.am index ef3bc384..68630529 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -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 diff --git a/lib/Makefile.in b/lib/Makefile.in index 99520c92..1dac0229 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -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. diff --git a/lib/autom4te.in b/lib/autom4te.in index 83812ac8..2e9f3631 100644 --- a/lib/autom4te.in +++ b/lib/autom4te.in @@ -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"