summaryrefslogtreecommitdiff
path: root/lib/config.charset
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-06-03 08:34:18 +0000
committerJim Meyering <jim@meyering.net>2000-06-03 08:34:18 +0000
commit7b4c68dfd47a60105cbe9787910f1642a56a9fdc (patch)
tree77f143ad0f3bcc7149bf3286e8552803450ab10f /lib/config.charset
parente25da2873ed708b217c8d0f11c8d85bfb49ae7a8 (diff)
downloadgnulib-7b4c68dfd47a60105cbe9787910f1642a56a9fdc.tar.gz
Change the Linux/glibc rules so they become empty on glibc-2.1 or newer.
Diffstat (limited to 'lib/config.charset')
-rwxr-xr-xlib/config.charset16
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/config.charset b/lib/config.charset
index 46b02c7475..83f0b791e5 100755
--- a/lib/config.charset
+++ b/lib/config.charset
@@ -31,7 +31,7 @@
# The current list of GNU canonical charset names is as follows.
#
# name used by which systems a MIME name?
-# ASCII glibc solaris
+# ASCII, ANSI_X3.4-1968 glibc solaris
# ISO-8859-1 glibc aix hpux irix osf solaris yes
# ISO-8859-2 glibc aix hpux irix solaris yes
# ISO-8859-4 solaris yes
@@ -72,6 +72,9 @@
# Note: Names which are not marked as being a MIME name should not be used in
# Internet protocols for information interchange (mail, news, etc.).
#
+# Note: ASCII and ANSI_X3.4-1968 are synonymous canonical names. Applications
+# must understand both names and treat them as equivalent.
+#
# The first argument passed to this file is the canonical host specification,
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
# or
@@ -86,11 +89,12 @@ echo "# It was automatically generated from config.charset."
echo "# Packages using this file: "
case "$os" in
linux* | *-gnu*)
- # With glibc we don't need any canonicalization, because glibc
- # supports all GNU canonical names directly.
- echo "ANSI_X3.4-1968 ASCII" # this is a nop
- echo "ISO_646.IRV:1983 ASCII" # this is a nop
- echo "BALTIC ISO-8859-13" # in glibc-2.2 or newer, this is a nop
+ # With glibc-2.1 or newer, we don't need any canonicalization,
+ # because glibc has iconv and both glibc and libiconv support all
+ # GNU canonical names directly. Therefore, the Makefile does not
+ # need to install the alias file at all.
+ # The following applies only to glibc-2.0.x and older libcs.
+ echo "ISO_646.IRV:1983 ASCII"
;;
aix*)
echo "ISO8859-1 ISO-8859-1"