mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-24 15:25:00 +08:00
[svn-r21304] Backed out bad Fortran test.
This commit is contained in:
parent
be904e0eae
commit
dfd8d5c9fe
@ -529,10 +529,11 @@ if test "X$HDF_FORTRAN" = "Xyes"; then
|
||||
|
||||
AC_MSG_CHECKING([if Fortran compiler supports ISO_C_BINDING module])
|
||||
|
||||
AC_COMPILE_IFELSE(AC_LANG_PROGRAM([],[USE iso_c_binding]),
|
||||
[AC_MSG_RESULT(yes) HAVE_ISO_C_BINDING="yes"],
|
||||
AC_MSG_RESULT(no)
|
||||
)
|
||||
AC_TRY_COMPILE(,[
|
||||
USE iso_c_binding
|
||||
], [AC_MSG_RESULT(yes)
|
||||
HAVE_ISO_C_BINDING="yes"],
|
||||
AC_MSG_RESULT(no))
|
||||
|
||||
if test "X$HAVE_ISO_C_BINDING" = "Xno"; then
|
||||
AC_MSG_ERROR([Fortran compiler does not have ISO_C_BINDING; unsupported Fortran 2003 compiler, remove --enable-fortran2003])
|
||||
|
Loading…
Reference in New Issue
Block a user