diff options
author | James Laird <jlaird@hdfgroup.org> | 2007-01-23 17:29:45 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2007-01-23 17:29:45 (GMT) |
commit | 59eccdaf699634dfb16419200549268623ac4e9b (patch) | |
tree | af72080ab1b7c00749713e9382b5fc8aa868b18c /hl/c++ | |
parent | f83826852bc9d1ef530c4d292279396fce77d626 (diff) | |
download | hdf5-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 'hl/c++')
-rw-r--r-- | hl/c++/Makefile.in | 2 | ||||
-rw-r--r-- | hl/c++/examples/Makefile.in | 2 | ||||
-rw-r--r-- | hl/c++/src/Makefile.in | 2 | ||||
-rw-r--r-- | hl/c++/test/Makefile.in | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/hl/c++/Makefile.in b/hl/c++/Makefile.in index d8a619f..4c07671 100644 --- a/hl/c++/Makefile.in +++ b/hl/c++/Makefile.in @@ -207,6 +207,7 @@ SIZE_T = @SIZE_T@ STATIC_SHARED = @STATIC_SHARED@ STRIP = @STRIP@ TESTPARALLEL = @TESTPARALLEL@ +TIME = @TIME@ TR = @TR@ TRACE_API = @TRACE_API@ USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@ @@ -270,7 +271,6 @@ target_alias = @target_alias@ # Shell commands used in Makefiles RM = rm -f CP = cp -TIME = time # Some machines need a command to run executables; this is that command # so that our tests will run. diff --git a/hl/c++/examples/Makefile.in b/hl/c++/examples/Makefile.in index 789b94d..af034d7 100644 --- a/hl/c++/examples/Makefile.in +++ b/hl/c++/examples/Makefile.in @@ -204,6 +204,7 @@ SIZE_T = @SIZE_T@ STATIC_SHARED = @STATIC_SHARED@ STRIP = @STRIP@ TESTPARALLEL = @TESTPARALLEL@ +TIME = @TIME@ TR = @TR@ TRACE_API = @TRACE_API@ USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@ @@ -267,7 +268,6 @@ target_alias = @target_alias@ # Shell commands used in Makefiles RM = rm -f CP = cp -TIME = time # Some machines need a command to run executables; this is that command # so that our tests will run. diff --git a/hl/c++/src/Makefile.in b/hl/c++/src/Makefile.in index 808f067..c942809 100644 --- a/hl/c++/src/Makefile.in +++ b/hl/c++/src/Makefile.in @@ -228,6 +228,7 @@ SIZE_T = @SIZE_T@ STATIC_SHARED = @STATIC_SHARED@ STRIP = @STRIP@ TESTPARALLEL = @TESTPARALLEL@ +TIME = @TIME@ TR = @TR@ TRACE_API = @TRACE_API@ USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@ @@ -291,7 +292,6 @@ target_alias = @target_alias@ # Shell commands used in Makefiles RM = rm -f CP = cp -TIME = time # Some machines need a command to run executables; this is that command # so that our tests will run. diff --git a/hl/c++/test/Makefile.in b/hl/c++/test/Makefile.in index 0d9aa58..4650ac6 100644 --- a/hl/c++/test/Makefile.in +++ b/hl/c++/test/Makefile.in @@ -223,6 +223,7 @@ SIZE_T = @SIZE_T@ STATIC_SHARED = @STATIC_SHARED@ STRIP = @STRIP@ TESTPARALLEL = @TESTPARALLEL@ +TIME = @TIME@ TR = @TR@ TRACE_API = @TRACE_API@ USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@ @@ -286,7 +287,6 @@ target_alias = @target_alias@ # Shell commands used in Makefiles RM = rm -f CP = cp -TIME = time # Some machines need a command to run executables; this is that command # so that our tests will run. |