]> granicus.if.org Git - strace/commit
Makefile.am: look for ioctl definitions in the kernel build tree by default
authorLubomir Rintel <lkundrak@v3.sk>
Thu, 16 Oct 2014 10:05:43 +0000 (12:05 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 11 Nov 2014 15:10:22 +0000 (15:10 +0000)
commit544a81063c37b9387a7ecb2ee06c2624728eecdd
tree49ccc748ab3456438cc15d14b74be8d4d6364b55
parentc400a1c70ebebde368481c01e85d68e7fd118be6
Makefile.am: look for ioctl definitions in the kernel build tree by default

While most of ioctl-related kernel headers are now exported by kernel's
headers_install, some are still modules_install only.  The kernel's
headers installed into /usr/include/ are usually headers_install'ed and
therefore don't contain some internal headers we need.  The solution is
to look for modules_install'ed headers for the running kernel, and fall
back to old behavior if they aren't found.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Makefile.am