autoconf: {f77-name-mangling}

From 9345ca6dabf23fd5972a0794349ab44a1ff05494 Mon Sep 17 00:00:00 2001
From: "Matthew D. Langston" <[EMAIL REDACTED]>
Date: Wed, 2 Jun 1999 12:52:25 +0000
Subject: [PATCH] {f77-name-mangling}

---
 ChangeLog | 30 ++++++++++++++++++++++++++++++
 TODO      | 12 ++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index e12b6188..1ef1fe96 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,33 @@
+1999-06-02  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
+
+	* acconfig.h (F77_FUNC): Add.
+	(F77_FUNC_): Likewise.
+
+1999-05-30  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
+
+	* autoheader.m4 (AC_DEFINE): Ignore CPP macro arguments.
+	(AC_DEFINE_UNQUOTED): Likewise.
+	
+	* acgeneral.m4 (AC_OUTPUT_MAKE_DEFS): Change sed regexps to
+	recognize CPP macros that take arguments.  Reported, and based on
+	a patch, by Steven G. Johnson <stevenj@alum.mit.edu>.
+	(AC_OUTPUT_HEADER): Likewise.
+
+	* autoconf.texi (Fortran 77 Compiler Characteristics): Document
+	new AC_F77_NAME_MANGLING macro.
+
+1999-05-30  Steven G. Johnson <stevenj@alum.mit.edu>
+
+	* autoconf.texi (Fortran 77 Compiler Characteristics): Document
+	new AC_F77_FUNC_WRAPPER macro.
+
+	* acspecific.m4 (AC_F77_WRAPPERS): New macro to define the
+	F77_FUNC and F77_FUNC_ CPP macros to properly mangle the names of
+	C identifiers so that they match the name mangling scheme used by
+	the Fortran 77 compiler.
+	(AC_F77_NAME_MANGLING): New macro to test for the name mangling
+	scheme used by the Fortran 77 compiler.
+
 1999-05-27  Matthew D. Langston  <langston@SLAC.Stanford.EDU>
 
 	* acgeneral.m4 (AC_CHECK_LIB): Translate the ":" character to a
diff --git a/TODO b/TODO
index 424dd1a7..1749ac96 100644
--- a/TODO
+++ b/TODO
@@ -6,6 +6,18 @@ these suggestions... their presence here doesn't imply my endorsement.
 
 ------------------------------------------------------------------------------
 
+* Matthew D. Langston's suggestions:
+
+** Ensure that "make check" uses only the files from the build tree.  It
+   currently uses some of the installed files from previously installed
+   versions of Autoconf, like autoheader.m4f.
+
+** Give autoheader.sh the capability to use a local version of
+   autoheader.m4.  It currently always uses the installed frozen version
+   autoheader.m4f.
+
+------------------------------------------------------------------------------
+
 * Write an automake Makefile.am to replace the existing Makefile.in.
 
 ------------------------------------------------------------------------------