summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: c7467f164c4404fc46429eaa5116bb9ba315c69d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -e

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

ORIGDIR=`pwd`
cd "$srcdir"

autoreconf --verbose --install --force --warnings=all
cd "$ORIGDIR"

if test -z "$NOCONFIGURE"; then
    exec "$srcdir/configure" "$@"
fi