Re: PATCH 5/5: Don't check bridge headers without QEMU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The configure script checks for 

  linux/param.h linux/sockios.h linux/if_bridge.h linux/if_tun.h

Even if compiling without the QEMU enabled. These are only used by the network
driver, which is part of the QEMU driver, so checking for them when configure
is given --disable-qemu is bogus

Dan..
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 
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()
 
--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]