summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2012-03-01 11:54:54 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2012-03-01 16:24:10 +0100
commit5d57fb4d1b119119f2b9512321fa8ac40df853a7 (patch)
treec6e6037c741a4536c049e5ff562d1ffb5175cf45 /configure.ac
parent5077ab60f8c2ec44a3ae40c2b3f986bf038b3e8f (diff)
downloadspice-5d57fb4d1b119119f2b9512321fa8ac40df853a7.tar.gz
spice-5d57fb4d1b119119f2b9512321fa8ac40df853a7.tar.xz
spice-5d57fb4d1b119119f2b9512321fa8ac40df853a7.zip
build-sys: use spice-protocol as submodule
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b8acfa94..1ca5e774 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,6 +25,7 @@ AC_PROG_LIBTOOL
AM_PROG_CC_C_O
AC_C_BIGENDIAN
AC_PATH_PROGS(PYTHON, python2 python)
+PKG_PROG_PKG_CONFIG
AC_CHECK_HEADERS([sys/time.h])
AC_CHECK_HEADERS([execinfo.h])
@@ -139,7 +140,8 @@ AM_CONDITIONAL(SUPPORT_AUTOMATED_TESTS, test "x$enable_automated_tests" != "xno"
dnl =========================================================================
dnl Check deps
-PKG_CHECK_MODULES(PROTOCOL, spice-protocol >= 0.10.1)
+AC_CONFIG_SUBDIRS([spice-protocol])
+PROTOCOL_CFLAGS='-I ${top_srcdir}/spice-protocol'
AC_SUBST(PROTOCOL_CFLAGS)
AC_CHECK_LIBM