blob: c76bf8b07bd001c641babb4f129f426036d513c4 [file] [log] [blame]
Dan Nicholson460d25d2008-03-07 12:04:17 -08001#! /bin/sh
2
3srcdir=`dirname "$0"`
4test -z "$srcdir" && srcdir=.
5
6SRCDIR=`(cd "$srcdir" && pwd)`
7ORIGDIR=`pwd`
8
9if test "x$SRCDIR" != "x$ORIGDIR"; then
10 echo "Mesa cannot be built when srcdir != builddir" 1>&2
11 exit 1
12fi
13
Benjamin Close17fe4782009-02-10 11:54:27 +103014MAKEFLAGS=""
15
Dan Nicholson460d25d2008-03-07 12:04:17 -080016autoreconf -v --install || exit 1
17
18"$srcdir"/configure "$@"