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/19 17:21:05 UTC

svn commit: r987186 - /incubator/thrift/trunk/bootstrap.sh

Author: bryanduxbury
Date: Thu Aug 19 15:21:04 2010
New Revision: 987186

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

Patch: Michael Lum

Modified:
    incubator/thrift/trunk/bootstrap.sh

Modified: incubator/thrift/trunk/bootstrap.sh
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/bootstrap.sh?rev=987186&r1=987185&r2=987186&view=diff
==============================================================================
--- incubator/thrift/trunk/bootstrap.sh (original)
+++ incubator/thrift/trunk/bootstrap.sh Thu Aug 19 15:21:04 2010
@@ -19,6 +19,13 @@
 # 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