projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gallium/util: Define ffsll on MinGW.
[mesa.git]
/
autogen.sh
diff --git
a/autogen.sh
b/autogen.sh
index b5f6ec4a97a2bfa8b9d881111a7a7d4e7a4a6de7..626d21334992a160241c02a78b0cb4dc7d5fceff 100755
(executable)
--- a/
autogen.sh
+++ b/
autogen.sh
@@
-3,17
+3,11
@@
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
-
-MAKEFLAGS=""
+cd "$srcdir"
autoreconf -v --install || exit 1
autoreconf -v --install || exit 1
+cd $ORIGDIR || exit $?
if test -z "$NOCONFIGURE"; then
"$srcdir"/configure "$@"
if test -z "$NOCONFIGURE"; then
"$srcdir"/configure "$@"