Use -MM option to gcc in makegen-cc to generate header file lists,
authorTaylor R. Campbell <net/mumble/campbell>
Sun, 25 Dec 2005 05:59:46 +0000 (05:59 +0000)
committerTaylor R. Campbell <net/mumble/campbell>
Sun, 25 Dec 2005 05:59:46 +0000 (05:59 +0000)
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.

v7/src/microcode/configure.ac

index 0ae41778246f880819217a290871502f9f674192..8bf59a77be65577ccc5fbed0a9ad0f58cc35f272 100644 (file)
@@ -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