From 892d6930e73f76c5fae0a048139767f73acc6cf4 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Thu, 19 Aug 2010 16:07:03 +0200 Subject: In the m4 detection line, factor out the 2>dev/null --- buildconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildconf') diff --git a/buildconf b/buildconf index 997031b06..76e310e02 100755 --- 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 -- cgit v1.2.3