Browse Source

* acinclude.m4 (MC_WITH_MCSLANG): Set screen_type to mcslang.
* configure.ac: Define USE_INCLUDED_SLANG if screen_type is mcslang.

Andrew V. Samoilov 20 years ago
parent
commit
3253bdf876
3 changed files with 10 additions and 1 deletions
  1. 5 0
      ChangeLog
  2. 1 1
      acinclude.m4
  3. 4 0
      configure.ac

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2004-10-12  Andrew V. Samoilov  <sav@bcs.zp.ua>
+
+	* 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  <szaszg@hu.inter.net> 
 
 	* syntax/perl.syntax: Fix highlight the hashes.

+ 1 - 1
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.

+ 4 - 0
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"