automake-patches
[Top][All Lists]
Advanced

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

Re: automatic update Makefile.am -> Makefile.in -> Makefile no longer wo


From: Paul Eggert
Subject: Re: automatic update Makefile.am -> Makefile.in -> Makefile no longer working
Date: Wed, 20 Jun 2007 22:36:11 -0700
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Bruno Haible <address@hidden> writes:

> Are we now supposed to edit Makefile.in by hand each time we modify
> Makefile.am?

I hope not.  How about the following (untested) Automake patch?

2007-06-20  Paul Eggert  <address@hidden>

        * aclocal.in (write_aclocal): Warn about autoconf
        incompatibilities instead of making them fatal.
        Problem reported by Bruno Haible in
        <http://lists.gnu.org/archive/html/bug-automake/2007-06/msg00010.html>.

Index: aclocal.in
===================================================================
RCS file: /cvs/automake/automake/aclocal.in,v
retrieving revision 1.140
diff -p -u -r1.140 aclocal.in
--- aclocal.in  14 Oct 2006 17:40:25 -0000      1.140
+++ aclocal.in  21 Jun 2007 05:32:18 -0000
@@ -783,9 +783,9 @@ sub write_aclocal ($@)
       # use it in the header below.  autom4te will output the name of
       # the file in the diagnostic anyway.
       $output = "m4_if(m4_PACKAGE_VERSION, [$ac_version],,
-[m4_fatal([this file was generated for autoconf $ac_version.
-You have another version of autoconf.  If you want to use that,
-you should regenerate the build system entirely.], [63])])
+[m4_warning([this file was generated for autoconf $ac_version.
+You have another version of autoconf.  It may work, but it may not.
+If you have problems, you may need to regenerate the build system entirely.])])
 
 $output";
     }




reply via email to

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