summaryrefslogtreecommitdiff
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorBryan Duxbury <bryanduxbury@apache.org>2010-08-19 15:21:04 +0000
committerBryan Duxbury <bryanduxbury@apache.org>2010-08-19 15:21:04 +0000
commitcd7a51fd93be6e756445b363acffaed7a4151c2c (patch)
tree699e7f505cfd642bf7c30ea2752e4304250a3fff /bootstrap.sh
parent1237369cfc1b63c7b4c7e1a9455b2196c3fda006 (diff)
downloadthrift-cd7a51fd93be6e756445b363acffaed7a4151c2c.tar.gz
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
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh7
1 files changed, 7 insertions, 0 deletions
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