diff options
author | Fabian Keil <fk@fabiankeil.de> | 2010-08-19 16:04:18 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-08-28 22:51:22 +0200 |
commit | 200e9b5dd1a92c5c770a87f1304d090e52940180 (patch) | |
tree | 037d3710d5fd150e406e8ddd8e44695794c1a26a /buildconf | |
parent | b0873cb6577a83a3db8ca59b381ec0ae266a7b15 (diff) | |
download | curl-200e9b5dd1a92c5c770a87f1304d090e52940180.tar.gz |
If m4 doesn't support --version, try if gm4 does.
Diffstat (limited to 'buildconf')
-rwxr-xr-x | buildconf | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |