diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-08-23 16:07:43 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-08-23 16:07:43 (GMT) |
commit | 1f8fb63581b72b1618e0540032ca5f3d682ebcb2 (patch) | |
tree | c051f004c36a19e8ba42088d45c605cc1533eb5c /test/testcheck_version.sh.in | |
parent | cac6687a6a4adcfff526d91f3b57671089ef10b5 (diff) | |
download | hdf5-1f8fb63581b72b1618e0540032ca5f3d682ebcb2.zip hdf5-1f8fb63581b72b1618e0540032ca5f3d682ebcb2.tar.gz hdf5-1f8fb63581b72b1618e0540032ca5f3d682ebcb2.tar.bz2 |
[svn-r22709] HDFFV-8129: reconfigured on jam, Remove overloading of autotools TESTS var, rename configure.in to configure.ac, convert test scripts from hard *.sh to configure managed *sh.in files.
Tested: h5committest
Diffstat (limited to 'test/testcheck_version.sh.in')
-rw-r--r-- | test/testcheck_version.sh.in | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/testcheck_version.sh.in b/test/testcheck_version.sh.in index a2c812d..ed9845e 100644 --- a/test/testcheck_version.sh.in +++ b/test/testcheck_version.sh.in @@ -19,6 +19,8 @@ # Programmer: Albert Cheng # Sep 28, 2009 +srcdir=@srcdir@ + # Variables filled in by the configure process. # Determine the configure options of the hdf5 library and executables. Shared_Lib=@enable_shared@ @@ -215,11 +217,6 @@ h5libsettings=../src/libhdf5.settings PURPOSE -# The build (current) directory might be different than the source directory. -if test -z "$srcdir"; then - srcdir=. -fi - # Figure out library version numbers from the header file. h5versmajor=`grep '#define H5_VERS_MAJOR' $srcdir/../src/H5public.h | cut -f2` h5versminor=`grep '#define H5_VERS_MINOR' $srcdir/../src/H5public.h | cut -f2` |