Don't check for bridge headers if QEMU is disabled

This commit is contained in:
Daniel P. Berrange 2007-09-18 23:40:34 +00:00
parent 4966664928
commit 444f9c368e
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Tue Sep 18 19:36:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* 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 <berrange@redhat.com>
* configure.in: Print out summary of configuration options

View File

@ -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