Re: [libvirt] [PATCH] macvtap build detection fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 09, 2010 at 07:30:56AM -0500, Stefan Berger wrote:
> This fixes the #include's for the macvtap build detection.
> 
> Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
> 

> Index: libvirt-acl/configure.ac
> ===================================================================
> --- libvirt-acl.orig/configure.ac
> +++ libvirt-acl/configure.ac
> @@ -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

  Okay, applied !

   thanks,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]