summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index c24b10ac..f79a71ff 100755
--- a/configure
+++ b/configure
@@ -499,14 +499,14 @@ if [ -z "$make" ] ; then
output=$($make --version 2> /dev/null) || true
set -- $output
- if [ $# -lt 2 ] || [ $1 != "GNU" -o $2 != "Make" ] ; then
+ if [ $# -lt 3 ] || [ $1 != "GNU" -o $2 != "Make" ] ; then
continue
fi
break
done
fi
-if [ -z "$make" ] ; then
+if [ $# -lt 3 ] ; then
printf "missing\n"
exit 1
fi