diff options
author | Fabian Keil <fk@fabiankeil.de> | 2010-08-19 16:07:03 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-08-28 22:51:22 +0200 |
commit | 892d6930e73f76c5fae0a048139767f73acc6cf4 (patch) | |
tree | f723c556e0c02ccc7fa000635a821f9d9b5c1e5f | |
parent | 200e9b5dd1a92c5c770a87f1304d090e52940180 (diff) |
In the m4 detection line, factor out the 2>dev/null
-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 || ${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 |