diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2015-02-03 15:42:15 (GMT) |
---|---|---|
committer | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2015-02-03 15:42:15 (GMT) |
commit | 8a528170ec8335e870aad2c795a6d7b751015250 (patch) | |
tree | 3ecd894999a8b0bb2492ae2e01816b0134b300d0 /configure.ac | |
parent | cbf280a22d2f5aa378cb6faeef28b324b1c8ada5 (diff) | |
download | hdf5-8a528170ec8335e870aad2c795a6d7b751015250.zip hdf5-8a528170ec8335e870aad2c795a6d7b751015250.tar.gz hdf5-8a528170ec8335e870aad2c795a6d7b751015250.tar.bz2 |
[svn-r26117] Autotools work HDFFV-9067,
Removed restiction of disabling shared libraries on the MAC, H5_FORTRAN_SHARED was replaced with HAVE_SHARED_CONDITIONAL since H5_FORTRAN_SHARED was removed.
tested: jam
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/configure.ac b/configure.ac index b148f28..91169f6 100644 --- a/configure.ac +++ b/configure.ac @@ -647,47 +647,6 @@ AC_SUBST([RUNPARALLEL]) AC_SUBST([TESTPARALLEL]) ## ---------------------------------------------------------------------- -## Fortran libraries are not currently supported on Mac. Disable them. -## (this is overridable with --enable-unsupported). -## -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 -fi - -AM_CONDITIONAL([FORTRAN_SHARED_CONDITIONAL], [test "X$H5_FORTRAN_SHARED" = "Xyes"]) - -## ---------------------------------------------------------------------- ## Disable C++ shared libraries if +DD64 flag is detected. ## AC_SUBST([H5_CXX_SHARED]) |