1#! /bin/sh
2
3srcdir=`dirname "$0"`
4test -z "$srcdir" && srcdir=.
5
6ORIGDIR=`pwd`
7cd "$srcdir"
8
9autoreconf -v --install || exit 1
10cd $ORIGDIR || exit $?
11
12if test -z "$NOCONFIGURE"; then
13    "$srcdir"/configure "$@"
14fi
15