From e664b8cb101b9acc46e4fee698e5d21fe36a2785 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 16 Jun 2021 08:51:41 +0000 Subject: project: cfgdefs.sh: cfgdefs_perform_common_tests(): additional curses api's. --- project/config/cfgdefs.sh | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'project') diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh index 30ee66c..6826af7 100644 --- a/project/config/cfgdefs.sh +++ b/project/config/cfgdefs.sh @@ -311,6 +311,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