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>
pull/106/head^2
Luotao Fu 2009-11-24 14:53:32 +01:00
parent d8940fa45f
commit 0e6e5faad5
1 changed files with 1 additions and 3 deletions

View File

@ -66,11 +66,9 @@ AC_CHECK_HEADERS([ \
unistd.h \ unistd.h \
utime.h \ utime.h \
net/if.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. # Checks for typedefs, structures, and compiler characteristics.
# #