[svn-r23410] HDFFV-8264: Using F2003, build fails on Fedora with undefined reference to __h5r_MOD_h5rget_region_region_f

This turned out being an issue with configure. The reporter submitted a patch which fixed the fact that we should not be 
setting AM_FCFLAGS (an automake variable) with FFLAGS (a user variable). 

I removed this, and we now only set FFLAGS if the environment variable is set, otherwise we don't.

Tested: jam (gnu)
This commit is contained in:
Scot Breitenfeld 2013-03-20 23:04:19 -05:00
parent e8955b876c
commit a0ec9c282b

View File

@ -434,9 +434,10 @@ if test "X$HDF_FORTRAN" = "Xyes"; then
## --------------------------------------------------------------------
## General Fortran flags
##
AM_FCFLAGS="${AM_FCFLAGS} ${FFLAGS}"
## Only add FFLAGS to FCFLAGS if it's set.
if test "x$FFLAGS" != "x" ; then
FCFLAGS="${FCFLAGS} ${FFLAGS}"
fi
## --------------------------------------------------------------------
## Fortran source extention