diff options
author | Luotao Fu <l.fu@pengutronix.de> | 2009-11-24 14:53:32 +0100 |
---|---|---|
committer | Luotao Fu <l.fu@pengutronix.de> | 2009-11-24 14:57:09 +0100 |
commit | 0e6e5faad5f6dd8ecbd512bdf1270261bd822edd (patch) | |
tree | 3b6d41305621632ffc33f3acf48b5b8e82b674aa /configure.ac | |
parent | d8940fa45f801c7b6baf3b7f577de8db3b719205 (diff) | |
download | libsocketcan-0e6e5faad5f6dd8ecbd512bdf1270261bd822edd.tar.gz libsocketcan-0e6e5faad5f6dd8ecbd512bdf1270261bd822edd.tar.xz |
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 <l.fu@pengutronix.de>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 1 insertions, 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. # |