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 /fortran | |
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 'fortran')
-rw-r--r-- | fortran/Makefile.in | 2 | ||||
-rw-r--r-- | fortran/examples/Makefile.in | 2 | ||||
-rw-r--r-- | fortran/src/Makefile.in | 2 | ||||
-rw-r--r-- | fortran/test/Makefile.in | 2 | ||||
-rw-r--r-- | fortran/testpar/Makefile.in | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/fortran/Makefile.in b/fortran/Makefile.in index 9a7b789..bdfe73b 100644 --- a/fortran/Makefile.in +++ b/fortran/Makefile.in @@ -211,6 +211,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@ @@ -274,7 +275,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/fortran/examples/Makefile.in b/fortran/examples/Makefile.in index d2f1359..04b5775 100644 --- a/fortran/examples/Makefile.in +++ b/fortran/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/fortran/src/Makefile.in b/fortran/src/Makefile.in index 33b6661..507830b 100644 --- a/fortran/src/Makefile.in +++ b/fortran/src/Makefile.in @@ -264,6 +264,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@ @@ -327,7 +328,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/fortran/test/Makefile.in b/fortran/test/Makefile.in index 61e8c6f..855a15c 100644 --- a/fortran/test/Makefile.in +++ b/fortran/test/Makefile.in @@ -258,6 +258,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@ @@ -321,7 +322,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/fortran/testpar/Makefile.in b/fortran/testpar/Makefile.in index 8fae43f..093ec01 100644 --- a/fortran/testpar/Makefile.in +++ b/fortran/testpar/Makefile.in @@ -221,6 +221,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@ @@ -284,7 +285,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. |