From 68bf0eabcd1f4334272e3abd2428aa8567bec089 Mon Sep 17 00:00:00 2001
From: Matt Birkholz <matt@birchwood-abbey.net>
Date: Fri, 25 Mar 2016 10:44:13 -0700
Subject: [PATCH] plugin configure.acs: Prune unused AC_SUBST and, in gdbm,
 config.h.

---
 src/blowfish/configure.ac |  3 ---
 src/gdbm/configure.ac     | 28 ----------------------------
 src/mcrypt/configure.ac   |  2 --
 src/md5/configure.ac      |  3 ---
 src/mhash/configure.ac    |  3 ---
 5 files changed, 39 deletions(-)

diff --git a/src/blowfish/configure.ac b/src/blowfish/configure.ac
index 44f404710..00a43360a 100644
--- a/src/blowfish/configure.ac
+++ b/src/blowfish/configure.ac
@@ -99,9 +99,6 @@ MIT_SCHEME_ARCH=`echo "(display microcode-id/compiled-code-type)" \
 MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
 		 | ${MIT_SCHEME_EXE} --batch-mode`
 
-AC_SUBST([LIBS])
-AC_SUBST([CPPFLAGS])
-AC_SUBST([LDFLAGS])
 AC_SUBST([MIT_SCHEME_EXE])
 AC_SUBST([MIT_SCHEME_ARCH])
 AC_SUBST([MIT_SCHEME_OS_SUFFIX])
diff --git a/src/gdbm/configure.ac b/src/gdbm/configure.ac
index f8c2dd4a2..7abf677d3 100644
--- a/src/gdbm/configure.ac
+++ b/src/gdbm/configure.ac
@@ -6,7 +6,6 @@ AC_INIT([MIT/GNU Scheme gdbm plugin],
         [bug-mit-scheme@gnu.org],
         [mit-scheme-gdbm])
 AC_CONFIG_SRCDIR([gdbm.pkg])
-AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_MACRO_DIR([m4])
 
 AC_COPYRIGHT(
@@ -33,32 +32,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
 USA.
 ])
 
-AH_TOP([/*
-
-Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
-    1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016
-    Massachusetts Institute of Technology
-
-This file is part of MIT/GNU Scheme.
-
-MIT/GNU Scheme is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or (at
-your option) any later version.
-
-MIT/GNU Scheme is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with MIT/GNU Scheme; if not, write to the Free Software
-Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
-USA.
-
-*/])
-
 AM_INIT_AUTOMAKE
 
 AC_PROG_LIBTOOL
@@ -81,7 +54,6 @@ MIT_SCHEME_ARCH=`echo "(display microcode-id/compiled-code-type)" \
 MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
 		 | ${MIT_SCHEME_EXE} --batch-mode`
 
-AC_SUBST([LIBS])
 AC_SUBST([MIT_SCHEME_EXE])
 AC_SUBST([MIT_SCHEME_ARCH])
 AC_SUBST([MIT_SCHEME_OS_SUFFIX])
diff --git a/src/mcrypt/configure.ac b/src/mcrypt/configure.ac
index 8d5828a68..9ecaa099a 100644
--- a/src/mcrypt/configure.ac
+++ b/src/mcrypt/configure.ac
@@ -80,8 +80,6 @@ MIT_SCHEME_ARCH=`echo "(display microcode-id/compiled-code-type)" \
 MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
 		 | ${MIT_SCHEME_EXE} --batch-mode`
 
-AC_SUBST([CFLAGS])
-AC_SUBST([LIBS])
 AC_SUBST([MIT_SCHEME_EXE])
 AC_SUBST([MIT_SCHEME_ARCH])
 AC_SUBST([MIT_SCHEME_OS_SUFFIX])
diff --git a/src/md5/configure.ac b/src/md5/configure.ac
index 6e56c25a3..85f83d9c3 100644
--- a/src/md5/configure.ac
+++ b/src/md5/configure.ac
@@ -99,9 +99,6 @@ MIT_SCHEME_ARCH=`echo "(display microcode-id/compiled-code-type)" \
 MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
 		 | ${MIT_SCHEME_EXE} --batch-mode`
 
-AC_SUBST([LIBS])
-AC_SUBST([CPPFLAGS])
-AC_SUBST([LDFLAGS])
 AC_SUBST([MIT_SCHEME_EXE])
 AC_SUBST([MIT_SCHEME_ARCH])
 AC_SUBST([MIT_SCHEME_OS_SUFFIX])
diff --git a/src/mhash/configure.ac b/src/mhash/configure.ac
index 731678f91..370d598d5 100644
--- a/src/mhash/configure.ac
+++ b/src/mhash/configure.ac
@@ -81,9 +81,6 @@ MIT_SCHEME_ARCH=`echo "(display microcode-id/compiled-code-type)" \
 MIT_SCHEME_OS_SUFFIX=`echo "(display (microcode-id/operating-system-suffix))" \
 		 | ${MIT_SCHEME_EXE} --batch-mode`
 
-AC_SUBST([LIBS])
-AC_SUBST([CPPFLAGS])
-AC_SUBST([LDFLAGS])
 AC_SUBST([MIT_SCHEME_EXE])
 AC_SUBST([MIT_SCHEME_ARCH])
 AC_SUBST([MIT_SCHEME_OS_SUFFIX])
-- 
2.25.1