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