summaryrefslogtreecommitdiffstats
path: root/fortran/test
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2002-09-24 16:05:20 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2002-09-24 16:05:20 (GMT)
commitd7be0ad7e093c924af79cceaa9a943331900b135 (patch)
tree284a4b5d112f6fe3744ea3a51c2f6ff266e0e7c6 /fortran/test
parentf5096c200093eaf5b7dae72a3f672b2d7f457ca6 (diff)
downloadhdf5-d7be0ad7e093c924af79cceaa9a943331900b135.zip
hdf5-d7be0ad7e093c924af79cceaa9a943331900b135.tar.gz
hdf5-d7be0ad7e093c924af79cceaa9a943331900b135.tar.bz2
[svn-r5944]
Purpose: Bug fix Description: Search path for include files to build h5test_fortran.a did not have hdf5_builddir and hdf5_srcdir directories. Compilation failed when scrdir configure flag was used. Solution: Modified Makefile.in to include the directories into the search path. Platforms tested: modi4 with srcdir on AFS and build dir in $SCR using --enable-parallel --enable-fortran flags.
Diffstat (limited to 'fortran/test')
-rw-r--r--fortran/test/Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/fortran/test/Makefile.in b/fortran/test/Makefile.in
index 1d74697..c8bbba8 100644
--- a/fortran/test/Makefile.in
+++ b/fortran/test/Makefile.in
@@ -18,7 +18,9 @@ top_builddir=../..
srcdir=@srcdir@
@COMMENCE@
+hdf5_srcdir=$(top_srcdir)/src
hdf5_builddir=$(top_builddir)/src
+CPPFLAGS=-I. -I$(hdf5_builddir) -I$(hdf5_srcdir) @CPPFLAGS@
## Add include directory to the C preprocessor flags and the h5test and hdf5
## libraries to the library list.