diff options
author | marha <marha@users.sourceforge.net> | 2011-09-20 10:51:44 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-09-20 10:51:44 +0200 |
commit | 5921af43b0a9b04c0c6b7d3c1e042e05bd3acbb1 (patch) | |
tree | b7206e85fd135f1cf45c1db3ad85d3dc7c2fa2d3 /mesalib/autogen.sh | |
parent | 97f357506241a5314de9071befcd01be731f1dbb (diff) | |
parent | 0470a59df89ab453bdbe0fc2f820278cfffdc61c (diff) | |
download | vcxsrv-5921af43b0a9b04c0c6b7d3c1e042e05bd3acbb1.tar.gz vcxsrv-5921af43b0a9b04c0c6b7d3c1e042e05bd3acbb1.tar.bz2 vcxsrv-5921af43b0a9b04c0c6b7d3c1e042e05bd3acbb1.zip |
Merge remote-tracking branch 'origin/released'
Diffstat (limited to 'mesalib/autogen.sh')
-rw-r--r-- | mesalib/autogen.sh | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/mesalib/autogen.sh b/mesalib/autogen.sh index 182a28d16..b5f6ec4a9 100644 --- a/mesalib/autogen.sh +++ b/mesalib/autogen.sh @@ -1,18 +1,20 @@ -#! /bin/sh
-
-srcdir=`dirname "$0"`
-test -z "$srcdir" && srcdir=.
-
-SRCDIR=`(cd "$srcdir" && pwd)`
-ORIGDIR=`pwd`
-
-if test "x$SRCDIR" != "x$ORIGDIR"; then
- echo "Mesa cannot be built when srcdir != builddir" 1>&2
- exit 1
-fi
-
-MAKEFLAGS=""
-
-autoreconf -v --install || exit 1
-
-"$srcdir"/configure "$@"
+#! /bin/sh + +srcdir=`dirname "$0"` +test -z "$srcdir" && srcdir=. + +SRCDIR=`(cd "$srcdir" && pwd)` +ORIGDIR=`pwd` + +if test "x$SRCDIR" != "x$ORIGDIR"; then + echo "Mesa cannot be built when srcdir != builddir" 1>&2 + exit 1 +fi + +MAKEFLAGS="" + +autoreconf -v --install || exit 1 + +if test -z "$NOCONFIGURE"; then + "$srcdir"/configure "$@" +fi |