spice/autogen.sh
Christophe Fergeau 05502a9440 build-sys: Pass --enable-python-checks when running autogen.sh
This will tell spice-common configure.ac to test for the availability of
python-six when building from git.
2015-04-23 10:38:24 +02:00

20 lines
336 B
Bash
Executable File

#!/bin/sh
set -e # exit on errors
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
olddir=`pwd`
cd "$srcdir"
git submodule update --init --recursive
mkdir -p m4
autoreconf --verbose --force --install
cd "$olddir"
if [ -z "$NOCONFIGURE" ]; then
"$srcdir"/configure --enable-maintainer-mode --enable-python-checks ${1+"$@"}
fi