move cfg-racket to cfg-bc

This commit is contained in:
Matthew Flatt 2020-07-29 08:58:42 -06:00
parent 7c256a051d
commit ea096e1989
3 changed files with 6 additions and 6 deletions

View File

@ -310,5 +310,5 @@ ON_RECONFIG = no
reconfigure:
$(MAKE) Makefile NO_RECONFIG=no ON_RECONFIG=
Makefile$(ON_RECONFIG): $(srcdir)/configure $(srcdir)/cfg-racket $(srcdir)/cfg-cs $(SRC_MAKEFILES)
Makefile$(ON_RECONFIG): $(srcdir)/configure $(srcdir)/cfg-bc $(srcdir)/cfg-cs $(SRC_MAKEFILES)
$(srcdir)/configure $(CONFIGURE_ARGS_qq) $(MORE_CONFIGURE_ARGS)

10
racket/src/configure vendored
View File

@ -1,9 +1,9 @@
#! /bin/sh
# Using `--enable-csdefault` or `--enable-csonly` avoids running
# `cfg-racket` and only uses `cfg-cs` and `cs/c/configure`.
# `cfg-bc` and only uses `cfg-cs` and `cs/c/configure`.
# Using `--enable-cs` uses both `cfg-racket` and `cs/c/configure`.
# Using `--enable-cs` uses both `cfg-bc` and `cs/c/configure`.
set -e
@ -30,7 +30,7 @@ for arg in $*; do
exit 0
;;
--help-racket)
exec "$dir/cfg-racket" --help
exec "$dir/cfg-bc" --help
;;
--help-cs)
exec "$dir/cs/c/configure" --help
@ -41,7 +41,7 @@ done
if test "$use_cs" = "yes" ; then
# The "cs/c/configure" script doesn't report the installation
# configuration, so we run it first and let "cfg-cs" or
# "cfg-racket" report that information.
# "cfg-bc" report that information.
mkdir -p cs/c
case "$dir" in
@ -57,5 +57,5 @@ fi
if test "$use_racket" = "no" ; then
exec "$dir/cfg-cs" ${1+"$@"}
else
exec "$dir/cfg-racket" ${1+"$@"}
exec "$dir/cfg-bc" ${1+"$@"}
fi