summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-11-17 00:10:40 (GMT)
committerhobbs <hobbs>2001-11-17 00:10:40 (GMT)
commit21a122d60595097328eae02e776bae13ca31d6d5 (patch)
tree85d7d2361b53dfd760e61f32cd1d3f999f44c3a7 /unix
parentf1faf95e9df1c283ad82eae2029b1ff343e87da1 (diff)
downloadtcl-21a122d60595097328eae02e776bae13ca31d6d5.zip
tcl-21a122d60595097328eae02e776bae13ca31d6d5.tar.gz
tcl-21a122d60595097328eae02e776bae13ca31d6d5.tar.bz2
added hpux nl_langinfo alias fallbacks
Diffstat (limited to 'unix')
-rwxr-xr-xunix/configure3
-rw-r--r--unix/tclUnixInit.c21
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"},