From: Ralf Wildenhues Date: Sun, 11 Jul 2010 10:12:57 +0000 (+0200) Subject: manual: compiler flags -D and -L should not be followed by space X-Git-Tag: v2.67~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d847c5d01be5c4a702fcb0b4f5398c76949227e2;p=thirdparty%2Fautoconf.git manual: compiler flags -D and -L should not be followed by space * doc/autoconf.texi (Preset Output Variables): Remove space between -D and -L flags and their arguments, traditional cpp implementations like Solaris 10, IRIX 6.5, OSF Tru64 5.1D, AIX 5.3 do not accept it. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index f5c9b923e..30a9b3f72 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-07-19 Ralf Wildenhues + + manual: compiler flags -D and -L should not be followed by space + * doc/autoconf.texi (Preset Output Variables): Remove space + between -D and -L flags and their arguments, traditional cpp + implementations like Solaris 10, IRIX 6.5, OSF Tru64 5.1D, + AIX 5.3 do not accept it. + 2010-07-10 Ralf Wildenhues Fix comment typo in the manual. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index bd08174a1..4202108f9 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -2432,9 +2432,9 @@ when you call @code{AC_PROG_CC} (or empty if you don't). @command{configure} uses this variable when compiling or linking programs to test for C features. If a compiler option affects only the behavior of the preprocessor -(e.g., @option{-D @var{name}}), it should be put into @code{CPPFLAGS} -instead. If it affects only the linker (e.g., @option{-L -@var{directory}}), it should be put into @code{LDFLAGS} instead. If it +(e.g., @option{-D@var{name}}), it should be put into @code{CPPFLAGS} +instead. If it affects only the linker (e.g., @option{-L@var{directory}}), +it should be put into @code{LDFLAGS} instead. If it affects only the compiler proper, @code{CFLAGS} is the natural home for it. If an option affects multiple phases of the compiler, though, matters get tricky. One approach to put such options directly into