summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'