projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
200e9b5
)
In the m4 detection line, factor out the 2>dev/null
author
Fabian Keil
<fk@fabiankeil.de>
Thu, 19 Aug 2010 14:07:03 +0000
(16:07 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Sat, 28 Aug 2010 20:51:22 +0000
(22:51 +0200)
buildconf
patch
|
blob
|
history
diff --git
a/buildconf
b/buildconf
index
997031b
..
76e310e
100755
(executable)
--- a/
buildconf
+++ b/
buildconf
@@
-248,7
+248,7
@@
fi
#--------------------------------------------------------------------------
# m4 check
#
-m4=`
${M4:-m4} --version 2>/dev/null || ${M4:-gm4} --version
2>/dev/null | head -n 1`;
+m4=`
(${M4:-m4} --version || ${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