From 64b09e307a5c02d865c1e6c4c7fb28107d524c4a Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Thu, 31 May 2001 01:17:21 +0000 Subject: [PATCH] * lib/mc.charsets: New file. From Walery Studennikov. * lib/Makefile.am: Distribute mc.charsets. Install it if the charset support is enabled. --- ChangeLog | 4 ++++ lib/Makefile.am | 13 +++++++++++-- lib/mc.charsets | 13 +++++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 lib/mc.charsets diff --git a/ChangeLog b/ChangeLog index 8c73ce1a6..43c4e6063 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2001-05-30 Pavel Roskin + * 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 to support the charset selection patch. diff --git a/lib/Makefile.am b/lib/Makefile.am index 9cd621763..4b3fac847 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -4,10 +4,17 @@ suppbindir = $(mclibdir)/bin tidir = $(mclibdir)/term confdir = $(sysconfdir) +if CHARSET +LIBFILES_ADD = mc.charsets +else +LIBFILES_ADD = +endif + LOCALIZED_HELP = mc.hlp.hu LIBFILES_OUT = mc.ext 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 = \ xnc.hlp \ @@ -33,4 +40,6 @@ EXTRA_DIST = \ $(desktop_DATA) \ $(ti_DATA) \ $(noinst_DATA) \ - $(noinst_SCRIPTS) + $(noinst_SCRIPTS) \ + mc.charsets + diff --git a/lib/mc.charsets b/lib/mc.charsets new file mode 100644 index 000000000..ecf2fc958 --- /dev/null +++ b/lib/mc.charsets @@ -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