Re: AC_PATH_PROG or m4 bug

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

 



Hello Roman,

* Roman Rybalko wrote on Tue, Aug 28, 2007 at 09:14:28AM CEST:
> 
> > Always quote nested macro invocations.
> >   
> >> 2) [CHECK_KRB(5)] instead of CHECK_KRB(5) (in all cases)
> >
> > That's the only part that needs to be fixed.
> >   
> OK.
> But without quoting it works in most cases. AFAIN, m4 do not require this.

M4 advises you to do it:
<http://www.gnu.org/software/m4/manual/html_node/Quoting-Arguments.html>

and Autoconf does so as well in the general case:
<http://www.gnu.org/software/autoconf/manual/html_node/M4-Quotation.html>
(there are a few backward compatibility exceptions, and a couple more
for technical reasons.)

So please do it consistently.  If you get away without quoting for now,
but it breaks with the next Autoconf release, you get to keep the
pieces.

> The bug appears only in above mentioned example.

It's not a bug in Autoconf, only a bug in your macro code.

Hope that helps.

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux