[svn-r26990] Updated the F2003 error statement when find a nonF2003 compiler.

This commit is contained in:
Scot Breitenfeld
2015-05-01 11:32:52 -05:00
parent 2c575bb79a
commit 60960ec8a7
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@@ -5763,7 +5763,7 @@ rm -f core conftest.err conftest.$ac_objext \
if test "X$HAVE_F2003_REQUIREMENTS" = "Xno"; then
as_fn_error $? "Fortran compiler lacks required Fortran 2003 features; unsupported Fortran 2003 compiler, remove --enable-fortran2003" "$LINENO" 5
as_fn_error $? "Fortran compiler lacks required Fortran 2003 features; unsupported Fortran 2003 compiler, remove --enable-fortran" "$LINENO" 5
else
HAVE_FORTRAN_2003="yes"
fi

View File

@@ -406,7 +406,7 @@ if test "X$HDF_FORTRAN" = "Xyes"; then
PAC_PROG_FC_HAVE_F2003_REQUIREMENTS
if test "X$HAVE_F2003_REQUIREMENTS" = "Xno"; then
AC_MSG_ERROR([Fortran compiler lacks required Fortran 2003 features; unsupported Fortran 2003 compiler, remove --enable-fortran2003])
AC_MSG_ERROR([Fortran compiler lacks required Fortran 2003 features; unsupported Fortran 2003 compiler, remove --enable-fortran])
else
HAVE_FORTRAN_2003="yes"
fi