From fdfcebda522c4c84f9c81cebdfb43d878d37a35a Mon Sep 17 00:00:00 2001 From: David Reiss Date: Fri, 22 May 2009 19:50:29 +0000 Subject: [PATCH] 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. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@777676 13f79535-47bb-0310-9956-ffa450edef68 --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2c53ca0a..4a88cd80 100644 --- a/configure.ac +++ b/configure.ac @@ -72,7 +72,9 @@ if test "$with_java" = "yes"; then 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) -- 2.17.1