From: Taylor R. Campbell Date: Sun, 25 Dec 2005 05:59:46 +0000 (+0000) Subject: Use -MM option to gcc in makegen-cc to generate header file lists, X-Git-Tag: 20090517-FFI~1145 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=f81f0d1afce8921a4cd4fc380eda35a837ae9c4d;p=mit-scheme.git Use -MM option to gcc in makegen-cc to generate header file lists, not -M; -MM inhibits inclusion of system files, which not only are superfluous but also, if absent, cause errors to be silently inserted into the resultant Makefiles, which make then chokes on. --- diff --git a/v7/src/microcode/configure.ac b/v7/src/microcode/configure.ac index 0ae417782..8bf59a77b 100644 --- a/v7/src/microcode/configure.ac +++ b/v7/src/microcode/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT([MIT/GNU Scheme], [14.16], [bug-mit-scheme@gnu.org], [mit-scheme]) -AC_REVISION([$Id: configure.ac,v 1.6 2005/06/26 05:36:52 cph Exp $]) +AC_REVISION([$Id: configure.ac,v 1.7 2005/12/25 05:59:46 riastradh Exp $]) AC_CONFIG_SRCDIR([boot.c]) AC_CONFIG_HEADERS([config.h]) AC_PROG_MAKE_SET @@ -883,7 +883,7 @@ AC_OUTPUT # Make custom compilation program for "makegen.scm". rm -f makegen-cc echo "#!/bin/sh" > makegen-cc -echo "exec gcc -M -DMIT_SCHEME ${CPPFLAGS} \"\${1}\"" >> makegen-cc +echo "exec gcc -MM -DMIT_SCHEME ${CPPFLAGS} \"\${1}\"" >> makegen-cc chmod +x makegen-cc if test "${MODULE_RULES}" != "/dev/null"; then