mirror of
https://git.zap.org.au/git/trader.git
synced 2024-11-03 17:27:29 -05:00
Warn if NcursesW (or similar) is not found
Add a prominent warning if NcursesW (or some other wide-character version of Curses) is not found at build time. It is not an error because the game might be run under a single-byte encoding (eg, ISO8859-1), even if compiled under a multibyte encoding (eg, UTF-8).
This commit is contained in:
parent
a62d35de13
commit
8e3a0d790e
@ -59,6 +59,14 @@ 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], [
|
||||
AC_MSG_WARN([no X/Open-compatible Enhanced Curses library found
|
||||
|
||||
***************** Locales with multibyte character sequences (such as
|
||||
*** WARNING *** UTF-8) require a wide-character version of Curses,
|
||||
***************** such as NcursesW, to work correctly.
|
||||
])
|
||||
])
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
|
Loading…
Reference in New Issue
Block a user