summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2011-08-31 02:48:19 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2011-08-31 02:48:19 (GMT)
commit857bb0f9e24c166c7420d9ddcdcc77da19348a2d (patch)
treeedae06a47230f22723577869409086fc39d503d3 /configure.in
parentcfc376080860337f8f7a6716ed50e9d123eb7176 (diff)
downloadhdf5-857bb0f9e24c166c7420d9ddcdcc77da19348a2d.zip
hdf5-857bb0f9e24c166c7420d9ddcdcc77da19348a2d.tar.gz
hdf5-857bb0f9e24c166c7420d9ddcdcc77da19348a2d.tar.bz2
[svn-r21338] Description: Added a check: if --enable-fortran2003 was specified and a compiler is not on an approved list of compilers that support f2003, then configure will now return an error and stop.
Tested: jam
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 2aa2fac..499b428 100644
--- a/configure.in
+++ b/configure.in
@@ -620,6 +620,13 @@ if test "X$HDF_FORTRAN" = "Xyes"; then
fi
fi
fi
+
+ dnl A valid F2003 compiler version was not found, return error message and exit
+ if test "X$HAVE_FORTRAN_2003" = "Xno"; then
+ echo $HAVE_FORTRAN_2003
+ AC_MSG_ERROR([Failed to find a supported F2003 compiler; remove --enable-fortran2003])
+ fi
+
fi
fi