From 21a122d60595097328eae02e776bae13ca31d6d5 Mon Sep 17 00:00:00 2001 From: hobbs Date: Sat, 17 Nov 2001 00:10:40 +0000 Subject: added hpux nl_langinfo alias fallbacks --- unix/configure | 3 ++- unix/tclUnixInit.c | 21 ++++++++++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/unix/configure b/unix/configure index 2d30d79..e519b5d 100755 --- a/unix/configure +++ b/unix/configure @@ -26,7 +26,8 @@ ac_help="$ac_help --enable-symbols build with debugging symbols [--disable-symbols]" ac_help="$ac_help --enable-shared build and link with shared libraries [--enable-shared]" - +echo $PATH +echo "`pwd`" # Initialize some variables set by options. # The variables have the same names as the options, with # dashes changed to underlines. diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c index 72d1cda..3651c50 100644 --- a/unix/tclUnixInit.c +++ b/unix/tclUnixInit.c @@ -7,7 +7,7 @@ * Copyright (c) 1999 by Scriptics Corporation. * All rights reserved. * - * RCS: @(#) $Id: tclUnixInit.c,v 1.26 2001/11/16 23:40:41 hobbs Exp $ + * RCS: @(#) $Id: tclUnixInit.c,v 1.27 2001/11/17 00:10:40 hobbs Exp $ */ #include "tclInt.h" @@ -68,6 +68,25 @@ typedef struct LocaleTable { static CONST LocaleTable localeTable[] = { #ifdef HAVE_LANGINFO {"gb2312-1980", "gb2312"}, +#ifdef __hpux + {"SJIS", "shiftjis"}, + {"eucjp", "euc-jp"}, + {"euckr", "euc-kr"}, + {"euctw", "euc-cn"}, + {"greek8", "cp869"}, + {"iso88591", "iso8859-1"}, + {"iso88592", "iso8859-2"}, + {"iso88595", "iso8859-5"}, + {"iso88596", "iso8859-6"}, + {"iso88597", "iso8859-7"}, + {"iso88598", "iso8859-8"}, + {"iso88599", "iso8859-9"}, + {"iso885915", "iso8859-15"}, + {"roman8", "iso8859-1"}, + {"tis620", "tis-620"}, + {"turkish8", "cp857"}, + {"utf8", "utf-8"}, +#endif #else {"ja_JP.SJIS", "shiftjis"}, {"ja_JP.EUC", "euc-jp"}, -- cgit v0.12