提交 d3b6fe5f 编写于 作者: S Stefan Berger 提交者: Daniel Veillard

macvtap build detection fix

* configure.ac: fix the header test used for macvtap availability
  detection
上级 1c36d068
......@@ -1849,7 +1849,8 @@ AC_ARG_WITH([macvtap],
[with_macvtap=check])
if test "$with_macvtap" != "no" ; then
AC_TRY_COMPILE([ #include <linux/if_link.h> ],
AC_TRY_COMPILE([ #include <sys/socket.h>
#include <linux/rtnetlink.h> ],
[ int x = MACVLAN_MODE_BRIDGE; ],
[ with_macvtap=yes ],
[ if test "$with_macvtap" = "yes" ; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册