fixed NLS bug

This commit is contained in:
fluxgen 2003-05-13 23:54:12 +00:00
parent 61448a5bd4
commit 860b70e5b6

View file

@ -174,12 +174,15 @@ AC_ARG_ENABLE(nls,
if test x$enableval = "xyes"; then if test x$enableval = "xyes"; then
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
AC_DEFINE(NLS, 1, "Natural language support") AC_DEFINE(NLS, 1, "Natural language support")
NLS="-DNLS"
else else
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
fi, fi,
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
AC_DEFINE(NLS, 1, "Natural language support") AC_DEFINE(NLS, 1, "Natural language support")
NLS="-DNLS"
) )
AC_SUBST(NLS)
AC_CHECK_LIB(xpg4, setlocale, LIBS="$LIBS -lxpg4") AC_CHECK_LIB(xpg4, setlocale, LIBS="$LIBS -lxpg4")