From a49e352eab941ba7841d55cde85f1969eb5a6a90 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 15 Jun 2021 11:26:08 +0000 Subject: project: cfgdefs.sh: cfgdefs_perform_common_tests(): additional curses api's. --- project/config/cfgdefs.sh | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh index 09b8f62..c76629d 100644 --- a/project/config/cfgdefs.sh +++ b/project/config/cfgdefs.sh @@ -299,6 +299,38 @@ cfgdefs_perform_common_tests() cfgtest_makevar_append '-DHAVE_CURSES_RESIZE_TERM' fi + if cfgtest_unit_interface_presence 'filter'; then + cfgtest_makevar_append '-DHAVE_CURSES_FILTER' + fi + + if cfgtest_unit_interface_presence 'has_key'; then + cfgtest_makevar_append '-DHAVE_CURSES_HAS_KEY' + fi + + if cfgtest_unit_interface_presence 'immedok'; then + cfgtest_makevar_append '-DHAVE_CURSES_IMMEDOK' + fi + + if cfgtest_unit_interface_presence 'is_pad'; then + cfgtest_makevar_append '-DHAVE_CURSES_IS_PAD' + fi + + if cfgtest_unit_interface_presence 'syncok'; then + cfgtest_makevar_append '-DHAVE_CURSES_SYNCOK' + fi + + if cfgtest_unit_interface_presence 'typeahead'; then + cfgtest_makevar_append '-DHAVE_CURSES_TYPEAHEAD' + fi + + if cfgtest_unit_interface_presence 'use_env'; then + cfgtest_makevar_append '-DHAVE_CURSES_USE_ENV' + fi + + if cfgtest_unit_interface_presence 'wchgat'; then + cfgtest_makevar_append '-DHAVE_CURSES_WCHGAT' + fi + # ncursesw if cfgtest_unit_interface_presence 'mvwget_wch'; then cfgtest_makevar_append '-DHAVE_NCURSESW' -- cgit v1.2.3