No source code uses HAVE_NCURSES (without _W or _H suffix).
In autotools it only exists as an AM_CONDITIONAL for Makefile logic,
not as a config.h define.
Signed-off-by: Karel Zak <kzak@redhat.com>
conf.set('HAVE_LIBNCURSESW', lib_ncursesw.found() ? 1 : false)
conf.set('HAVE_LIBNCURSES', lib_ncurses.found() ? 1 : false)
-conf.set('HAVE_NCURSES', (lib_ncursesw.found() or lib_ncurses.found()) ? 1 : false)
lib_slang = dependency(
'slang',