summaryrefslogtreecommitdiff
path: root/project/config
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-19 19:40:57 -0500
committermidipix <writeonce@midipix.org>2018-12-19 20:16:27 -0500
commitc8c262a1a1e1d93b2758f0f814a6365c94296ee9 (patch)
treeffb8f135197a427e8bffa97fcafd013339c2e14d /project/config
parent3eaf7b81fa509723de2054b6e1ae3ee855ca0774 (diff)
downloadsbpython2-c8c262a1a1e1d93b2758f0f814a6365c94296ee9.tar.bz2
sbpython2-c8c262a1a1e1d93b2758f0f814a6365c94296ee9.tar.xz
project: custom config: updated to keep up with Python-3.x.
Diffstat (limited to 'project/config')
-rw-r--r--project/config/cfgdefs.sh50
1 files changed, 48 insertions, 2 deletions
diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh
index 3b6a806..054e536 100644
--- a/project/config/cfgdefs.sh
+++ b/project/config/cfgdefs.sh
@@ -41,7 +41,30 @@ cfgdefs_perform_target_tests()
cfgtest_target_section
# headers
- cfgtest_header_absence 'stropts.h'
+ cfgtest_header_absence 'stropts.h'
+ cfgtest_header_presence 'endian.h'
+ cfgtest_header_presence 'net/if.h'
+ cfgtest_header_presence 'sched.h'
+ cfgtest_header_presence 'sys/ioctl.h'
+ cfgtest_header_presence 'sys/sendfile.h'
+ cfgtest_header_presence 'sys/syscall.h'
+ cfgtest_header_presence 'sys/sysmacros.h'
+ cfgtest_header_presence 'sys/uio.h'
+ cfgtest_header_presence 'sys/xattr.h'
+
+ # interfaces
+ mb_cfgtest_headers='sys/epoll.h'
+ cfgtest_interface_presence 'epoll_create1'
+
+ mb_cfgtest_headers='sched.h'
+ cfgtest_interface_presence 'sched_get_priority_max'
+ cfgtest_interface_presence 'sched_rr_get_interval'
+ cfgtest_interface_presence 'sched_setaffinity'
+ cfgtest_interface_presence 'sched_setparam'
+ cfgtest_interface_presence 'sched_setscheduler'
+
+ mb_cfgtest_headers='sys/sendfile.h'
+ cfgtest_interface_presence 'sendfile'
# openssl
mb_cfgtest_headers='openssl/x509.h'
@@ -73,7 +96,30 @@ cfgdefs_perform_native_tests()
cfgtest_native_section
# headers
- cfgtest_header_absence 'stropts.h'
+ cfgtest_header_absence 'stropts.h'
+ cfgtest_header_presence 'endian.h'
+ cfgtest_header_presence 'net/if.h'
+ cfgtest_header_presence 'sched.h'
+ cfgtest_header_presence 'sys/ioctl.h'
+ cfgtest_header_presence 'sys/sendfile.h'
+ cfgtest_header_presence 'sys/syscall.h'
+ cfgtest_header_presence 'sys/sysmacros.h'
+ cfgtest_header_presence 'sys/uio.h'
+ cfgtest_header_presence 'sys/xattr.h'
+
+ # interfaces
+ mb_cfgtest_headers='sys/epoll.h'
+ cfgtest_interface_presence 'epoll_create1'
+
+ mb_cfgtest_headers='sched.h'
+ cfgtest_interface_presence 'sched_get_priority_max'
+ cfgtest_interface_presence 'sched_rr_get_interval'
+ cfgtest_interface_presence 'sched_setaffinity'
+ cfgtest_interface_presence 'sched_setparam'
+ cfgtest_interface_presence 'sched_setscheduler'
+
+ mb_cfgtest_headers='sys/sendfile.h'
+ cfgtest_interface_presence 'sendfile'
# ncurses: python refers to members of typedef struct _win_st WINDOW
cfgtest_cflags_append '-DNCURSES_INTERNALS'