From d7be0ad7e093c924af79cceaa9a943331900b135 Mon Sep 17 00:00:00 2001 From: Elena Pourmal Date: Tue, 24 Sep 2002 11:05:20 -0500 Subject: [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. --- fortran/test/Makefile.in | 2 ++ 1 file changed, 2 insertions(+) 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. -- cgit v0.12