summaryrefslogtreecommitdiff
path: root/project/config
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-16 08:51:41 +0000
committermidipix <writeonce@midipix.org>2021-06-16 08:51:41 +0000
commite664b8cb101b9acc46e4fee698e5d21fe36a2785 (patch)
tree996ede341e93ca16d056df79a2430e131e5ef91d /project/config
parent41490e8ec973e4cd9c36c0cfb6bf26c740b155b9 (diff)
downloadsbpython2-e664b8cb101b9acc46e4fee698e5d21fe36a2785.tar.bz2
sbpython2-e664b8cb101b9acc46e4fee698e5d21fe36a2785.tar.xz
project: cfgdefs.sh: cfgdefs_perform_common_tests(): additional curses api's.
Diffstat (limited to 'project/config')
-rw-r--r--project/config/cfgdefs.sh32
1 files changed, 32 insertions, 0 deletions
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'