Does anyone have any objection to this change? CPPFLAGS often
contains some necessary settings, and without it building the
bindings can fail. I'll go ahead and commit if no one screams.
* Makefile.in:
Add $(CPPFLAGS) to SWIG_PY_COMPILE, SWIG_JAVA_COMPILE, and
SWIG_PL_COMPILE.
--- Makefile.in (revision 6747)
+++ Makefile.in (working copy)
@@ -107,13 +107,13 @@
$(SVN_APR_INCLUDES)
SWIG_LDFLAGS = @SWIG_LDFLAGS@
SWIG_PY_INCLUDES = @SWIG_PY_INCLUDES@
-SWIG_PY_COMPILE = @SWIG_PY_COMPILE@
+SWIG_PY_COMPILE = @SWIG_PY_COMPILE@ $(CPPFLAGS)
SWIG_PY_LINK = @SWIG_PY_LINK@
SWIG_JAVA_INCLUDES = @SWIG_JAVA_INCLUDES@
-SWIG_JAVA_COMPILE = $(CC) -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC
+SWIG_JAVA_COMPILE = $(CC) -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC $(CPPFLAGS)
SWIG_JAVA_LINK = $(CC) -shared
SWIG_PL_INCLUDES = @SWIG_PL_INCLUDES@
-SWIG_PL_COMPILE = @SWIG_PL_COMPILE@
+SWIG_PL_COMPILE = @SWIG_PL_COMPILE@ $(CPPFLAGS)
SWIG_PL_LINK = @SWIG_PL_LINK@
SVN_APR_INCLUDES = @SVN_APR_INCLUDES@
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Aug 16 02:04:45 2003