You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2009/05/22 21:50:30 UTC

svn commit: r777676 - /incubator/thrift/trunk/configure.ac

Author: dreiss
Date: Fri May 22 19:50:29 2009
New Revision: 777676

URL: http://svn.apache.org/viewvc?rev=777676&view=rev
Log:
THRIFT-450. java: Check for Apache Commons Lang also

I forgot that we use the hashcode option when building the tests.
We therefore need to check for HashCodeBuilder before disabling Ivy.

Modified:
    incubator/thrift/trunk/configure.ac

Modified: incubator/thrift/trunk/configure.ac
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/configure.ac?rev=777676&r1=777675&r2=777676&view=diff
==============================================================================
--- incubator/thrift/trunk/configure.ac (original)
+++ incubator/thrift/trunk/configure.ac Fri May 22 19:50:29 2009
@@ -72,7 +72,9 @@
   AC_PATH_PROG([ANT], [ant])
   AX_CHECK_JAVA_CLASS(org.apache.log4j.Logger)
   have_log4j="$success"
-  if test "x$have_log4j" = "xyes" ; then
+  AX_CHECK_JAVA_CLASS(org.apache.commons.lang.builder.HashCodeBuilder)
+  have_hashcode="$success"
+  if test "x$have_log4j" = "xyes" && test "x$have_hashcode" = "xyes" ; then
     ANT_FLAGS="$ANT_FLAGS -Dnoivy="
   fi
   AC_SUBST(ANT_FLAGS)