From b3bf7bd700a9b467ccb71a4c2ae156300c17ec96 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Thu, 30 May 2013 17:11:04 -0700 Subject: [PATCH] Actually link with libspice-client-glib. --- protocols/spice/Makefile.am | 3 ++- protocols/spice/configure.in | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/protocols/spice/Makefile.am b/protocols/spice/Makefile.am index ee1ec68b..ff135e0c 100644 --- a/protocols/spice/Makefile.am +++ b/protocols/spice/Makefile.am @@ -48,7 +48,8 @@ noinst_HEADERS = \ include/client.h \ include/guac_handlers.h -libguac_client_spice_la_CFLAGS = -Werror -Wall -pedantic -Iinclude +libguac_client_spice_la_CFLAGS = -Werror -Wall -pedantic -Iinclude @SPICE_CLIENT_GLIB_CFLAGS@ +libguac_client_spice_la_LIBADD = @SPICE_CLIENT_GLIB_LIBS@ libguac_client_spice_la_LDFLAGS = -version-info 0:0:0 EXTRA_DIST = LICENSE diff --git a/protocols/spice/configure.in b/protocols/spice/configure.in index 65185e93..c8a61154 100644 --- a/protocols/spice/configure.in +++ b/protocols/spice/configure.in @@ -47,6 +47,7 @@ AC_PROG_LIBTOOL AC_CHECK_LIB([guac], [guac_client_plugin_open],, AC_MSG_ERROR("libguac must be installed first")) AC_CHECK_LIB([cairo], [cairo_create],, AC_MSG_ERROR("cairo is required for drawing instructions")) AC_CHECK_LIB([pthread], [pthread_create]) +PKG_CHECK_MODULES([SPICE_CLIENT_GLIB], [spice-client-glib-2.0]) # Checks for header files. AC_CHECK_HEADERS([guacamole/client.h guacamole/guacio.h guacamole/protocol.h])