diff options
author | James Laird <jlaird@hdfgroup.org> | 2005-02-01 15:27:37 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2005-02-01 15:27:37 (GMT) |
commit | 30bfb1e0eaa2783479b2adcf81e0c147963140f6 (patch) | |
tree | 2f21404e71d636322504afd40a0fd13ea3736af5 /hl/fortran/test | |
parent | f1278ad78fa0a36e4722760de1a6ec87f1ae6a17 (diff) | |
download | hdf5-30bfb1e0eaa2783479b2adcf81e0c147963140f6.zip hdf5-30bfb1e0eaa2783479b2adcf81e0c147963140f6.tar.gz hdf5-30bfb1e0eaa2783479b2adcf81e0c147963140f6.tar.bz2 |
[svn-r9907] Purpose:
Bug fix
Description:
Different compilers use different flags to include Fortran module files
Solution:
Changed boilerplate to use configure variable rather than hardcoded -M flag.
Platforms tested:
sleipnir, sol, copper
Diffstat (limited to 'hl/fortran/test')
-rw-r--r-- | hl/fortran/test/Makefile.am | 2 | ||||
-rw-r--r-- | hl/fortran/test/Makefile.in | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/hl/fortran/test/Makefile.am b/hl/fortran/test/Makefile.am index cff6351..1853ccc 100644 --- a/hl/fortran/test/Makefile.am +++ b/hl/fortran/test/Makefile.am @@ -12,7 +12,7 @@ include $(top_srcdir)/config/commence.am AM_CPPFLAGS=-I$(top_srcdir)/src $(top_builddir)/src -AM_FFLAGS=-I$(top_builddir)/fortran/src -I$(top_builddir)/hl/fortran/src -M$(top_builddir)/fortran/src -M$(top_builddir)/hl/fortran/src +AM_FFLAGS=-I$(top_builddir)/fortran/src -I$(top_builddir)/hl/fortran/src $(F9XMODFLAG)$(top_builddir)/fortran/src $(F9XMODFLAG)$(top_builddir)/hl/fortran/src # Our main target, the test programs TEST_PROG=tstlite tstimage tsttable diff --git a/hl/fortran/test/Makefile.in b/hl/fortran/test/Makefile.in index 3e08a45..caa84ad 100644 --- a/hl/fortran/test/Makefile.in +++ b/hl/fortran/test/Makefile.in @@ -185,9 +185,10 @@ H5FC_PP = $(bindir)/h5pfc # Make sure that these variables are exported to the Makefiles F9XMODEXT = @F9XMODEXT@ +F9XMODFLAG = @F9XMODFLAG@ AM_CPPFLAGS = -I$(top_srcdir)/src $(top_builddir)/src -AM_FFLAGS = -I$(top_builddir)/fortran/src -I$(top_builddir)/hl/fortran/src -M$(top_builddir)/fortran/src -M$(top_builddir)/hl/fortran/src +AM_FFLAGS = -I$(top_builddir)/fortran/src -I$(top_builddir)/hl/fortran/src $(F9XMODFLAG)$(top_builddir)/fortran/src $(F9XMODFLAG)$(top_builddir)/hl/fortran/src # Our main target, the test programs TEST_PROG = tstlite tstimage tsttable |