From 3253bdf8760760fe3b8c82e4a7dc4634161eda3d Mon Sep 17 00:00:00 2001 From: "Andrew V. Samoilov" Date: Tue, 12 Oct 2004 04:35:55 +0000 Subject: [PATCH] * acinclude.m4 (MC_WITH_MCSLANG): Set screen_type to mcslang. * configure.ac: Define USE_INCLUDED_SLANG if screen_type is mcslang. --- ChangeLog | 5 +++++ acinclude.m4 | 2 +- configure.ac | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 212f79c01..064f9bcf5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-10-12 Andrew V. Samoilov + + * acinclude.m4 (MC_WITH_MCSLANG): Set screen_type to mcslang. + * configure.ac: Define USE_INCLUDED_SLANG if screen_type is mcslang. + 2004-10-05 Gergely Sza'sz * syntax/perl.syntax: Fix highlight the hashes. diff --git a/acinclude.m4 b/acinclude.m4 index e39d500fa..123f11154 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -742,7 +742,7 @@ dnl dnl Use the included S-Lang library. dnl AC_DEFUN([MC_WITH_MCSLANG], [ - screen_type=slang + screen_type=mcslang screen_msg="Included S-Lang library (mcslang)" # Search for terminfo database. diff --git a/configure.ac b/configure.ac index 013713032..843f1d279 100644 --- a/configure.ac +++ b/configure.ac @@ -546,6 +546,10 @@ if test "$GLIBC21" != yes; then AC_DEFINE(USE_INCLUDED_REGEX, 1, [Use the regex included here]) fi +if test "x$with_screen" = xmcslang; then + AC_DEFINE(USE_INCLUDED_SLANG, 1, [Use the S-Lang included here]) +fi + if test x"$USE_MAINTAINER_MODE" = x"yes"; then if test x"${enable_gcc_warnings+set}" != x"set"; then CFLAGS="-Wall $CFLAGS"