summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautogen.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index a084fa5..a52f1f1 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -6,7 +6,8 @@ test -f mu/mu.cc || {
exit 1
}
-if test -z `which autoreconf`; then
+command -V autoreconf > /dev/null
+if [[ $? != 0 ]]; then
echo "*** No autoreconf found, please install it ***"
exit 1
fi