]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
meson: remove unused HAVE_NCURSES config define
authorKarel Zak <kzak@redhat.com>
Thu, 19 Mar 2026 12:30:22 +0000 (13:30 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 24 Mar 2026 09:21:15 +0000 (10:21 +0100)
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>
meson.build

index a0c54aa0335ceed07a084ad0fe8b610f38a3fcf4..ec7b8d9c69635e9909eb3e8bf5783cda132c8d08 100644 (file)
@@ -303,7 +303,6 @@ endif
 
 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',