meson: add missing HAVE_ definitions
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
bdaed0cde4
commit
6e13cfed58
|
@ -241,6 +241,10 @@ conf.set('HAVE_SLANG', lib_slang.found())
|
||||||
|
|
||||||
foreach curses_libs : [lib_slang, lib_ncursesw, lib_ncurses]
|
foreach curses_libs : [lib_slang, lib_ncursesw, lib_ncurses]
|
||||||
if curses_libs.found()
|
if curses_libs.found()
|
||||||
|
have = cc.has_function('use_default_colors', dependencies : curses_libs)
|
||||||
|
conf.set('HAVE_USE_DEFAULT_COLORS', have ? 1 : false)
|
||||||
|
have = cc.has_function('resizeterm', dependencies : curses_libs)
|
||||||
|
conf.set('HAVE_RESIZETERM', have ? 1 : false)
|
||||||
break
|
break
|
||||||
endif
|
endif
|
||||||
endforeach
|
endforeach
|
||||||
|
|
Loading…
Reference in New Issue