summaryrefslogtreecommitdiffstats
path: root/fortran/examples/testh5fc.sh.in
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-08-28 19:11:34 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-08-28 19:11:34 (GMT)
commit612af6440b664bbd7888128ffacacb5cb9867b36 (patch)
tree38473f6e315f4aae607e3f1d23a50f55c5081fce /fortran/examples/testh5fc.sh.in
parent0bc6398ec400c55b6ded5381d1c01bfb675589cb (diff)
downloadhdf5-612af6440b664bbd7888128ffacacb5cb9867b36.zip
hdf5-612af6440b664bbd7888128ffacacb5cb9867b36.tar.gz
hdf5-612af6440b664bbd7888128ffacacb5cb9867b36.tar.bz2
[svn-r22724] Convert tests to *.sh.in.
Convert configure.in to configure.ac. Align TESTS usage with autotools convention. Update all references from configure.in to configure.ac Tested: h5committest
Diffstat (limited to 'fortran/examples/testh5fc.sh.in')
-rw-r--r--fortran/examples/testh5fc.sh.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/fortran/examples/testh5fc.sh.in b/fortran/examples/testh5fc.sh.in
index 234d4e2..cd3b86e 100644
--- a/fortran/examples/testh5fc.sh.in
+++ b/fortran/examples/testh5fc.sh.in
@@ -19,6 +19,8 @@
# Modification:
#
+srcdir=@srcdir@
+
# Initializations
TESTNAME=h5fc
EXIT_SUCCESS=0
@@ -46,11 +48,6 @@ verbose=yes
myos=`uname -s`
myhostnama=`uname -n`
-# The build (current) directory might be different than the source directory.
-if test -z "$srcdir"; then
- srcdir=.
-fi
-
# Generate some source files and library for tests.
suffix=f90 # source file suffix
hdf5main=${H5TOOL}_hdf5main.$suffix