mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2026-01-02 14:36:54 +00:00
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.
20 lines
353 B
Bash
Executable File
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
|