Re: # or dnl for comments?

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

 



Josef Vukovic <josefvukovic@xxxxxxxxxxxxxx> writes:

> dnl (Discard to next line) is an m4 builtin while # isn't I guess, not sure.
> See also http://www.gnu.org/software/m4/manual/m4.html#Dnl section 8.1

The difference is that dnl causes text to be discarded, but #
causes text to be passed through to the output.  So you can use
one or the other depending on whether you think that the comment
is for the person reading "configure" or just "configure.ac".

# is actually the m4 comment character.  From the m4 manual:

    3.3 Comments in `m4' input
    ==========================

    Comments in `m4' are normally delimited by the characters `#' and
    newline.  All characters between the comment delimiters are ignored,
    but the entire comment (including the delimiters) is passed through to
    the output--comments are _not_ discarded by `m4'.

-- 
"While the Melissa license is a bit unclear, Melissa aggressively
 encourages free distribution of its source code."
--Kevin Dalley <kevin@xxxxxxxx>



_______________________________________________
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