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

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

ORIGDIR=`pwd`
cd $srcdir

git describe >version

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

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