summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-04-30 16:33:14 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2012-04-30 16:33:14 +0100
commit12f04c88be9ff8a578d8fd6990ee2448c66dc5f4 (patch)
treeb59147c8b9f3fd016a3b8af3c809bfbe389476d5
parent2b30482e878afff3c1a4e9bb3442c2755a745300 (diff)
downloadintltool-12f04c88be9ff8a578d8fd6990ee2448c66dc5f4.tar.gz
autogen.sh: autoreconf without which and fix typobaserock/morph
-rwxr-xr-xautogen.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index 302e578..80804e0 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -7,9 +7,8 @@ test -n "$srcdir" || srcdir=.
olddir=`pwd`
cd $srcdir
-AUTORECONF=`which autoreconf`
-if test -z $AUTORECONF; then
- echo "*** No autoreconf found, please intall it ***"
+if ! (autoreconf --version 2>&1 >/dev/null); then
+ echo "*** No autoreconf found, please install it ***"
exit 1
fi