4 test -z "$srcdir" && srcdir=.
6 SRCDIR=`(cd "$srcdir" && pwd)`
9 if test "x$SRCDIR" != "x$ORIGDIR"; then
10 echo "Mesa cannot be built when srcdir != builddir" 1>&2
16 autoreconf -v --install || exit 1
18 if test -z "$NOCONFIGURE"; then
19 "$srcdir"/configure "$@"