[prev in list] [next in list] [prev in thread] [next in thread]
List: autoconf-bug
Subject: Re: configure oddity
From: Eric Blake <eblake () redhat ! com>
Date: 2011-02-26 14:02:25
Message-ID: 4D6907F1.1060001 () redhat ! com
[Download RAW message or body]
On 02/26/2011 05:07 AM, Ralf Wildenhues wrote:
> How about this patch to diagnose such issues early (test case taken from
> gnulib)? This way you get an error if you run autoconf, aclocal, or
> automake, anywhere in GCC, and the underlying M4 has the problem.
I like the concept, although I can make it shorter.
Autoconf's m4/m4.m4 needs a similar test.
> 2011-02-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
>
> * override.m4: Error out if a buggy M4 was detected, to
> avoid spurious diffs in generated files.
>
> diff --git a/config/override.m4 b/config/override.m4
> index fc2d527..9536009 100644
> --- a/config/override.m4
> +++ b/config/override.m4
> @@ -48,6 +48,15 @@ _GCC_AUTOCONF_VERSION_CHECK
> ])
>
>
> +dnl Ensure we do not use a buggy M4.
m4_if(m4_index([..wi.d.], [.d.]), [-1],
[m4_fatal(...
--
Eric Blake eblake@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic