1#!/bin/sh
2
3set -e
4
5test -n "$srcdir" || srcdir=`dirname "$0"`
6test -n "$srcdir" || srcdir=.
7
8olddir=`pwd`
9cd "$srcdir"
10
11# This will run autoconf, automake, etc. for us
12autoreconf --force --install
13
14cd "$olddir"
15
16if test -z "$NOCONFIGURE"; then
17  "$srcdir"/configure "$@"
18fi
19