From f1d89b5222cffe8ddb5de0952c8b13f5a6be3c53 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 13 Oct 2012 12:51:59 -0400 Subject: Don't rely on POSIX-conformant comment parsing. POSIX.1-2008 specifies that comments in makefile syntax start with a "#" and continue "until an **unescaped** is reached" (empahsis added). FreeBSD's pmake apparently ignores the backslash before the newline in comments and prints a "Need an operator" error message while parsing a generated src/Makefile: $ make Making executable files... "Makefile", line 49: Need an operator make: fatal errors encountered -- cannot continue NetBSD's pmake on the other hand appears to be POSIX-conformant in this regard. See also: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html#tag_20_76_13_01 https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Backslash_002dNewline-Comments.html --- (limited to 'COPYING') -- cgit v0.9.1