autoconf
[Top][All Lists]
Advanced

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

Re: # or dnl for comments?


From: Ben Pfaff
Subject: Re: # or dnl for comments?
Date: Tue, 11 Aug 2009 09:01:43 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Josef Vukovic <address@hidden> 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 <address@hidden>





reply via email to

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