summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/x11/Makefile.am1
-rw-r--r--configure.ac5
-rw-r--r--server/Makefile.am1
3 files changed, 7 insertions, 0 deletions
diff --git a/client/x11/Makefile.am b/client/x11/Makefile.am
index 12039f0f..c5efd861 100644
--- a/client/x11/Makefile.am
+++ b/client/x11/Makefile.am
@@ -14,6 +14,7 @@ INCLUDES = \
-I$(top_srcdir)/common \
-I$(top_srcdir)/common/linux \
-I$(top_srcdir)/client \
+ $(PROTOCOL_CFLAGS) \
$(GL_CFLAGS) \
$(ALSA_CFLAGS) \
$(FFMPEG_CFLAGS) \
diff --git a/configure.ac b/configure.ac
index 01d607fa..dc67286b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -87,6 +87,11 @@ AM_CONDITIONAL(OS_LINUX, test "$os_linux" = "yes")
dnl =========================================================================
dnl Check deps
+PKG_CHECK_MODULES(PROTOCOL, spice-protocol)
+AC_SUBST(PROTOCOL_CFLAGS)
+SPICE_REQUIRES+=" log4cpp"
+
+
AC_CHECK_LIBM
AC_SUBST(LIBM)
diff --git a/server/Makefile.am b/server/Makefile.am
index fdaa15a5..03f15a3b 100644
--- a/server/Makefile.am
+++ b/server/Makefile.am
@@ -4,6 +4,7 @@ INCLUDES = \
-I. \
-I$(top_srcdir)/common \
-I$(top_srcdir)/common/linux \
+ $(PROTOCOL_CFLAGS) \
$(FFMPEG_CFLAGS) \
$(QCAIRO_CFLAGS) \
$(GL_CFLAGS) \