From: Fabian Keil Date: Thu, 19 Aug 2010 14:04:18 +0000 (+0200) Subject: If m4 doesn't support --version, try if gm4 does. X-Git-Tag: curl-7_21_2~123 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=200e9b5dd1a92c5c770a87f1304d090e52940180;p=curl If m4 doesn't support --version, try if gm4 does. --- diff --git a/buildconf b/buildconf index 10eed4c5d..997031b06 100755 --- a/buildconf +++ b/buildconf @@ -248,7 +248,7 @@ fi #-------------------------------------------------------------------------- # m4 check # -m4=`${M4:-m4} --version 2>/dev/null|head -n 1`; +m4=`${M4:-m4} --version 2>/dev/null || ${M4:-gm4} --version 2>/dev/null | head -n 1`; m4_version=`echo $m4 | sed -e 's/^.* \([0-9]\)/\1/' -e 's/[a-z]* *$//'` if { echo $m4 | grep "GNU" >/dev/null 2>&1; } then