autoconf
[Top][All Lists]
Advanced

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

Re: m4_pattern_forbid matches itself


From: Phil Edwards
Subject: Re: m4_pattern_forbid matches itself
Date: Thu, 24 Jul 2003 16:30:38 -0400
User-agent: Mutt/1.5.3i

On Thu, Jul 24, 2003 at 03:03:36PM -0500, Raja R Harinath wrote:
> Phil Edwards <address@hidden> writes:
> >
> > Where is this code?  On my system, /usr/bin/m4 is a binary, not a perl
> > script.  :-)  I've been trying to dig to learn more, but haven't yet
> > retrieved the m4 source.
> 
> In $bindir/autom4te.  Somewhat misleadingly, 'm4_pattern_forbid'
> isn't part of 'm4', but from the 'm4sugar' library that's part of
> 'autoconf'.

Thanks!  I've been looking through /usr/share/autoconf/* but hadn't thought
of autom4te.


> >     m4_pattern_forbid([\${?target_alias\>],
> >                       [target alias is not what you think it is])
> 
> I don't know if that'll work, since the \W split will probably
> swallow the ${.

Yep... crap.  I have a sinking feeling that I'll have to do the checking
for bad patterns without autoconf's help.  Probably a script called by
the cvs server on checkin or something.


Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams




reply via email to

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