summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-04-13 13:05:44 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2015-04-13 13:08:11 +0200
commit838ec7d87b5311843a7214fe946471fadd5d8908 (patch)
tree1bdeb7f7e2f59b32dc4339b93b0ab73c74def461 /autogen.sh
parentc6e6dacb30b8130a069d522054718d757eefa0db (diff)
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.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index e4ada55..0a69542 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -15,5 +15,5 @@ autoreconf --verbose --force --install
cd "$olddir"
if [ -z "$NOCONFIGURE" ]; then
- "$srcdir"/configure --enable-maintainer-mode ${1+"$@"}
+ "$srcdir"/configure --enable-maintainer-mode --enable-python-checks ${1+"$@"}
fi