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 | |||||
Benjamin Close | 17fe478 | 2009-02-10 11:54:27 +1030 | [diff] [blame] | 14 | MAKEFLAGS="" |
15 | |||||
Dan Nicholson | 460d25d | 2008-03-07 12:04:17 -0800 | [diff] [blame] | 16 | autoreconf -v --install || exit 1 |
17 | |||||
18 | "$srcdir"/configure "$@" |