mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 01:54:24 +03:00
* acinclude.m4 (MC_WITH_SLANG): Partly restore original order of
checks and add a comment with a warning. From Pavel S. Shirshov <me@pavelsh.pp.ru>
This commit is contained in:
parent
21cc7b340f
commit
a4cf54d41c
@ -1,5 +1,9 @@
|
|||||||
2005-03-19 Pavel Roskin <proski@gnu.org>
|
2005-03-19 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* acinclude.m4 (MC_WITH_SLANG): Partly restore original order of
|
||||||
|
checks and add a comment with a warning.
|
||||||
|
From Pavel S. Shirshov <me@pavelsh.pp.ru>
|
||||||
|
|
||||||
* acinclude.m4 (MC_WITH_SLANG): Reorder checks. Move termcap
|
* acinclude.m4 (MC_WITH_SLANG): Reorder checks. Move termcap
|
||||||
checks ...
|
checks ...
|
||||||
(MC_SLANG_TERMCAP): ... here.
|
(MC_SLANG_TERMCAP): ... here.
|
||||||
|
@ -756,6 +756,12 @@ AC_DEFUN([MC_WITH_SLANG], [
|
|||||||
with_screen=mcslang
|
with_screen=mcslang
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl Check if termcap is needed.
|
||||||
|
dnl This check must be done before anything is linked against S-Lang.
|
||||||
|
if test x$with_screen = xslang; then
|
||||||
|
MC_SLANG_TERMCAP
|
||||||
|
fi
|
||||||
|
|
||||||
dnl Check the library
|
dnl Check the library
|
||||||
if test x$with_screen = xslang; then
|
if test x$with_screen = xslang; then
|
||||||
AC_CHECK_LIB([slang], [SLang_init_tty], [MCLIBS="$MCLIBS -lslang"],
|
AC_CHECK_LIB([slang], [SLang_init_tty], [MCLIBS="$MCLIBS -lslang"],
|
||||||
@ -775,8 +781,7 @@ it's not fully supported yet])
|
|||||||
if test x$with_screen = xslang; then
|
if test x$with_screen = xslang; then
|
||||||
AC_DEFINE(HAVE_SYSTEM_SLANG, 1,
|
AC_DEFINE(HAVE_SYSTEM_SLANG, 1,
|
||||||
[Define to use S-Lang library installed on the system])
|
[Define to use S-Lang library installed on the system])
|
||||||
MC_SLANG_PRIVATE
|
MC_SLANG_PRIVATE
|
||||||
MC_SLANG_TERMCAP
|
|
||||||
screen_type=slang
|
screen_type=slang
|
||||||
screen_msg="S-Lang library (installed on the system)"
|
screen_msg="S-Lang library (installed on the system)"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user