THRIFT-858. build: Have bootstrap.sh check for a suitable autoconf version before...
authorBryan Duxbury <bryanduxbury@apache.org>
Thu, 19 Aug 2010 15:21:04 +0000 (15:21 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Thu, 19 Aug 2010 15:21:04 +0000 (15:21 +0000)
Patch: Michael Lum

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

bootstrap.sh

index 74ecdb8..0b2b1bc 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