blob: 19e5b55fcfa67dfd31ce6a7ec23e6ac0ce23ebb3 [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
14autoreconf -v --install || exit 1
15
16"$srcdir"/configure "$@"