diff -r a42cfe78c6d1 configure.in --- a/configure.in Mon Sep 17 04:24:25 2007 -0400 +++ b/configure.in Mon Sep 17 04:24:57 2007 -0400 @@ -233,9 +233,10 @@ dnl check for kernel headers required by dnl check for kernel headers required by qemud/bridge.c dnl +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 PKG_PROG_PKG_CONFIG()