Actually link with libspice-client-glib.

This commit is contained in:
Michael Jumper 2013-05-30 17:11:04 -07:00
parent 05a9a7524a
commit b3bf7bd700
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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])