[Spice-devel] [PATCH RFC 02/12] Add libepoxy to dependency

Frediano Ziglio fziglio at redhat.com
Fri Jul 15 13:49:27 UTC 2016


Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 configure.ac             | 4 ++++
 server/Makefile.am       | 2 ++
 server/tests/Makefile.am | 2 ++
 3 files changed, 8 insertions(+)

diff --git a/configure.ac b/configure.ac
index 4923b40..1cd60f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -171,6 +171,10 @@ AC_SUBST(SSL_CFLAGS)
 AC_SUBST(SSL_LIBS)
 AS_VAR_APPEND([SPICE_REQUIRES], [" openssl"])
 
+PKG_CHECK_MODULES(EPOXY, epoxy)
+AC_SUBST(EPOXY_CFLAGS)
+AC_SUBST(EPOXY_LIBS)
+
 AC_CHECK_LIB(jpeg, jpeg_destroy_decompress,
     AC_MSG_CHECKING([for jpeglib.h])
     AC_TRY_CPP(
diff --git a/server/Makefile.am b/server/Makefile.am
index 921b082..0bed89c 100644
--- a/server/Makefile.am
+++ b/server/Makefile.am
@@ -16,6 +16,7 @@ AM_CPPFLAGS =					\
 	$(GSTREAMER_1_0_CFLAGS)			\
 	$(SPICE_PROTOCOL_CFLAGS)		\
 	$(SSL_CFLAGS)				\
+	$(EPOXY_CFLAGS)				\
 	$(VISIBILITY_HIDDEN_CFLAGS)		\
 	$(WARN_CFLAGS)				\
 	$(NULL)
@@ -50,6 +51,7 @@ libserver_la_LIBADD =							\
 	$(GSTREAMER_0_10_LIBS)						\
 	$(GSTREAMER_1_0_LIBS)						\
 	$(SSL_LIBS)							\
+	$(EPOXY_LIBS)							\
 	$(Z_LIBS)							\
 	$(SPICE_NONPKGCONFIG_LIBS)					\
 	$(NULL)
diff --git a/server/tests/Makefile.am b/server/tests/Makefile.am
index 91edd7c..7a54b9c 100644
--- a/server/tests/Makefile.am
+++ b/server/tests/Makefile.am
@@ -32,6 +32,7 @@ LDADD =								\
 	$(top_builddir)/spice-common/common/libspice-common.la	\
 	$(top_builddir)/server/libserver.la			\
 	$(GLIB2_LIBS)						\
+	$(EPOXY_LIBS)						\
 	$(GOBJECT2_LIBS)					\
 	$(SPICE_NONPKGCONFIG_LIBS)		                \
 	$(NULL)
@@ -76,6 +77,7 @@ spice_server_replay_LDADD =					\
 	$(top_builddir)/spice-common/common/libspice-common.la	\
 	$(top_builddir)/server/libspice-server.la		\
 	$(GLIB2_LIBS)						\
+	$(EPOXY_LIBS)						\
 	$(GOBJECT2_LIBS)					\
 	$(SPICE_NONPKGCONFIG_LIBS)		                \
 	$(NULL)
-- 
2.7.4



More information about the Spice-devel mailing list