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

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

 



Bruno Haible <bruno@xxxxxxxxx> 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  <eggert@xxxxxxxxxxx>

	* 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";
     }


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux