summaryrefslogtreecommitdiffstats
path: root/m4/spice-deps.m4
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-10-23 13:52:05 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2015-10-23 14:05:23 +0200
commit04ed3b8cbe583b85e9bbb6cd48be36c4f434a65b (patch)
tree5e65e15c29ebf0bca74a447a2119f1cc2094debf /m4/spice-deps.m4
parent9749e7ed14ded2b455395bc6db84519a8ec0cc7b (diff)
downloadspice-common-04ed3b8cbe583b85e9bbb6cd48be36c4f434a65b.tar.gz
spice-common-04ed3b8cbe583b85e9bbb6cd48be36c4f434a65b.tar.xz
spice-common-04ed3b8cbe583b85e9bbb6cd48be36c4f434a65b.zip
build-sys: Add gio-2.0 to SPICE_CHECK_GLIB2
GInetAddress is defined in gio, not glib. Not checking for gio-2.0 in SPICE_CHECK_GLIB2 means gio won't be in GLIB2_LIBS, which causes link errors when trying to build spice-server.
Diffstat (limited to 'm4/spice-deps.m4')
-rw-r--r--m4/spice-deps.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/spice-deps.m4 b/m4/spice-deps.m4
index bcd6f98..07cb183 100644
--- a/m4/spice-deps.m4
+++ b/m4/spice-deps.m4
@@ -140,7 +140,7 @@ AC_DEFUN([SPICE_CHECK_PIXMAN], [
# use in the GLIB2_CFLAGS and GLIB2_LIBS variables.
#------------------
AC_DEFUN([SPICE_CHECK_GLIB2], [
- PKG_CHECK_MODULES(GLIB2, glib-2.0 >= 2.22)
+ PKG_CHECK_MODULES(GLIB2, glib-2.0 >= 2.22 gio-2.0 >= 2.22)
])
# SPICE_CHECK_PYTHON_MODULES()