summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2015-03-19 15:38:27 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2015-03-19 15:38:27 (GMT)
commitc2c3294c2152a95e58ba595d65f0e7a1d1ca3e26 (patch)
tree73db31e5e911bba45a404347d562051c67d6570d /configure.ac
parent83beaf7e76cc89e3881bdcf21a06af5c76f0d6ec (diff)
downloadhdf5-c2c3294c2152a95e58ba595d65f0e7a1d1ca3e26.zip
hdf5-c2c3294c2152a95e58ba595d65f0e7a1d1ca3e26.tar.gz
hdf5-c2c3294c2152a95e58ba595d65f0e7a1d1ca3e26.tar.bz2
[svn-r26477] Removed COMMON and EQUIVALENCE usage from Fortran Source.
Also removed disabling shared when building Fortran on the Mac. These fixes should fix all the building shared with Fortran problems. HDF5-247 Also fixes array bounds starting from zero in H5Pff.f90 routines. Tested: h5committest
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac33
1 files changed, 2 insertions, 31 deletions
diff --git a/configure.ac b/configure.ac
index 57a23c2..77171c9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -653,44 +653,15 @@ AC_SUBST([RUNPARALLEL])
AC_SUBST([TESTPARALLEL])
## ----------------------------------------------------------------------
-## Fortran libraries are not currently supported on Mac. Disable them.
-## (this is overridable with --enable-unsupported).
+## Check for Fortran shared libraries.
##
AC_SUBST([H5_FORTRAN_SHARED])
H5_FORTRAN_SHARED="no"
if test "X${HDF_FORTRAN}" = "Xyes" && test "X${enable_shared}" != "Xno"; then
AC_MSG_CHECKING([if shared Fortran libraries are supported])
H5_FORTRAN_SHARED="yes"
-
- ## Disable fortran shared libraries on Mac. (MAM - 03/30/11)
-
- case "`uname`" in
- Darwin*)
- H5_FORTRAN_SHARED="no"
- CHECK_WARN="Shared Fortran libraries not currently supported on Mac."
- ;;
- esac
-
- ## Report results of check(s)
-
- if test "X${H5_FORTRAN_SHARED}" = "Xno"; then
- AC_MSG_RESULT([no])
- AC_MSG_WARN([$CHECK_WARN])
- if test "X${ALLOW_UNSUPPORTED}" != "Xyes"; then
- AC_MSG_WARN([Disabling shared Fortran libraries.])
- AC_MSG_WARN([To override this behavior, please use --enable-unsupported configure option.])
- if test "X${enable_static}" = "Xno"; then
- AC_MSG_ERROR([both static and shared Fortran libraries are disabled])
- fi
- else
- AC_MSG_WARN([Allowing unsupported Fortran shared libraries due to use of --enable-unsupported flag])
- H5_FORTRAN_SHARED="yes"
- fi
- else
- AC_MSG_RESULT([yes])
- fi
+ AC_MSG_RESULT([yes])
fi
-
AM_CONDITIONAL([FORTRAN_SHARED_CONDITIONAL], [test "X$H5_FORTRAN_SHARED" = "Xyes"])
## ----------------------------------------------------------------------