summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: e9080fe81a3237a3c108b4a9fff8da25bf823e88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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