Make CPPFLAGS variables, as well as CFLAGS and LDFLAGS
authorIan Lynagh <igloo@earth.li>
Tue, 7 Dec 2010 01:00:33 +0000 (01:00 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 7 Dec 2010 01:00:33 +0000 (01:00 +0000)
commit75cd9c50ea68a5e426e3105735713b8015d63413
treed42739ff3a6766b255264844527861e9efb05ffe
parentc0eb9d997653da4357873829990cc338475bca39
Make CPPFLAGS variables, as well as CFLAGS and LDFLAGS
This fixes the "does unsetenv return void" test in the unix package on
OS X, if I tell it to make 10.4-compatible binaries. The test uses
CPPFLAGS but not CFLAGS, so it thought it returned int (as it was
in 10.5-mode), but the C compiler (using CFLAGS, so in 10.4 mode)
thought it returned void.

I also added CONF_LD_OPTS_STAGE$3 to the list of things in LDFLAGS,
which looks like an accidental ommission.
aclocal.m4
configure.ac
mk/config.mk.in
rules/build-package-data.mk