summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 904c00efe835dd373bea03a0d2b72138cceb5980 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e # exit on errors

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

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
    "$srcdir"/configure --enable-maintainer-mode $enable_vala ${1+"$@"}
fi