diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2009-10-20 18:17:46 +0100 |
---|---|---|
committer | Arnaud Fontaine <arnau@debian.org> | 2010-11-14 19:52:37 +0900 |
commit | 2ac7acd95bc775af21f65d8c5426e92d28780ab8 (patch) | |
tree | 546e2bb6a27c49a91a2b7ab82eba4ee1a734c4ed | |
parent | ee40bb3b6a7c5c69c8693a573a459484a24a49d1 (diff) | |
download | xcb-util-2ac7acd95bc775af21f65d8c5426e92d28780ab8.tar.gz |
Update autogen.sh to one that does builddir != srcdir
-rwxr-xr-x | autogen.sh | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,12 @@ #! /bin/sh + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd $srcdir + autoreconf -v --install || exit 1 -./configure "$@" +cd $ORIGDIR || exit $? + +$srcdir/configure --enable-maintainer-mode "$@" |