Dan Nicholson | 460d25d | 2008-03-07 12:04:17 -0800 | [diff] [blame] | 1 | #! /bin/sh |
2 | |||||
3 | srcdir=`dirname "$0"` | ||||
4 | test -z "$srcdir" && srcdir=. | ||||
5 | |||||
6 | SRCDIR=`(cd "$srcdir" && pwd)` | ||||
7 | ORIGDIR=`pwd` | ||||
8 | |||||
9 | if test "x$SRCDIR" != "x$ORIGDIR"; then | ||||
10 | echo "Mesa cannot be built when srcdir != builddir" 1>&2 | ||||
11 | exit 1 | ||||
12 | fi | ||||
13 | |||||
14 | autoreconf -v --install || exit 1 | ||||
15 | |||||
16 | "$srcdir"/configure "$@" |