From: Matt Birkholz Date: Wed, 9 May 2012 22:45:42 +0000 (-0700) Subject: microcode/configure.ac: error if --with-termcap=no on Unix. X-Git-Tag: release-9.2.0~247^2~14 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=b564905756be18c5bfe53c7656f54cda4e44de77;p=mit-scheme.git microcode/configure.ac: error if --with-termcap=no on Unix. The build will fail without a termcap-ish library in LIBS because of references to e.g. tgetent in uxtty.c. --- diff --git a/src/microcode/configure.ac b/src/microcode/configure.ac index 1acd4980b..3e2e3a32b 100644 --- a/src/microcode/configure.ac +++ b/src/microcode/configure.ac @@ -164,6 +164,11 @@ AC_ARG_WITH([termcap], AS_HELP_STRING([--with-termcap], [Use a termcap library if available [[yes]]])) : ${with_termcap='yes'} +if test "x${with_termcap}" = xno; then + dnl On Unix (in uxtty.c) primitives like tty-command-clear require + dnl some kind of termcap. A build without-termcap is not possible. + AC_MSG_ERROR([--without-termcap is not supported on Unix systems]) +fi dnl For reasons I don't understand, it is necessary to use dnl quadigraphs here instead of [[ ... ]].