2008-11-02 07:58:06 -07: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
|
|
|
|
|
2010-05-22 14:05:42 -06:00
|
|
|
MAKEFLAGS=""
|
|
|
|
|
2008-11-02 07:58:06 -07:00
|
|
|
autoreconf -v --install || exit 1
|
|
|
|
|
|
|
|
"$srcdir"/configure "$@"
|