Revert THRIFT-731 due to breakage on Ubuntu.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@984621 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/configure.ac b/configure.ac
index 595f870..f6a8a0d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,7 +86,7 @@
 AX_THRIFT_LIB(java, [Java], yes)
 if test "$with_java" = "yes";  then
   AX_JAVAC_AND_JAVA
-  PKG_CHECK_MODULES([ANT], ant >= 1.7)
+  AC_PATH_PROG([ANT], [ant])
   AX_CHECK_JAVA_CLASS(org.slf4j.Logger)
   have_slf4j="$success"
   AX_CHECK_JAVA_CLASS(org.slf4j.impl.SimpleLogger)