summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@gw.localnet>2009-05-21 18:49:05 +0200
committerPatrick McHardy <kaber@gw.localnet>2009-05-21 18:49:05 +0200
commit8cee5fa35e9b43f8a1323c82f245e2de074fc2eb (patch)
treef2922eeb33295e9e934e0878a9618ee3b607b09e /configure.ac
parent0140a6034e07f3eba34edfe2d536c45b0d37dbdb (diff)
build: check for kernel header files
Signed-off-by: Patrick McHardy <kaber@gw.localnet>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 4678d3a..d8f2115 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,8 +42,12 @@ AC_CHECK_LIB([SDL], [SDL_OpenAudio], ,
AC_HEADER_STDC
AC_HEADER_ASSERT
AC_CHECK_HEADERS([fcntl.h inttypes.h libintl.h limits.h malloc.h \
- stddef.h stdint.h stdlib.h string.h unistd.h], ,
+ stddef.h stdint.h stdlib.h string.h unistd.h \
+ sys/socket.h], ,
AC_MSG_ERROR([Header file not found]))
+AC_CHECK_HEADERS([linux/dect.h linux/dect_netlink.h], ,
+ AC_MSG_ERROR([DECT kernel header files not found]),
+ [#include <sys/socket.h>])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL