summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2005-03-01 18:47:23 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2005-03-01 18:47:23 (GMT)
commit2f4f7d07b18ac5bcc2e7b38842c2972c910cc7a1 (patch)
tree73bb5494cce26f9c72a3f33a5770f75a9889e4d8 /configure.in
parent206aad5bb2da7f9b97e3b1946a604276cae467e1 (diff)
downloadhdf5-2f4f7d07b18ac5bcc2e7b38842c2972c910cc7a1.zip
hdf5-2f4f7d07b18ac5bcc2e7b38842c2972c910cc7a1.tar.gz
hdf5-2f4f7d07b18ac5bcc2e7b38842c2972c910cc7a1.tar.bz2
[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)
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
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