check header locale.h

check func setlocale
no need to output intl/Makefile
This commit is contained in:
Fumitoshi UKAI
2003-09-25 16:56:08 +00:00
parent 643e12ed8c
commit f28aedff05
5 changed files with 171 additions and 16 deletions

View File

@@ -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)