[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_DEFINE_UNQUOTED doc update
From: |
Ralf Wildenhues |
Subject: |
Re: AC_DEFINE_UNQUOTED doc update |
Date: |
Mon, 2 May 2005 10:23:37 +0200 |
User-agent: |
Mutt/1.4.1i |
* Paul Eggert wrote on Fri, Apr 29, 2005 at 09:26:53PM CEST:
> Ralf Wildenhues <address@hidden> writes:
>
> > the documentation should also mention the need for double-m4-quoted
> > second argument in order to achieve this.
>
> Sorry, I don't understand this point. For example:
>
> > -AC_DEFINE_UNQUOTED(GETGROUPS_T, $ac_cv_type_getgroups,
> > +AC_DEFINE_UNQUOTED(GETGROUPS_T, [$ac_cv_type_getgroups],
>
> The added quotes here don't change the meaning, since
> ac_cv_type_getgroups is not a macro. And if ac_cv_type_getgroups were
> a macro and you didn't want it invoked (ouch!), you'd need
> double-quotes.
My point was bogus, as Stepan rightly explained to me.
> > The text does not specify exactly what `simple text' in m4 context
> > is, and I just don't understand the reason against telling users to
> > quote every argument at least once.
>
> Thanks for mentioning that. I installed the following to try to
> help clarify things.
Thank you for the doc update (and also for taking my AT_KEYWORDS
patch!).
Regards,
Ralf
> 2005-04-29 Paul Eggert <address@hidden>
>
> * doc/autoconf.texi (Autoconf Language): Add more description
> about quoting heuristics.