summaryrefslogtreecommitdiffstats
path: root/config/commence.am
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2007-01-23 17:29:45 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2007-01-23 17:29:45 (GMT)
commit59eccdaf699634dfb16419200549268623ac4e9b (patch)
treeaf72080ab1b7c00749713e9382b5fc8aa868b18c /config/commence.am
parentf83826852bc9d1ef530c4d292279396fce77d626 (diff)
downloadhdf5-59eccdaf699634dfb16419200549268623ac4e9b.zip
hdf5-59eccdaf699634dfb16419200549268623ac4e9b.tar.gz
hdf5-59eccdaf699634dfb16419200549268623ac4e9b.tar.bz2
[svn-r13181] Added a configure check to prevent a failure on Cygwin.
It seems that while Cygwin supports the time command, it has trouble with the syntax srcdir="../../hdf5/test" time ./testhdf5 and complains. The solution is to test the above case in configure and not to use the time command if it fails; Cygwin is fine with srcdir="../../hdf5/test" ./testhdf5 Tested on Cygwin and kagiso. This feature shouldn't be a major compatibility problem since every platform but Cygwin is already fine with the current syntax.
Diffstat (limited to 'config/commence.am')
-rw-r--r--config/commence.am1
1 files changed, 0 insertions, 1 deletions
diff --git a/config/commence.am b/config/commence.am
index e719710..5f55b8d 100644
--- a/config/commence.am
+++ b/config/commence.am
@@ -19,7 +19,6 @@
# Shell commands used in Makefiles
RM=rm -f
CP=cp
-TIME=time
# Hardcode SHELL to be /bin/sh. Most machines have this shell, and
# on at least one machine configure fails to detect its existence (janus).