THRIFT-450. java: Propagate CLASSPATH from ./configure to make and ant
- Put "AC_SUBST(CLASSPATH)" configure.ac so the CLASSPATH used to run
./configure is passed in to make.
- Put "export CLASSPATH" in lib/java/Makefile.am so that the CLASSPATH
passed to make is passed to ant.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@777678 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/configure.ac b/configure.ac
index 4a88cd8..8951750 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,6 +77,7 @@
if test "x$have_log4j" = "xyes" && test "x$have_hashcode" = "xyes" ; then
ANT_FLAGS="$ANT_FLAGS -Dnoivy="
fi
+ AC_SUBST(CLASSPATH)
AC_SUBST(ANT_FLAGS)
fi
AM_CONDITIONAL([WITH_JAVA],