aboutsummaryrefslogtreecommitdiffstats
path: root/aclocal.m4
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-09-25 16:56:08 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-09-25 16:56:08 +0000
commitf28aedff0560f4c0697f24806e03129907205040 (patch)
tree2f531cedcf52a578e23dad7a78c06cb870adc62d /aclocal.m4
parent* remove ./intl (diff)
downloadw3m-f28aedff0560f4c0697f24806e03129907205040.tar.gz
w3m-f28aedff0560f4c0697f24806e03129907205040.zip
check header locale.h
check func setlocale no need to output intl/Makefile
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m412
1 files changed, 9 insertions, 3 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index de8344c..ea8dd8d 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -179,15 +179,21 @@ else
[ --disable-unicode support unicode],,
[enable_unicode="yes"])
AC_MSG_RESULT($enable_unicode)
- charset=US-ASCII
+ if test x"$enable_m17n" = xyes; then
+ charset=US-ASCII
+ else
+ charset=$enable_m17n
+ fi
if test x"$enable_unicode" = xyes; then
WCCFLAGS="-DUSE_UNICODE $WCCFLAGS"
- charset=UTF-8
+ if test x"$charset" = xUS-ASCII; then
+ charset=UTF-8
+ fi
AC_DEFINE(USE_UNICODE)
fi
AC_MSG_CHECKING(if japanese support is enabled)
AC_ARG_ENABLE(japanese,
- [ --enable-japanese=CODE support Japanese character sets
+ [ --enable-japanese=CODE support Japanese message instead of NLS
CODE=(S|E|J|U)],,
[enable_japanese="no"])
AC_MSG_RESULT($enable_japanese)