2008-03-07 12:04:17 -08:00
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
srcdir=`dirname "$0"`
|
|
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
|
|
|
|
SRCDIR=`(cd "$srcdir" && pwd)`
|
|
|
|
ORIGDIR=`pwd`
|
|
|
|
|
|
|
|
if test "x$SRCDIR" != "x$ORIGDIR"; then
|
|
|
|
echo "Mesa cannot be built when srcdir != builddir" 1>&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2009-02-10 11:54:27 +10:30
|
|
|
MAKEFLAGS=""
|
|
|
|
|
2008-03-07 12:04:17 -08:00
|
|
|
autoreconf -v --install || exit 1
|
|
|
|
|
|
|
|
"$srcdir"/configure "$@"
|