Module libconfix.core.automake.backslash
BACKSLASH_MITIGATOR: we wrap long lines with backslashes, so
that various tools are happy. for example, config.status scans
Makefile.in using grep. on several Unices (AIX, HP-UX I seem to
remember), grep does not accept lines of inifinite length.
certain make macros - AM_CPPFLAGS for example - end up being
long lists of items most of which are autoconf @blah@
substitutions, some of which end up being substituted with the
empty string. if such an empty substitution is on a single line
at the end of such a long list, the previous line contains a
trailing backslash, followed by an empty line. some make
implementations (HP-UX, again) handle this kind of consciousless
and scan through until they find something meaningful, which
they then consider part of th list. argh.
however, the solution is to terminate every list with a macro
that expands to nothing, just to make bogus make's scan
algorithm happy.
BACKSLASH_MITIGATOR
-
- Type:
-
str
- Value:
'$(CONFIX_BACKSLASH_MITIGATOR)'
|
|