summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-06-27 06:31:28 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-06-27 06:31:28 (GMT)
commit12c718ace34fce3a90b7a9873a41a9767f8f07af (patch)
tree2ff38b435a3b9f2be6bd154669d953bf7f42cf4a /fortran
parent8a71bdcfde83cc9069a28dc2c77d44c391ced355 (diff)
downloadhdf5-12c718ace34fce3a90b7a9873a41a9767f8f07af.zip
hdf5-12c718ace34fce3a90b7a9873a41a9767f8f07af.tar.gz
hdf5-12c718ace34fce3a90b7a9873a41a9767f8f07af.tar.bz2
[svn-r4071]
Purpose: Bug Fix Description: Modules weren't being found correctly. Solution: The F9XMODFLAG was being set and used in the test{par}/ and examples/ directories, but it's also needed in the src/ directory. Platforms tested: Modi4...cross fingers...
Diffstat (limited to 'fortran')
-rw-r--r--fortran/config/commence.in1
-rw-r--r--fortran/src/Makefile.in3
2 files changed, 4 insertions, 0 deletions
diff --git a/fortran/config/commence.in b/fortran/config/commence.in
index 83daa9d..4d6a922 100644
--- a/fortran/config/commence.in
+++ b/fortran/config/commence.in
@@ -17,6 +17,7 @@ SHELL=/bin/sh
CC=@CC@
F9X=@F9X@
F9XMODEXT=@F9XMODEXT@
+F9XMODFLAG=@F9XMODFLAG@
CFLAGS=@CFLAGS@
CPPFLAGS=@CPPFLAGS@
FFLAGS=@FFLAGS@
diff --git a/fortran/src/Makefile.in b/fortran/src/Makefile.in
index 810c00f..af37dc8 100644
--- a/fortran/src/Makefile.in
+++ b/fortran/src/Makefile.in
@@ -17,6 +17,9 @@ TRACE=perl $(top_srcdir)/bin/trace
## Add `-I.' to the C preprocessor flags.
CPPFLAGS=-I. -I$(hdf5_builddir) -I$(hdf5_srcdir) @CPPFLAGS@
+MFLAG=@F9XMODFLAG@
+FFLAGS=$(MFLAG). @FFLAGS@
+
## This is our main target
LIB=libhdf5_fortran.la
DISTCLEAN=H5fortran_types.f90