spice-protocol/autogen.sh
Christophe Fergeau 2b9d15c1d3 build-sys: Add --enable-code-generator
This flag is only used for git builds, and can usually safely be
disabled.
When it's enabled, configure.ac will check that python-six and pyparsing
are available, and will use these together with the codegen python
scripts in order to automatically regenerate enums.h when the .proto
files change.
2015-08-07 11:54:47 +02:00

20 lines
353 B
Bash
Executable File

#! /bin/sh
set -e # exit on errors
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
(
cd "$srcdir"
autoreconf --verbose --force --install
)
CONFIGURE_ARGS="--enable-maintainer-mode --enable-code-generator"
if [ -z "$NOCONFIGURE" ]; then
echo "Running configure with $CONFIGURE_ARGS $@"
"$srcdir/configure" $CONFIGURE_ARGS "$@"
fi