This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: autoconf 2.50 fixes - gcc subdirectory only


On Sat, May 26, 2001 at 02:15:49AM -0300, Alexandre Oliva wrote:
> On May 26, 2001, "Zack Weinberg" <zackw@Stanford.EDU> wrote:
> 
> > I'm open to suggestions.  There is a regular expression in $4 and a
> > glob in $5, so using [] quotes is kind of risky...
> 
> I don't see why this would make any difference.  It's the caller that
> should quote such arguments properly.  Doing it in the macro itself
> will just lead to confusion later on, if part of the macro is factored
> out into other macros, for example.

I freely admit to not really understanding M4 quote rules unless I
spend an hour or so getting in tune with one specific example, and it
doesn't seem to generalize.  I have had bad luck with arguments which
are not quoted *both* in the macro, and in the macro's caller.  Dunno
if this is one of those places.

-- 
zw    The phrase causes storage to be reserved, doesn't mean that it causes
      storage to be reserved.  This is a fundamental misunderstanding of
      Standardese.
      	-- Mike Stump


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]