autoconf
[Top][All Lists]
Advanced

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

Re: m4_pattern_forbid matches itself


From: Raja R Harinath
Subject: Re: m4_pattern_forbid matches itself
Date: Tue, 22 Jul 2003 23:49:32 -0500
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Hi,

Phil Edwards <address@hidden> writes:

> Two problems with m4_pattern_forbid (or rather, with my understanding of
> how it's meant to be used) follow:
>
> Uses of $target_alias keep sneaking back into libstdc++'s configury, which
> is generally a Very Bad Thing for a GCC target library.  So I thought I'd
> play with m4_pattern_forbid to try and prevent mistakes before they happen.
>
> This
>
>     m4_pattern_forbid([target_alias],[informative message goes here])
>
> triggers
>
>     configure.in:44: error: target alias is not what you think it is
>         If this token and others are legitimate, please use m4_pattern_allow.
>         See the Autoconf documentation.

Try

  m4_pattern_forbid([target][_alias],...)

to break up any literal grepping of the file.  I don't know if it'll
work, but it's worth a try.

- Hari
-- 
Raja R Harinath ------------------------------ address@hidden




reply via email to

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