summaryrefslogtreecommitdiff
path: root/project/config
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-18 08:57:51 +0000
committermidipix <writeonce@midipix.org>2021-06-18 08:57:51 +0000
commite76b009f8d9645edc28c8d4a7147c7851b57ae2d (patch)
tree6781d75b124f6c93819c5eee423cd13ada7dbf84 /project/config
parentc027bd6ab71107ef9f734cc2a333153a387a4d0a (diff)
downloadsbpython3-e76b009f8d9645edc28c8d4a7147c7851b57ae2d.tar.bz2
sbpython3-e76b009f8d9645edc28c8d4a7147c7851b57ae2d.tar.xz
project: cfgdefs.sh: handle xattrs and linux/limits.h in a patch-free manner.
Diffstat (limited to 'project/config')
-rw-r--r--project/config/cfgdefs.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh
index 233af67..ce83da4 100644
--- a/project/config/cfgdefs.sh
+++ b/project/config/cfgdefs.sh
@@ -224,6 +224,14 @@ cfgdefs_perform_common_tests()
cfgtest_type_size 'pthread_t'
cfgtest_type_size 'pthread_key_t'
+ # xattrs
+ cfgtest_newline
+ cfgtest_comment 'xattrs'
+
+ if cfgtest_header_presence 'linux/limits.h'; then
+ cfgtest_cflags_append '--include=linux/limits.h'
+ fi
+
# toolchain
cfgtest_newline
cfgtest_comment 'toolchain'