[Spice-devel] [spice-common] build-sys: Add gio-2.0 to SPICE_CHECK_GLIB2

Fabiano FidĂȘncio fidencio at redhat.com
Fri Oct 23 04:55:22 PDT 2015


On Fri, Oct 23, 2015 at 1:54 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> 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.
> ---
>  m4/spice-deps.m4 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/m4/spice-deps.m4 b/m4/spice-deps.m4
> index 117d346..59744d2 100644
> --- a/m4/spice-deps.m4
> +++ b/m4/spice-deps.m4
> @@ -142,7 +142,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()
> --
> 2.5.0
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

ACK considering you have tested it.


More information about the Spice-devel mailing list