[Xcb-commit] autogen.sh
Jamey Sharp
jamey at kemper.freedesktop.org
Tue Oct 20 14:39:52 PDT 2009
autogen.sh | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
New commits:
commit de9f923e2a4a3a745077e0dd4b82787a969816e2
Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date: Tue Oct 20 18:17:46 2009 +0100
Update autogen.sh to one that does builddir != srcdir
diff --git a/autogen.sh b/autogen.sh
index d68a142..904cd67 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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 "$@"
More information about the xcb-commit
mailing list