From 66731cc9588668f5f373990e3e46a9ecada98320 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Thu, 17 Jun 2010 20:05:50 +0100 Subject: [PATCH 1/2] Remove srcdir != builddir check from autogen.sh Remove srcdir != builddir check from autogen.sh, it's no longer needed --- autogen.sh | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/autogen.sh b/autogen.sh index c76bf8b..793da40 100755 --- a/autogen.sh +++ b/autogen.sh @@ -3,16 +3,10 @@ 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="" +cd $srcdir autoreconf -v --install || exit 1 +cd $ORIGDIR || exit $? "$srcdir"/configure "$@" -- 1.7.0.4