summaryrefslogtreecommitdiffstats
path: root/lib/config.charset
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2002-01-10 14:23:16 +0000
committerBruno Haible <bruno@clisp.org>2009-06-22 00:55:25 +0200
commit6f8f12c909e457290bb27598311c13e8e17274ef (patch)
treeb4b1a86953e8f403646f7f895431535293aeb65a /lib/config.charset
parent0090d45000708d983e1f6d4b37e5cac3fbad824d (diff)
downloadexternal_gettext-6f8f12c909e457290bb27598311c13e8e17274ef.zip
external_gettext-6f8f12c909e457290bb27598311c13e8e17274ef.tar.gz
external_gettext-6f8f12c909e457290bb27598311c13e8e17274ef.tar.bz2
Improved OS/2 support.
Diffstat (limited to 'lib/config.charset')
-rwxr-xr-xlib/config.charset6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/config.charset b/lib/config.charset
index f4f2611..b91e059 100755
--- a/lib/config.charset
+++ b/lib/config.charset
@@ -1,7 +1,7 @@
#! /bin/sh
# Output a system dependent table of character encoding aliases.
#
-# Copyright (C) 2000-2001 Free Software Foundation, Inc.
+# Copyright (C) 2000-2002 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Library General Public License as published
@@ -235,10 +235,12 @@ case "$os" in
#echo "sun_eu_greek ?" # what is this?
echo "UTF-8 UTF-8"
;;
- freebsd*)
+ freebsd* | os2*)
# FreeBSD 4.2 doesn't have nl_langinfo(CODESET); therefore
# localcharset.c falls back to using the full locale name
# from the environment variables.
+ # Likewise for OS/2. OS/2 has XFree86 just like FreeBSD. Just
+ # reuse FreeBSD's locale data for OS/2.
echo "C ASCII"
echo "US-ASCII ASCII"
for l in la_LN lt_LN; do