From a6881e088c623d350753154a5609495adccf4334 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Wed, 3 May 2000 10:08:37 +0000 Subject: [PATCH] Rename the language FORTRAN77 as Fortran 77. * aclang.m4 (AC_LANG(FORTRAN77), AC_LANG_SOURCE(FORTRAN77), AC_LANG_PROGRAM(FORTRAN77), AC_LANG_CALL(FORTRAN77)): Rename as... (AC_LANG(Fortran 77), AC_LANG_SOURCE(Fortran 77), AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77)): This. (AC_LANG_FORTRAN77): Adjust. --- ChangeLog | 10 ++++++++++ aclang.m4 | 32 ++++++++++++++++---------------- lib/autoconf/c.m4 | 32 ++++++++++++++++---------------- lib/autoconf/fortran.m4 | 32 ++++++++++++++++---------------- lib/autoconf/lang.m4 | 32 ++++++++++++++++---------------- 5 files changed, 74 insertions(+), 64 deletions(-) diff --git a/ChangeLog b/ChangeLog index 306bbc70..b65a137b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2000-05-03 Akim Demaille + + Rename the language FORTRAN77 as Fortran 77. + + * aclang.m4 (AC_LANG(FORTRAN77), AC_LANG_SOURCE(FORTRAN77), + AC_LANG_PROGRAM(FORTRAN77), AC_LANG_CALL(FORTRAN77)): Rename as... + (AC_LANG(Fortran 77), AC_LANG_SOURCE(Fortran 77), + AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77)): This. + (AC_LANG_FORTRAN77): Adjust. + 2000-05-03 Akim Demaille Provide a macro to canonicalize a configuration name. diff --git a/aclang.m4 b/aclang.m4 index 6f32873f..5be23cb9 100644 --- a/aclang.m4 +++ b/aclang.m4 @@ -269,9 +269,9 @@ define([AC_LANG_CALL(C++)], defn([AC_LANG_CALL(C)])) # ------------------------- # -# AC_LANG(FORTRAN77) -# ------------------ -define([AC_LANG(FORTRAN77)], +# AC_LANG(Fortran 77) +# ------------------- +define([AC_LANG(Fortran 77)], [ac_ext=f ac_compile='${F77-f77} -c $FFLAGS conftest.$ac_ext >&AC_FD_LOG' ac_link='${F77-f77} -o conftest${ac_exeext} $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&AC_FD_LOG' @@ -281,31 +281,31 @@ cross_compiling=$ac_cv_prog_f77_cross # AC_LANG_FORTRAN77 # ----------------- -AU_DEFUN([AC_LANG_FORTRAN77], [AC_LANG(FORTRAN77)]) +AU_DEFUN([AC_LANG_FORTRAN77], [AC_LANG(Fortran 77)]) -# AC_LANG_SOURCE(FORTRAN77)(BODY) -# ------------------------------- +# AC_LANG_SOURCE(Fortran 77)(BODY) +# -------------------------------- # FIXME: Apparently, according to former AC_TRY_COMPILER, the CPP # directives must not be included. But AC_TRY_RUN_NATIVE was not # avoiding them, so? -define([AC_LANG_SOURCE(FORTRAN77)], +define([AC_LANG_SOURCE(Fortran 77)], [$1]) -# AC_LANG_PROGRAM(FORTRAN77)(PROLOGUE, BODY) -# ------------------------------------------ +# AC_LANG_PROGRAM(Fortran 77)(PROLOGUE, BODY) +# ------------------------------------------- # Yes, we discard the PROLOGUE. -define([AC_LANG_PROGRAM(FORTRAN77)], +define([AC_LANG_PROGRAM(Fortran 77)], [ program main $2 end]) -# AC_LANG_CALL(FORTRAN77)(PROLOGUE, FUNCTION) -# ------------------------------------------- +# AC_LANG_CALL(Fortran 77)(PROLOGUE, FUNCTION) +# -------------------------------------------- # FIXME: This is a guess, help! -define([AC_LANG_CALL(FORTRAN77)], +define([AC_LANG_CALL(Fortran 77)], [AC_LANG_PROGRAM([$1], [ call $2])]) @@ -717,7 +717,7 @@ fi AC_DEFUN(AC_PROG_F77_WORKS, [AC_MSG_CHECKING([whether the Fortran 77 compiler ($F77 $FFLAGS $LDFLAGS) works]) AC_LANG_SAVE()dnl -AC_LANG(FORTRAN77) +AC_LANG(Fortran 77) AC_TRY_COMPILER( [ program conftest end @@ -1207,7 +1207,7 @@ AC_DEFUN(AC_F77_LIBRARY_LDFLAGS, AC_REQUIRE([AC_CYGWIN])dnl AC_LANG_SAVE()dnl -AC_LANG(FORTRAN77) +AC_LANG(Fortran 77) # This is the simplest of all Fortran 77 programs. cat >conftest.$ac_ext <conftest.$ac_ext <conftest.$ac_ext <conftest.$ac_ext <conftest.$ac_ext <conftest.$ac_ext <conftest.$ac_ext <conftest.$ac_ext <