2012-04-03 20:30:07 -07:00
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
srcdir=`dirname "$0"`
|
|
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
|
|
|
|
ORIGDIR=`pwd`
|
2012-10-07 20:41:18 -07:00
|
|
|
cd "$srcdir"
|
2012-04-03 20:30:07 -07:00
|
|
|
|
|
|
|
autoreconf -v --install || exit 1
|
2012-10-07 20:41:18 -07:00
|
|
|
cd $ORIGDIR || exit $?
|
2012-04-03 20:30:07 -07:00
|
|
|
|
2012-10-07 20:41:18 -07:00
|
|
|
if test -z "$NOCONFIGURE"; then
|
|
|
|
"$srcdir"/configure "$@"
|
|
|
|
fi
|