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

test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.

olddir=`pwd`

cd "$srcdir"
autoreconf -fvi || exit $?

cd "$olddir"
test -n "$NOCONFIGURE" || $srcdir/configure "$@"