fixed NLS bug
This commit is contained in:
parent
61448a5bd4
commit
860b70e5b6
1 changed files with 3 additions and 0 deletions
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue