summaryrefslogtreecommitdiffstats
path: root/autogen.sh
blob: de6881dbe9f86a8b881ce372f21ad9664f816990 (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=.


(
    cd "$srcdir"
    autoreconf --verbose --force --install
)

CONFIGURE_ARGS="--enable-maintainer-mode"

if [ -z "$NOCONFIGURE" ]; then
    echo "Running configure with $CONFIGURE_ARGS $@"
    "$srcdir/configure" $CONFIGURE_ARGS "$@"
fi