cvs: peardoc / configure.in
| From: | Rui Hirokawa | Date: | Mon, 28 Jan 2002 13:31:48 +0000 |
| Subject: | cvs: peardoc / configure.in | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-2195@lists.php.net to get a copy of this message | ||
hirokawa Mon Jan 28 08:31:48 2002 EDT
Modified files:
/peardoc configure.in
Log:
changed ENCODING to support non-latin-1 encodings.
Index: peardoc/configure.in
diff -u peardoc/configure.in:1.7 peardoc/configure.in:1.8
--- peardoc/configure.in:1.7 Sun Jan 20 16:45:07 2002
+++ peardoc/configure.in Mon Jan 28 08:31:48 2002
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.7 2002/01/20 21:45:07 jimw Exp $
+dnl $Id: configure.in,v 1.8 2002/01/28 13:31:48 hirokawa Exp $
AC_INIT(global.ent)
@@ -218,7 +218,15 @@
esac
AC_SUBST(NUMBER_FIRST)
-ENCODING="ISO-8859-1";
+case "$LANG" in
+ ja|tw|ko) ENCODING="UTF-8";;
+ zh_hk) ENCODING="big5";;
+ cs|hu|pl) ENCODING="ISO-8859-2";;
+ ar) ENCODING="ISO-8859-6";;
+ tr) ENCODING="ISO-8859-9";;
+ he) ENCODING="iso-8859-8";;
+ *) ENCODING="ISO-8859-1";;
+esac
AC_SUBST(ENCODING)
dnl look for the OpenJade DSSSL parser