configure: switch default from BC to CS

This change brings the top-level makefile and `configure` back in
sync, but it affect source distributions by changing the `configure`
default there.
This commit is contained in:
Matthew Flatt 2020-08-02 06:19:17 -06:00
parent 093fcd1bc7
commit e6752e9afc
9 changed files with 14 additions and 14 deletions

View File

@ -114,6 +114,7 @@ jobs:
./configure
--prefix=/usr/local/racket3m
--enable-werror
--enable-bcdefault
--enable-racket=/usr/local/racketcgc/bin/racket
--enable-foreign
--enable-float

View File

@ -99,6 +99,7 @@ jobs:
--prefix=$GITHUB_WORKSPACE/racket3m
$RACKET_EXTRA_CONFIGURE_ARGS
--enable-racket=$GITHUB_WORKSPACE/racketcgc/bin/racket
--enable-bcdefault
--enable-jit
--enable-foreign
--enable-macprefix

View File

@ -28,6 +28,7 @@ jobs:
shell: cmd
run: |
call msvcprep.bat x86_amd64
set UNDERSCORE_BC_SUFFIX=_
call build.bat
- name: Build CS
working-directory: .\racket\src\worksp

View File

@ -101,6 +101,7 @@ jobs:
./configure
CFLAGS="-O0 -g"
CPPFLAGS="-DMZ_PRECISE_RETURN_SPEC"
--enable-bcdefault
--disable-strip
--enable-racket=/usr/bin/racket
--enable-werror

View File

@ -44,8 +44,8 @@ fi
if test "${enable_csdefault}" = "" ; then
if test "${enable_bcdefault}" = "" ; then
# Pick a default default here, but make it consistent with "src/configure"
enable_bcdefault=yes
enable_csdefault=no
enable_csdefault=yes
enable_bcdefault=no
fi
fi

View File

@ -3275,8 +3275,8 @@ fi
if test "${enable_csdefault}" = "" ; then
if test "${enable_bcdefault}" = "" ; then
# Pick a default default here, but make it consistent with "src/configure"
enable_bcdefault=yes
enable_csdefault=no
enable_csdefault=yes
enable_bcdefault=no
fi
fi

View File

@ -2299,8 +2299,8 @@ fi
if test "${enable_csdefault}" = "" ; then
if test "${enable_bcdefault}" = "" ; then
# Pick a default default here, but make it consistent with "src/configure"
enable_bcdefault=yes
enable_csdefault=no
enable_csdefault=yes
enable_bcdefault=no
fi
fi

View File

@ -54,8 +54,8 @@ done
# Select default build if none specified:
if test "$use_bc" = maybe ; then
if test "$use_cs" = maybe ; then
use_cs=no
use_bc=yes
use_cs=yes
use_bc=no
elif test "$use_cs" = no ; then
use_bc=yes
elif test -d "$pb_dir" -o $supplied_racket = yes ; then
@ -70,10 +70,6 @@ elif test "$use_cs" = "maybe" ; then
fi
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-bc" report that information.
if test $use_bc = no -a $supplied_racket = no -a ! -d "$pb_dir" ; then
echo $0: must have $pb_dir or --enable-racket=... for --enable-csonly
exit 1

View File

@ -2845,8 +2845,8 @@ fi
if test "${enable_csdefault}" = "" ; then
if test "${enable_bcdefault}" = "" ; then
# Pick a default default here, but make it consistent with "src/configure"
enable_bcdefault=yes
enable_csdefault=no
enable_csdefault=yes
enable_bcdefault=no
fi
fi