diff options
author | James Laird <jlaird@hdfgroup.org> | 2007-01-25 15:30:53 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2007-01-25 15:30:53 (GMT) |
commit | 73b8819a42503e55c5c82fa478bdc2870b709deb (patch) | |
tree | fb086ce6a9dcd275c3df3f63a21dd0d21723a87a /configure.in | |
parent | 8cf22df741e227437e9eb3228cb1f0bb6ba9dc1e (diff) | |
download | hdf5-73b8819a42503e55c5c82fa478bdc2870b709deb.zip hdf5-73b8819a42503e55c5c82fa478bdc2870b709deb.tar.gz hdf5-73b8819a42503e55c5c82fa478bdc2870b709deb.tar.bz2 |
[svn-r13198] Fiddled with the syntax of the configure test for srcdir="foo", which should
hopefully fix problems on copper and duty.
Tested on copper, duty, kagiso, Cygwin.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.in b/configure.in index 07f1dc2..8f89116 100644 --- a/configure.in +++ b/configure.in @@ -530,10 +530,8 @@ AC_MSG_CHECKING([if srcdir= and time commands work together]) AC_SUBST([TIME]) TIME=time -dnl TIME_TEST=`foo="bar" ${TIME} echo 'baz' | grep ^baz` -${TIME} echo 'baz' >& temp.out -TIME_TEST=`grep ^baz temp.out` -rm temp.out +TIME_TEST=`foo="bar" ${TIME} echo 'baz' 2> /dev/null | grep baz` + if test "X${TIME_TEST}" = "Xbaz"; then AC_MSG_RESULT([yes]) else |