1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

If the m4 version isn't recognized at all, just say so

'm4 version  found. You need a GNU m4 installed!' is a bit confusing.
This commit is contained in:
Fabian Keil 2010-08-19 15:50:32 +02:00 committed by Daniel Stenberg
parent 19d2bf4ee4
commit b0873cb657

View File

@ -254,7 +254,11 @@ m4_version=`echo $m4 | sed -e 's/^.* \([0-9]\)/\1/' -e 's/[a-z]* *$//'`
if { echo $m4 | grep "GNU" >/dev/null 2>&1; } then
echo "buildconf: GNU m4 version $m4_version (ok)"
else
if test -z "$m4"; then
echo "buildconf: m4 version not recognized. You need a GNU m4 installed!"
else
echo "buildconf: m4 version $m4 found. You need a GNU m4 installed!"
fi
exit 1
fi