diff options
author | midipix <writeonce@midipix.org> | 2021-06-18 08:57:51 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-18 08:57:51 +0000 |
commit | e76b009f8d9645edc28c8d4a7147c7851b57ae2d (patch) | |
tree | 6781d75b124f6c93819c5eee423cd13ada7dbf84 /project/config | |
parent | c027bd6ab71107ef9f734cc2a333153a387a4d0a (diff) | |
download | sbpython3-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.sh | 8 |
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' |