From cd7a51fd93be6e756445b363acffaed7a4151c2c Mon Sep 17 00:00:00 2001 From: Bryan Duxbury Date: Thu, 19 Aug 2010 15:21:04 +0000 Subject: THRIFT-858. build: Have bootstrap.sh check for a suitable autoconf version before running Patch: Michael Lum git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@987186 13f79535-47bb-0310-9956-ffa450edef68 --- bootstrap.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bootstrap.sh') diff --git a/bootstrap.sh b/bootstrap.sh index 74ecdb8d1..0b2b1bcd6 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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 -- cgit v1.2.1