From 60960ec8a7d0e3d8cca85d18b6894eeb2c1e3748 Mon Sep 17 00:00:00 2001 From: Scot Breitenfeld Date: Fri, 1 May 2015 11:32:52 -0500 Subject: [svn-r26990] Updated the F2003 error statement when find a nonF2003 compiler. --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 4f26f17..a886828 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.ac b/configure.ac index 9afb028..701682a 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- cgit v0.12