1 #! /bin/sh
3 srcdir=`dirname $0`
4 test -z "$srcdir" && srcdir=.
6 ORIGDIR=`pwd`
7 cd $srcdir
9 autoreconf -v --install || exit 1
10 cd $ORIGDIR || exit $?
12 test -n "$NOCONFIGURE" && {
13 echo "skipping configure stage as requested."
14 echo "autogen.sh done."
15 exit 0
16 }
18 $srcdir/configure --enable-maintainer-mode "$@"