mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
If m4 doesn't support --version, try if gm4 does.
This commit is contained in:
parent
b0873cb657
commit
200e9b5dd1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user