From c8c262a1a1e1d93b2758f0f814a6365c94296ee9 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 19 Dec 2018 19:40:57 -0500 Subject: project: custom config: updated to keep up with Python-3.x. --- project/config/cfgdefs.sh | 50 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 48 insertions(+), 2 deletions(-) (limited to 'project') 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' -- cgit v1.2.3