From: Daniel P. Berrange Date: Tue, 18 Sep 2007 23:40:34 +0000 (+0000) Subject: Don't check for bridge headers if QEMU is disabled X-Git-Tag: LIBVIRT_0_3_3~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=444f9c368ea05f124f24f8e98cc49c2819d34923;p=thirdparty%2Flibvirt.git Don't check for bridge headers if QEMU is disabled --- diff --git a/ChangeLog b/ChangeLog index 0b94f95d2c..b164e02ca6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Sep 18 19:36:00 EST 2007 Daniel P. Berrange + + * configure.in: Don't check for Linux bridge headers if QEMU + driver is disabled + Tue Sep 18 19:32:00 EST 2007 Daniel P. Berrange * configure.in: Print out summary of configuration options diff --git a/configure.in b/configure.in index e10bfe47dc..1fe195304c 100644 --- a/configure.in +++ b/configure.in @@ -239,8 +239,10 @@ fi dnl dnl check for kernel headers required by qemud/bridge.c dnl -AC_CHECK_HEADERS(linux/param.h linux/sockios.h linux/if_bridge.h linux/if_tun.h,, - AC_MSG_ERROR([You must install kernel-headers in order to compile libvirt])) +if test "$with_qemu" = "yes" ; then + AC_CHECK_HEADERS(linux/param.h linux/sockios.h linux/if_bridge.h linux/if_tun.h,, + AC_MSG_ERROR([You must install kernel-headers in order to compile libvirt])) +fi dnl ========================================================================== dnl find libxml2 library, borrowed from xmlsec