Commit b792258e authored by Richard Maw's avatar Richard Maw Committed by Colin Walters

autogen: remove dependency on which

Signed-off-by: Colin Walters's avatarColin Walters <walters@verbum.org>
parent d234ccf1
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment