diff options
author | cls%seawood.org <devnull@localhost> | 2001-03-09 04:53:24 +0000 |
---|---|---|
committer | cls%seawood.org <devnull@localhost> | 2001-03-09 04:53:24 +0000 |
commit | 523894a215b86feab3f43d7f5c206e8a83d4dde7 (patch) | |
tree | b87e903ad145b1a55db249c24b72fa0725e06d94 | |
parent | e304b50de7de057dd9bc4c1127c0578a6a845f74 (diff) | |
download | nspr-hg-523894a215b86feab3f43d7f5c206e8a83d4dde7.tar.gz |
Actually use CPPFLAGS when it is passed to configure
-rw-r--r-- | config/autoconf.mk.in | 5 | ||||
-rwxr-xr-x | configure | 1 | ||||
-rw-r--r-- | configure.in | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/config/autoconf.mk.in b/config/autoconf.mk.in index 9e33b8a0..72e0ba14 100644 --- a/config/autoconf.mk.in +++ b/config/autoconf.mk.in @@ -48,8 +48,9 @@ NSINSTALL = @NSINSTALL@ FILTER = @FILTER@ IMPLIB = @IMPLIB@ -OS_CFLAGS = @CFLAGS@ $(DSO_CFLAGS) -OS_CXXFLAGS = @CXXFLAGS@ $(DSO_CFLAGS) +OS_CPPFLAGS = @CPPFLAGS@ +OS_CFLAGS = $(OS_CPPFLAGS) @CFLAGS@ $(DSO_CFLAGS) +OS_CXXFLAGS = $(OS_CPPFLAGS) @CXXFLAGS@ $(DSO_CFLAGS) OS_LIBS = @OS_LIBS@ OS_LDFLAGS = @LDFLAGS@ OS_DLLFLAGS = @OS_DLLFLAGS@ @@ -4914,6 +4914,7 @@ fi + MAKEFILES=" Makefile config/Makefile diff --git a/configure.in b/configure.in index 3f4b5257..23e21824 100644 --- a/configure.in +++ b/configure.in @@ -1830,6 +1830,7 @@ AC_SUBST(CC) AC_SUBST(CXX) AC_SUBST(CFLAGS) AC_SUBST(CXXFLAGS) +AC_SUBST(CPPFLAGS) AC_SUBST(HOST_CC) AC_SUBST(HOST_CFLAGS) AC_SUBST(LDFLAGS) |