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

set -e # exit on errors

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

olddir=`pwd`
cd "$srcdir"

mkdir -p m4
autoreconf --verbose --force --install

cd "$olddir"
if [ -z "$NOCONFIGURE" ]; then
    "$srcdir"/configure --enable-maintainer-mode --enable-python-checks ${1+"$@"}
fi