diff options
author | James Laird <jlaird@hdfgroup.org> | 2005-03-01 18:47:23 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2005-03-01 18:47:23 (GMT) |
commit | 2f4f7d07b18ac5bcc2e7b38842c2972c910cc7a1 (patch) | |
tree | 73bb5494cce26f9c72a3f33a5770f75a9889e4d8 | |
parent | 206aad5bb2da7f9b97e3b1946a604276cae467e1 (diff) | |
download | hdf5-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)
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.in | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 |