summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-14 18:22:04 -0500
committermidipix <writeonce@midipix.org>2018-12-18 20:38:38 -0500
commit998eeb82772fa999e975c5a8148734bbbaa85a54 (patch)
tree8c0da43242d0e86c2cf6789dd505faa636b9523b /project
parent86ce91746df24ff0ab6d53b91797f988ac4c85e9 (diff)
downloadsbpython3-998eeb82772fa999e975c5a8148734bbbaa85a54.tar.bz2
sbpython3-998eeb82772fa999e975c5a8148734bbbaa85a54.tar.xz
config & profiles: update to match Python-3.x's needs and definitions.
Diffstat (limited to 'project')
-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'