summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-04-04 10:29:04 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2012-04-04 10:29:04 +0200
commit23f4cc040fae0579068bb00e689fbab4119a15dd (patch)
tree6d92e20886e2c52d1ec32ff9490965a71ef1a9f4 /autogen.sh
parent2eaa3cf7adbdffdddbed0bc6b9e87d50f8229d16 (diff)
downloadspice-gtk-23f4cc040fae0579068bb00e689fbab4119a15dd.tar.gz
spice-gtk-23f4cc040fae0579068bb00e689fbab4119a15dd.tar.xz
spice-gtk-23f4cc040fae0579068bb00e689fbab4119a15dd.zip
autogen.sh: default to --enable-vala when building from git
People using autogen.sh are likely to be building from git, so may get updates to vala files at any time. Checking for the presence of controller.vala.stamp to decide whether vala should be enabled or not is not very accurate since it doesn't reflect if a .vala file needs to be regenerated or not. It's better to always pass --enable-vala to configure, it's always possible to disable it by using --disable-vala as an autogen.sh argument.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/autogen.sh b/autogen.sh
index aefd2fd..0c18272 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -10,12 +10,9 @@ git submodule update --init --recursive
gtkdocize
autoreconf -v --force --install
intltoolize -f
-if test ! -e gtk/controller/controller.vala.stamp; then
- enable_vala="--enable-vala"
-fi
if [ -z "$NOCONFIGURE" ]; then
- echo "Running configure with --enable-maintainer-mode --enable-gtk-doc --with-gtk=3.0 $enable_vala ${1+"$@"}"
- "$srcdir"/configure --enable-maintainer-mode --enable-gtk-doc --with-gtk=3.0 $enable_vala ${1+"$@"}
+ echo "Running configure with --enable-maintainer-mode --enable-gtk-doc --with-gtk=3.0 --enable-vala ${1+"$@"}"
+ "$srcdir"/configure --enable-maintainer-mode --enable-gtk-doc --with-gtk=3.0 --enable-vala ${1+"$@"}
fi