[libvirt] [PATCH] Rework configure logic for virtualport support

2010-09-28 Thread Stefan Berger
In this patch I am reworking the logic around detecting virtual port support and requiring the libnl dependency. - It requires --with-macvtap and displays an error in case of --without-macvtap --with-virtualport. - It tests for availability of certain data in include files and displays an

Re: [libvirt] [PATCH] Rework configure logic for virtualport support

2010-09-28 Thread Eric Blake
On 09/28/2010 11:01 AM, Stefan Berger wrote: In this patch I am reworking the logic around detecting virtual port support and requiring the libnl dependency. - It requires --with-macvtap and displays an error in case of --without-macvtap --with-virtualport. - It tests for availability of

Re: [libvirt] [PATCH] Rework configure logic for virtualport support

2010-09-28 Thread Stefan Berger
On 09/28/2010 01:52 PM, Eric Blake wrote: On 09/28/2010 11:01 AM, Stefan Berger wrote: -AC_TRY_COMPILE([ #include sys/socket.h - #include linux/rtnetlink.h ], - [ int x = IFLA_PORT_MAX; ], - [ with_virtualport=yes ], - [ with_virtualport=no ]) -if test $with_virtualport = yes; then - val=1