From f88a7b7bec4da8dcb648baee70a9e01fc0572197 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Mon, 6 Jul 2015 17:57:52 +0200 Subject: Use installed spice-protocol for code generation Now that spice-protocol ships the needed .proto files as well as the corresponding python scripts, spice-common can use these in order to generate the C code for the SPICE (de)marshallers. --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 1dacfa2..bc7ace2 100644 --- a/configure.ac +++ b/configure.ac @@ -28,7 +28,9 @@ AM_PROG_CC_C_O SPICE_CHECK_SYSDEPS # Checks for libraries -PKG_CHECK_MODULES([PROTOCOL], [spice-protocol]) +PKG_CHECK_MODULES([PROTOCOL], [spice-protocol >= 0.12.10]) +CODE_GENERATOR_BASEDIR=`pkg-config --variable=codegendir spice-protocol` +AC_SUBST([CODE_GENERATOR_BASEDIR]) SPICE_CHECK_PYTHON_MODULES() -- cgit