summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2011-08-23 21:18:19 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2011-08-23 21:18:19 (GMT)
commitbe904e0eae88d92d8014c879e0464f3dba144316 (patch)
tree3f67c76fc24c85c4d424577e3a434b8bd95e6233 /configure.in
parentdc09f2117c885b28ef2bcedcaebe25298ac1a787 (diff)
downloadhdf5-be904e0eae88d92d8014c879e0464f3dba144316.zip
hdf5-be904e0eae88d92d8014c879e0464f3dba144316.tar.gz
hdf5-be904e0eae88d92d8014c879e0464f3dba144316.tar.bz2
[svn-r21303] Removed duplicated INSTALL_SCRIPT_FILES macro from fortran/examples and fixed an autotools warning from the Fortran 2003 configure.in changes. Tested on jam (minor changes).
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 4 insertions, 5 deletions
diff --git a/configure.in b/configure.in
index 2d632e2..f245818 100644
--- a/configure.in
+++ b/configure.in
@@ -529,11 +529,10 @@ if test "X$HDF_FORTRAN" = "Xyes"; then
AC_MSG_CHECKING([if Fortran compiler supports ISO_C_BINDING module])
- AC_TRY_COMPILE(,[
- USE iso_c_binding
- ], [AC_MSG_RESULT(yes)
- HAVE_ISO_C_BINDING="yes"],
- AC_MSG_RESULT(no))
+ AC_COMPILE_IFELSE(AC_LANG_PROGRAM([],[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])