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:
parent
aa6ec1f0cd
commit
cbd195201a
6
racket/src/cs/c/configure
vendored
6
racket/src/cs/c/configure
vendored
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user