* lib/mc.charsets: New file. From Walery Studennikov.

* lib/Makefile.am: Distribute mc.charsets. Install it if
the charset support is enabled.
This commit is contained in:
Pavel Roskin 2001-05-31 01:17:21 +00:00
parent 1ddcc8951c
commit 64b09e307a
3 changed files with 28 additions and 2 deletions

View File

@ -1,5 +1,9 @@
2001-05-30 Pavel Roskin <proski@gnu.org> 2001-05-30 Pavel Roskin <proski@gnu.org>
* lib/mc.charsets: New file. From Walery Studennikov.
* lib/Makefile.am: Distribute mc.charsets. Install it if
the charset support is enabled.
* configure.in: Add check for iconv() and the necessary code * configure.in: Add check for iconv() and the necessary code
to support the charset selection patch. to support the charset selection patch.

View File

@ -4,10 +4,17 @@ suppbindir = $(mclibdir)/bin
tidir = $(mclibdir)/term tidir = $(mclibdir)/term
confdir = $(sysconfdir) confdir = $(sysconfdir)
if CHARSET
LIBFILES_ADD = mc.charsets
else
LIBFILES_ADD =
endif
LOCALIZED_HELP = mc.hlp.hu LOCALIZED_HELP = mc.hlp.hu
LIBFILES_OUT = mc.ext LIBFILES_OUT = mc.ext
LIBFILES_CONST = mc.hint mc.hint.es mc.hint.cs mc.hint.it mc.hint.pl \ LIBFILES_CONST = mc.hint mc.hint.es mc.hint.cs mc.hint.it mc.hint.pl \
mc.hint.ru mc.lib mc.menu cedit.menu edit.indent.rc mc.hint.ru mc.lib mc.menu cedit.menu edit.indent.rc \
$(LIBFILES_ADD)
noinst_DATA = \ noinst_DATA = \
xnc.hlp \ xnc.hlp \
@ -33,4 +40,6 @@ EXTRA_DIST = \
$(desktop_DATA) \ $(desktop_DATA) \
$(ti_DATA) \ $(ti_DATA) \
$(noinst_DATA) \ $(noinst_DATA) \
$(noinst_SCRIPTS) $(noinst_SCRIPTS) \
mc.charsets

13
lib/mc.charsets Normal file
View File

@ -0,0 +1,13 @@
ASCII 7-bit ASCII
#default KOI8-U
ISO-8859-1 ISO 8859-1
ISO-8859-2 ISO 8859-2
ISO-8859-5 ISO 8859-5
CP1250 Windows 1250
CP1251 Windows 1251
CP437 CP 437
CP850 CP 850
CP852 CP 852
CP866 CP 866
KOI8-R KOI8-R
KOI8-U KOI8-U