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 37bc7be..ab1d901 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 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
        compilers.
        Reported by Ralf Wildenhues.
index a8fce10..da57402 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