automake-patches
[Top][All Lists]
Advanced

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

FYI: Don't print aclocal.m4's name in aclocal.m4.


From: Alexandre Duret-Lutz
Subject: FYI: Don't print aclocal.m4's name in aclocal.m4.
Date: 29 Jul 2002 18:56:42 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

I'm checking this in.

2002-07-29  Alexandre Duret-Lutz  <address@hidden>

        * aclocal.in (write_aclocal): Don't write the filename ($output_file)
        in the aclocal.m4 header.

Index: aclocal.in
===================================================================
RCS file: /cvs/automake/automake/aclocal.in,v
retrieving revision 1.70
diff -u -r1.70 aclocal.in
--- aclocal.in  19 Jul 2002 20:17:58 -0000      1.70
+++ aclocal.in  29 Jul 2002 16:54:54 -0000
@@ -406,8 +406,15 @@
     print STDERR "aclocal: writing $output_file\n" if $verbose;
 
     my $out = new Automake::XFile "> $output_file";
+
+# We used to print `# $output_file generated automatically etc.'  But
+# this creates spurious differences when using autoreconf.  Autoreconf
+# creates aclocal.m4t and then rename it to aclocal.m4, but the
+# rebuild rules generated by Automake create aclocal.m4 directly --
+# this would gives two ways to get the same file, with a different
+# name in the header.
     print $out
-"# $output_file generated automatically by aclocal $VERSION -*- Autoconf -*-
+"# generated automatically by aclocal $VERSION -*- Autoconf -*-
 
 # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
 # Free Software Foundation, Inc.
Index: aclocal.m4
===================================================================
RCS file: /cvs/automake/automake/aclocal.m4,v
retrieving revision 1.89
diff -u -r1.89 aclocal.m4
--- aclocal.m4  29 Jul 2002 16:41:25 -0000      1.89
+++ aclocal.m4  29 Jul 2002 16:54:57 -0000
@@ -1,4 +1,4 @@
-# aclocal.m4 generated automatically by aclocal 1.6c -*- Autoconf -*-
+# generated automatically by aclocal 1.6c -*- Autoconf -*-
 
 # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
 # Free Software Foundation, Inc.

-- 
Alexandre Duret-Lutz




reply via email to

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