summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2007-01-25 15:30:53 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2007-01-25 15:30:53 (GMT)
commit73b8819a42503e55c5c82fa478bdc2870b709deb (patch)
treefb086ce6a9dcd275c3df3f63a21dd0d21723a87a /configure.in
parent8cf22df741e227437e9eb3228cb1f0bb6ba9dc1e (diff)
downloadhdf5-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.in6
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