diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2012-01-03 21:12:24 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-01-04 10:47:11 +0100 |
commit | a03ef7abb508223bce65366d2ef9193521513d00 (patch) | |
tree | ed40690b5b1e149ef203c25383e95e101d671bf4 /autogen.sh | |
parent | 665b86664ab5b4a8a076682d9c879f7a9fbeb756 (diff) | |
download | platform_external_igt-gpu-tools-a03ef7abb508223bce65366d2ef9193521513d00.tar.gz platform_external_igt-gpu-tools-a03ef7abb508223bce65366d2ef9193521513d00.tar.bz2 platform_external_igt-gpu-tools-a03ef7abb508223bce65366d2ef9193521513d00.zip |
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 <memsize@videotron.ca>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -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 "$@" |