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
parent
d8940fa45f
commit
0e6e5faad5
|
|
@ -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.
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue