1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-11-03 17:27:29 -05:00

Warn about enhanced Curses only if NLS is enabled

If Native Language Support is disabled, the program does not use the GNU
Gettext library and thus all strings are in ASCII format: enhanced Curses
is not needed in such situations.
This commit is contained in:
John Zaitseff 2018-07-25 15:04:59 +10:00
parent d0fb4635b9
commit baf7cfed8e

View File

@ -62,7 +62,8 @@ AX_WITH_CURSES
AS_IF([test "x$ax_cv_curses" != xyes || test "x$ax_cv_curses_color" != xyes], [
AC_MSG_ERROR([requires an X/Open-compatible Curses library with colour])
])
AS_IF([test "x$ax_cv_curses_enhanced" != xyes], [
AS_IF([test "x$ax_cv_curses_enhanced" = xyes], [],
[test "x$USE_NLS" = xyes], [
AC_MSG_WARN([no X/Open-compatible Enhanced Curses library found
***************** Locales with multibyte character sequences (such as