In autotools, what is dnl'ed?

I see a lot in autoconf code about what's happening, not dnl'ed. What is dnl'ed?

+3
source share
2 answers

from GNU M4 1.4.13 macro processor :

8.1 Removing spaces in input files

Built-in dnlmeans "Undo the following line":

- Built-in: dnl

All characters, up to the next new line, are discarded without performing a macro exchange. A warning is issued if the end of the file occurs without a new line.

     

Decomposition is dnlnot valid.

define, , define. ,

   define(`foo', `Macro `foo'.')dnl A very simple macro, indeed.
   foo
   ⇒Macro foo.

, (. Comments).

[...]

+7

IIRC, dnl - do-next-line. . M4.

dnl preprocessor will eat this
but not this dnl though this

but not this

(, ).

+2

Source: https://habr.com/ru/post/1721221/


All Articles