THRIFT-858. build: Have bootstrap.sh check for a suitable autoconf version before...
authorBryan Duxbury <bryanduxbury@apache.org>
Thu, 19 Aug 2010 21:02:19 +0000 (21:02 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Thu, 19 Aug 2010 21:02:19 +0000 (21:02 +0000)
A slightly better version of the same functionality as contributed by David Reiss.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@987312 13f79535-47bb-0310-9956-ffa450edef68

bootstrap.sh
configure.ac

index 0b2b1bc..74ecdb8 100755 (executable)
 # 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
index 02888fb..e5c59c1 100644 (file)
@@ -17,7 +17,7 @@
 # under the License.
 #
 
-AC_PREREQ(2.59)
+AC_PREREQ(2.65)
 
 AC_INIT([thrift], [0.5.0-dev])