summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index 6035bc0..4674ca8 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -6,9 +6,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 >/dev/null 2>&1); then
+ echo "*** No autoreconf found, please install it ***"
exit 1
fi