projects
/
profile
/
ivi
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i965/gen7: Set up all samplers even if samplers are sparsely used.
[profile/ivi/mesa.git]
/
autogen.sh
diff --git
a/autogen.sh
b/autogen.sh
index
19e5b55
..
626d213
100755
(executable)
--- a/
autogen.sh
+++ b/
autogen.sh
@@
-3,14
+3,12
@@
srcdir=`dirname "$0"`
test -z "$srcdir" && srcdir=.
srcdir=`dirname "$0"`
test -z "$srcdir" && srcdir=.
-SRCDIR=`(cd "$srcdir" && pwd)`
ORIGDIR=`pwd`
ORIGDIR=`pwd`
-
-if test "x$SRCDIR" != "x$ORIGDIR"; then
- echo "Mesa cannot be built when srcdir != builddir" 1>&2
- exit 1
-fi
+cd "$srcdir"
autoreconf -v --install || exit 1
autoreconf -v --install || exit 1
+cd $ORIGDIR || exit $?
-"$srcdir"/configure "$@"
+if test -z "$NOCONFIGURE"; then
+ "$srcdir"/configure "$@"
+fi