cs: disable use of ncurses when building Chez Scheme

RacketCS doesn't currently access the Chez Scheme expeditor, and
avoiding curses make the build work in a more mininal environment.
This commit is contained in:
Matthew Flatt 2018-10-22 19:18:35 -06:00
parent aa6ec1f0cd
commit cbd195201a
2 changed files with 10 additions and 2 deletions

View File

@ -3635,6 +3635,7 @@ fi
MACH_HOST_CPU="${host_cpu}" MACH_HOST_CPU="${host_cpu}"
extra_scheme_config_args= extra_scheme_config_args=
disable_curses_arg=--disable-curses
case "$host_os" in case "$host_os" in
solaris2*) solaris2*)
@ -3764,6 +3765,9 @@ case "$host_os" in
# -pthread is not needed and triggers a warning # -pthread is not needed and triggers a warning
use_flag_pthread=no use_flag_pthread=no
# ncurses.h is always available
disable_curses_arg=""
;; ;;
nto-qnx*) nto-qnx*)
MACH_OS=qnx MACH_OS=qnx
@ -3823,7 +3827,7 @@ if test "${enable_mach}" != "" ; then
MACH="${enable_mach}" MACH="${enable_mach}"
fi fi
SCHEME_CONFIG_ARGS="--machine=${MACH} ${thread_config_arg} ${extra_scheme_config_args}" SCHEME_CONFIG_ARGS="--machine=${MACH} ${thread_config_arg} --disable-x11 ${disable_curses_arg} ${extra_scheme_config_args}"
if test "${enable_compress}" = "yes" ; then if test "${enable_compress}" = "yes" ; then
COMPRESS_COMP="--compress" COMPRESS_COMP="--compress"

View File

@ -126,6 +126,7 @@ AC_CHECK_LIB(dl, dlopen)
MACH_HOST_CPU="${host_cpu}" MACH_HOST_CPU="${host_cpu}"
extra_scheme_config_args= extra_scheme_config_args=
disable_curses_arg=--disable-curses
case "$host_os" in case "$host_os" in
solaris2*) solaris2*)
@ -201,6 +202,9 @@ case "$host_os" in
# -pthread is not needed and triggers a warning # -pthread is not needed and triggers a warning
use_flag_pthread=no use_flag_pthread=no
# ncurses.h is always available
disable_curses_arg=""
;; ;;
nto-qnx*) nto-qnx*)
MACH_OS=qnx MACH_OS=qnx
@ -260,7 +264,7 @@ if test "${enable_mach}" != "" ; then
MACH="${enable_mach}" MACH="${enable_mach}"
fi fi
SCHEME_CONFIG_ARGS="--machine=${MACH} ${thread_config_arg} ${extra_scheme_config_args}" SCHEME_CONFIG_ARGS="--machine=${MACH} ${thread_config_arg} --disable-x11 ${disable_curses_arg} ${extra_scheme_config_args}"
if test "${enable_compress}" = "yes" ; then if test "${enable_compress}" = "yes" ; then
COMPRESS_COMP="--compress" COMPRESS_COMP="--compress"