mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 01:54:24 +03:00
* configure.in: Add check for iconv() and the necessary code
to support the charset selection patch.
This commit is contained in:
parent
daa8e84176
commit
1ddcc8951c
@ -1,5 +1,8 @@
|
|||||||
2001-05-30 Pavel Roskin <proski@gnu.org>
|
2001-05-30 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* configure.in: Add check for iconv() and the necessary code
|
||||||
|
to support the charset selection patch.
|
||||||
|
|
||||||
* configure.in: Add check for ESCDELAY variable in ncurses.
|
* configure.in: Add check for ESCDELAY variable in ncurses.
|
||||||
|
|
||||||
2001-05-29 Pavel Roskin <proski@gnu.org>
|
2001-05-29 Pavel Roskin <proski@gnu.org>
|
||||||
|
26
configure.in
26
configure.in
@ -879,6 +879,32 @@ AC_SUBST(SEDCMD)
|
|||||||
AC_SUBST(SEDCMD2)
|
AC_SUBST(SEDCMD2)
|
||||||
|
|
||||||
|
|
||||||
|
dnl
|
||||||
|
dnl Basic support for charset conversion.
|
||||||
|
dnl May be useful e.g. for converting help and hints.
|
||||||
|
dnl
|
||||||
|
have_iconv=
|
||||||
|
AC_CHECK_FUNCS(iconv, [have_iconv=yes])
|
||||||
|
|
||||||
|
dnl
|
||||||
|
dnl User visible support for charset conversion.
|
||||||
|
dnl
|
||||||
|
AC_ARG_ENABLE([charset],
|
||||||
|
[--enable-charset Support for charset selection and conversion])
|
||||||
|
have_charset=
|
||||||
|
if test "x$enable_charset" = xyes; then
|
||||||
|
if test -z "$have_iconv"; then
|
||||||
|
AC_MSG_WARN([Cannot enable charset support because iconv function is missing])
|
||||||
|
else
|
||||||
|
AC_DEFINE(HAVE_CHARSET, 1,
|
||||||
|
[Define to enable charset selection and conversion])
|
||||||
|
have_charset=yes
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
AM_CONDITIONAL(CHARSET, [test -n "$have_charset"])
|
||||||
|
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl This code should be moved to the ac_WITH_SLANG
|
dnl This code should be moved to the ac_WITH_SLANG
|
||||||
dnl
|
dnl
|
||||||
|
Loading…
Reference in New Issue
Block a user