From a03ef7abb508223bce65366d2ef9193521513d00 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Tue, 3 Jan 2012 21:12:24 -0500 Subject: config: set-up xorg automatic rebuilding rules The current code is a noop. Use the same configuration as all the other xorg modules. This will change in the future but it is less confusing when all modules behave the same way. Note that these rules apply to building from a tarball only. Restore autogen.sh to be identical in all xorg modules. Signed-off-by: Gaetan Nadon Signed-off-by: Daniel Vetter --- autogen.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index 30d679f4..904cd674 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,6 +1,12 @@ #! /bin/sh -test -n "$srcdir" || srcdir=`dirname "$0"` -test -n "$srcdir" || srcdir=. -autoreconf --force --install --verbose "$srcdir" -test -n "$NOCONFIGURE" || "$srcdir/configure" "$@" +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd $srcdir + +autoreconf -v --install || exit 1 +cd $ORIGDIR || exit $? + +$srcdir/configure --enable-maintainer-mode "$@" -- cgit v1.2.3