mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 05:17:59 +03:00
macvtap build detection fix
* configure.ac: fix the header test used for macvtap availability detection
This commit is contained in:
parent
1c36d0682a
commit
d3b6fe5f9c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user