From 2f4f7d07b18ac5bcc2e7b38842c2972c910cc7a1 Mon Sep 17 00:00:00 2001 From: James Laird Date: Tue, 1 Mar 2005 13:47:23 -0500 Subject: [svn-r10112] Purpose: Bug fix Description: A test in configure.in redirected output in a way that made mir (at least) unhappy (test: too many arguments). Solution: Changed the semantics so that mir was happy. This didn't seem to make any other platforms unhappy, either. Platforms tested: eirene, modi4, copper, mir, sleipnir (only tested configure) --- configure | 2 +- configure.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 810a79d..ff08fb8 100755 --- a/configure +++ b/configure @@ -50337,7 +50337,7 @@ fi PARALLEL=${PARALLEL:-no} -if `echo $CC | grep / 2>&1 /dev/null`; then +if `echo $CC | grep / >/dev/null 2>&1`; then CC_VERSION="$CC" else CC_VERSION="$CC"; diff --git a/configure.in b/configure.in index bc46aad..3f613be 100644 --- a/configure.in +++ b/configure.in @@ -2877,8 +2877,8 @@ PARALLEL=${PARALLEL:-no} dnl Compiler with version information. This consists of the full path dnl name of the compiler and the reported version number. AC_SUBST([CC_VERSION]) -if `echo $CC | grep / 2>&1 /dev/null`; then - CC_VERSION="$CC" +if `echo $CC | grep / >/dev/null 2>&1`; then + CC_VERSION="$CC" else CC_VERSION="$CC"; for x in `echo $PATH | sed -e 's/:/ /g'`; do -- cgit v0.12