diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2011-08-31 02:48:19 (GMT) |
---|---|---|
committer | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2011-08-31 02:48:19 (GMT) |
commit | 857bb0f9e24c166c7420d9ddcdcc77da19348a2d (patch) | |
tree | edae06a47230f22723577869409086fc39d503d3 /configure | |
parent | cfc376080860337f8f7a6716ed50e9d123eb7176 (diff) | |
download | hdf5-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')
-rwxr-xr-x | configure | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Id: configure.in 21315 2011-08-25 22:02:21Z derobins . +# From configure.in Id: configure.in 21329 2011-08-28 14:29:14Z hdftest . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.68 for HDF5 1.9.90. # @@ -6434,6 +6434,12 @@ $as_echo_n "checking if Fortran compiler version compatible with Fortran 2003 HD fi fi fi + + if test "X$HAVE_FORTRAN_2003" = "Xno"; then + echo $HAVE_FORTRAN_2003 + as_fn_error $? "Failed to find a supported F2003 compiler; remove --enable-fortran2003" "$LINENO" 5 + fi + fi fi |