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 /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 'fortran/test')
-rw-r--r-- | fortran/test/Makefile.am | 2 | ||||
-rw-r--r-- | fortran/test/Makefile.in | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/fortran/test/Makefile.am b/fortran/test/Makefile.am index 0e6bc55..454e431 100644 --- a/fortran/test/Makefile.am +++ b/fortran/test/Makefile.am @@ -20,7 +20,7 @@ include $(top_srcdir)/config/commence.am # Include files -AM_FFLAGS=-I$(top_builddir)/fortran/src -M$(top_builddir)/fortran/src +AM_FFLAGS=-I$(top_builddir)/fortran/src $(F9XMODFLAG)$(top_builddir)/fortran/src AM_CFLAGS=-I$(top_srcdir)/src # The Fortran test library diff --git a/fortran/test/Makefile.in b/fortran/test/Makefile.in index f7a318a..a736e52 100644 --- a/fortran/test/Makefile.in +++ b/fortran/test/Makefile.in @@ -194,9 +194,10 @@ H5FC_PP = $(bindir)/h5pfc # Make sure that these variables are exported to the Makefiles F9XMODEXT = @F9XMODEXT@ +F9XMODFLAG = @F9XMODFLAG@ # Include files -AM_FFLAGS = -I$(top_builddir)/fortran/src -M$(top_builddir)/fortran/src +AM_FFLAGS = -I$(top_builddir)/fortran/src $(F9XMODFLAG)$(top_builddir)/fortran/src AM_CFLAGS = -I$(top_srcdir)/src # The Fortran test library |