summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
-rw-r--r--configure.in4
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