summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 28f4d24247b947438b6be00ead085fe26f82c405 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh
# Run this to generate all the initial makefiles, etc.

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

ORIGDIR=`pwd`
cd "$srcdir"

autoreconf -v --install || exit 1
cd "$ORIGDIR" || exit $?

if test "x$NOCONFIGURE" = x; then
	"$srcdir"/configure --enable-maintainer-mode "$@"
fi