blob: e46f2c350dbb4443876c04123a930dedf9850208 [file] [log] [blame]
Brad Bishop1d80a2e2019-11-15 16:35:03 -05001Remove configure checks for few sys/ headers
2
3sys/ipc.h, sys/sem.h, sys/shm.h, and sys/msg.h are actually wrappers
4for kernel headers in libc if available, here strace is trying to match
5traced process's APIs to syscalls kernel structures
6
7Removing the checks makes it default to right kernel UAPI headers under linux/
8
9Upstream-Status: Submitted [https://lists.strace.io/pipermail/strace-devel/2019-November/009222.html]
10Suggested-by: Rich Felker <dalias@aerifal.cx>
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12--- a/configure.ac
13+++ b/configure.ac
14@@ -439,11 +439,7 @@ AC_CHECK_HEADERS(m4_normalize([
15 sys/conf.h
16 sys/eventfd.h
17 sys/fanotify.h
18- sys/ipc.h
19- sys/msg.h
20 sys/quota.h
21- sys/sem.h
22- sys/shm.h
23 sys/signalfd.h
24 sys/xattr.h
25 ustat.h