From: Stefan Berger Date: Tue, 9 Mar 2010 13:14:48 +0000 (+0100) Subject: macvtap build detection fix X-Git-Tag: v0.8.0~331 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3b6fe5f9c55bf609164dda8b15e6aacf169d803;p=thirdparty%2Flibvirt.git macvtap build detection fix * configure.ac: fix the header test used for macvtap availability detection --- diff --git a/configure.ac b/configure.ac index 6f4d7e4126..ab69e5228b 100644 --- a/configure.ac +++ b/configure.ac @@ -1849,7 +1849,8 @@ AC_ARG_WITH([macvtap], [with_macvtap=check]) if test "$with_macvtap" != "no" ; then - AC_TRY_COMPILE([ #include ], + AC_TRY_COMPILE([ #include + #include ], [ int x = MACVLAN_MODE_BRIDGE; ], [ with_macvtap=yes ], [ if test "$with_macvtap" = "yes" ; then