From 0e6e5faad5f6dd8ecbd512bdf1270261bd822edd Mon Sep 17 00:00:00 2001 From: Luotao Fu Date: Tue, 24 Nov 2009 14:53:32 +0100 Subject: [PATCH] fix header check in configure.ac checking linux/[rt]netlink.h somehow doesn't work, remove them for now. Checking for linux/can/netlink.h is more important any way, add quit-if-not-found for this file Signed-off-by: Luotao Fu --- configure.ac | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 3d018ed..f0fcf6e 100644 --- a/configure.ac +++ b/configure.ac @@ -66,11 +66,9 @@ AC_CHECK_HEADERS([ \ unistd.h \ utime.h \ net/if.h \ - linux/netlink.h,,,[linux/socket.h] \ - linux/rtnetlink.h,,,[linux/socket.h] \ ]) - +AC_CHECK_HEADER(linux/can/netlink.h,[],[AC_MSG_ERROR([cannot findcan/netlink.h])],[]) # # Checks for typedefs, structures, and compiler characteristics. #