From: Akim Demaille Date: Sat, 14 Jul 2001 16:15:38 +0000 (+0000) Subject: * doc/autoconf.texi (Limitations of Make): Macro names and underscore. X-Git-Tag: AUTOCONF-2.50c~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9994cd2e63187d367c8f813528603d64d9c95432;p=thirdparty%2Fautoconf.git * doc/autoconf.texi (Limitations of Make): Macro names and underscore. --- diff --git a/ChangeLog b/ChangeLog index f9630975b..af91151c9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-07-14 Akim Demaille + + * doc/autoconf.texi (Limitations of Make): Macro names and underscore. + 2001-07-14 Akim Demaille * config/config.guess, config/config.sub, config/texinfo.tex diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 8c60d00d3..050c45404 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -8748,6 +8748,28 @@ being listed here. First of all, remember that since commands are executed by the shell, all its weaknesses are inherited@dots{} @table @asis +@item Leading underscore in macro names +Some Make don't support leading underscores in macro names, such as on +NEWS-OS 4.2R. + +@example +$ cat Makefile +_am_include = # +_am_quote = +all:; @@echo this is test + +% make +Make: Must be a separator on rules line 2. Stop. + +$ cat Makefile2 +am_include = # +am_quote = +all:; @@echo this is test + +$ make -f Makefile2 +this is test +@end example + @item @code{VPATH} @cindex @code{VPATH} Don't use it! For instance any assignment to @code{VPATH} causes Sun