Recommend to set -D options in CPPFLAGS, not CFLAGS.
authorBruno Haible <bruno@clisp.org>
Fri, 2 Mar 2007 01:53:11 +0000 (01:53 +0000)
committerBruno Haible <bruno@clisp.org>
Fri, 2 Mar 2007 01:53:11 +0000 (01:53 +0000)
ChangeLog
doc/relocatable-maint.texi

index 37bc7bee668a7f9187978f9e9accff478104f668..ab1d9012deb65be5fda945ecd8da920981532789 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-03-01  Bruno Haible  <bruno@clisp.org>
+
+       * doc/relocatable-maint.texi: Recommend to set foo_CPPFLAGS, not
+       foo_CFLAGS.
+       Reported by Ralf Wildenhues.
+
 2007-03-01  Bruno Haible  <bruno@clisp.org>
 
        * build-aux/install-reloc: Remove object files left over by some
index a8fce10cedfefed2431c6dd31bee5006ace40c88..da57402a4b4b9601fc981407cabc0c51dffa0cef 100644 (file)
@@ -116,7 +116,7 @@ In your @file{Makefile.am}, for every program @command{foo} that gets
 installed in, say, @file{$(bindir)}, you add:
 
 @example
-foo_CFLAGS = -DINSTALLDIR=\"$(bindir)\"
+foo_CPPFLAGS = -DINSTALLDIR=\"$(bindir)\"
 if RELOCATABLE_VIA_LD
 foo_LDFLAGS = `$(RELOCATABLE_LDFLAGS) $(bindir)`
 endif