From 838ec7d87b5311843a7214fe946471fadd5d8908 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Mon, 13 Apr 2015 13:05:44 +0200 Subject: configure.ac: Check for needed python modules for git builds After the patch adding support for python 3 to the code generator, python-six is required when building from git. Since I got 2 different reports of SPICE build failures right after introducing it, it's probably better to check for the needed python modules from configure, and exit with an error if they are missing. This commit adds a --enable-python-checks configure flag for that though, since we only want to do that when building from git. It assumes that people running from git will be running autogen.sh, while people building from tarballs will run configure. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 73102c0..3a8c0e5 100644 --- a/configure.ac +++ b/configure.ac @@ -36,6 +36,8 @@ AC_CONFIG_SUBDIRS([spice-protocol]) PROTOCOL_CFLAGS='-I ${top_srcdir}/spice-protocol' AC_SUBST(PROTOCOL_CFLAGS) +SPICE_CHECK_PYTHON_MODULES() + SPICE_CHECK_PIXMAN(SPICE_COMMON) SPICE_CHECK_SMARTCARD(SPICE_COMMON) SPICE_CHECK_CELT051(SPICE_COMMON) -- cgit