Author: bryanduxbury
Date: Thu Aug 19 21:02:19 2010
New Revision: 987312

URL: http://svn.apache.org/viewvc?rev=987312&view=rev
Log:
THRIFT-858. build:  Have bootstrap.sh check for a suitable autoconf version 
before running

A slightly better version of the same functionality as contributed by David 
Reiss.

Modified:
    incubator/thrift/trunk/bootstrap.sh
    incubator/thrift/trunk/configure.ac

Modified: incubator/thrift/trunk/bootstrap.sh
URL: 
http://svn.apache.org/viewvc/incubator/thrift/trunk/bootstrap.sh?rev=987312&r1=987311&r2=987312&view=diff
==============================================================================
--- incubator/thrift/trunk/bootstrap.sh (original)
+++ incubator/thrift/trunk/bootstrap.sh Thu Aug 19 21:02:19 2010
@@ -19,13 +19,6 @@
 # under the License.
 #
 
-have_ac_version=`autoconf --version | head -1 | cut -d' ' -f4`
-desired_ac_version=2.65
-if [ `expr $have_ac_version \>= $desired_ac_version` -eq "0" ]; then
-  echo "Must have autoconf $desired_ac_version of higher."
-  exit 1
-fi
-
 ./cleanup.sh
 
 autoscan || exit 1

Modified: incubator/thrift/trunk/configure.ac
URL: 
http://svn.apache.org/viewvc/incubator/thrift/trunk/configure.ac?rev=987312&r1=987311&r2=987312&view=diff
==============================================================================
--- incubator/thrift/trunk/configure.ac (original)
+++ incubator/thrift/trunk/configure.ac Thu Aug 19 21:02:19 2010
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-AC_PREREQ(2.59)
+AC_PREREQ(2.65)
 
 AC_INIT([thrift], [0.5.0-dev])
 


Reply via email to