diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-09-25 16:56:08 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-09-25 16:56:08 +0000 |
commit | f28aedff0560f4c0697f24806e03129907205040 (patch) | |
tree | 2f531cedcf52a578e23dad7a78c06cb870adc62d /acinclude.m4 | |
parent | * remove ./intl (diff) | |
download | w3m-f28aedff0560f4c0697f24806e03129907205040.tar.gz w3m-f28aedff0560f4c0697f24806e03129907205040.zip |
check header locale.h
check func setlocale
no need to output intl/Makefile
Diffstat (limited to '')
-rw-r--r-- | acinclude.m4 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 50dd7ca..e8ae6f3 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -167,15 +167,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) |