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

[Xen-devel] [PATCH v2 1/2] tools/configure: Check if Glib is present only when building QEMU



Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx>

---
    This patch requires to regenerate tools/configure

    Changes in v2:
        - Patch added
---
 tools/configure.ac | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/configure.ac b/tools/configure.ac
index 72e2465..2aff18d 100644
--- a/tools/configure.ac
+++ b/tools/configure.ac
@@ -322,7 +322,11 @@ i[[3456]]86|x86_64)
 esac
  AX_CHECK_UUID
  AX_CHECK_CURSES
+
+dnl Glib 2.0 is only required when QEMU is built
+AS_IF([test "x$qemu_xen" = "xy"], [
 PKG_CHECK_MODULES(glib, [glib-2.0 >= 2.12])
+])
 AX_CHECK_FETCHER
 
 # Checks for libraries.
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.