You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by br...@apache.org on 2010/08/10 22:59:00 UTC

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

Author: bryanduxbury
Date: Tue Aug 10 20:59:00 2010
New Revision: 984207

URL: http://svn.apache.org/viewvc?rev=984207&view=rev
Log:
THRIFT-731. configure doesn't check for ant >= 1.7

This patch makes configure check for ant version 1.7 or greater.

Patch: Harlan Lieberman-Berg

Modified:
    incubator/thrift/trunk/configure.ac

Modified: incubator/thrift/trunk/configure.ac
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/configure.ac?rev=984207&r1=984206&r2=984207&view=diff
==============================================================================
--- incubator/thrift/trunk/configure.ac (original)
+++ incubator/thrift/trunk/configure.ac Tue Aug 10 20:59:00 2010
@@ -86,7 +86,7 @@ AM_CONDITIONAL(NET_2_0, [test "$net_3_5"
 AX_THRIFT_LIB(java, [Java], yes)
 if test "$with_java" = "yes";  then
   AX_JAVAC_AND_JAVA
-  AC_PATH_PROG([ANT], [ant])
+  PKG_CHECK_MODULES([ANT], ant >= 1.7)
   AX_CHECK_JAVA_CLASS(org.slf4j.Logger)
   have_slf4j="$success"
   AX_CHECK_JAVA_CLASS(org.slf4j.impl.SimpleLogger)