From: Chris Hanson Date: Fri, 8 Dec 2000 17:56:34 +0000 (+0000) Subject: Use autoconf for top-level Makefile. X-Git-Tag: 20090517-FFI~3088 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=d8df7816c43701b28512d06bfb5255157a9a9284;p=mit-scheme.git Use autoconf for top-level Makefile. --- diff --git a/v7/src/Setup.sh b/v7/src/Setup.sh index e651dfeab..caf366b77 100755 --- a/v7/src/Setup.sh +++ b/v7/src/Setup.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: Setup.sh,v 1.3 2000/12/08 17:53:58 cph Exp $ +# $Id: Setup.sh,v 1.4 2000/12/08 17:56:34 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -55,7 +55,10 @@ maybe_mkdir lib/edwin/etc maybe_mkdir lib/edwin/info maybe_link lib/edwin/autoload ../../edwin -for SUBDIR in "$@"; do +SUBDIRS="" + +for SUBDIR in 6001 compiler cref edwin imail microcode rcs \ + runtime runtime-check sf sos win32; do echo "setting up ${SUBDIR}" maybe_link ${SUBDIR}/Setup.sh ../etc/Setup.sh ( cd ${SUBDIR} && ./Setup.sh ) || exit 1 diff --git a/v7/src/microcode/Setup.sh b/v7/src/microcode/Setup.sh index 29f421b4b..76a81d391 100755 --- a/v7/src/microcode/Setup.sh +++ b/v7/src/microcode/Setup.sh @@ -1,6 +1,6 @@ #!/bin/sh -# $Id: Setup.sh,v 1.2 2000/12/06 05:24:12 cph Exp $ +# $Id: Setup.sh,v 1.3 2000/12/08 17:53:58 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -21,6 +21,14 @@ # Program to set up MIT Scheme microcode from CVS for distribution. # Requires `gcc' and `scheme'. +if [ ! -f config.h.in ]; then + echo "autoheader" + autoheader +fi +if [ ! -x configure ]; then + echo "autoconf" + autoconf +fi makegen/makeinit.sh make setup make distclean diff --git a/v7/src/microcode/makegen/makeinit.sh b/v7/src/microcode/makegen/makeinit.sh index 38711c904..f143cc755 100755 --- a/v7/src/microcode/makegen/makeinit.sh +++ b/v7/src/microcode/makegen/makeinit.sh @@ -1,6 +1,6 @@ #!/bin/sh -# $Id: makeinit.sh,v 1.6 2000/12/06 05:24:17 cph Exp $ +# $Id: makeinit.sh,v 1.7 2000/12/08 17:53:58 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -18,14 +18,8 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -# Script to create "config.h.in", "configure", and "Makefile.in". -# Requires GCC and MIT Scheme. - -# generate "config.h.in" from "acconfig.h". -autoheader - -# generate "configure" from "configure.in". -autoconf +# Script to create "Makefile.in". +# Requires `gcc' and `scheme'. # generate "config.h". [ -f Makefile.in ] || touch Makefile.in