[Xcb-commit] 2 commits - autogen.sh
Matthias Hopf
mhopf at kemper.freedesktop.org
Wed May 2 10:06:42 PDT 2007
autogen.sh | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletion(-)
New commits:
diff-tree 2ec1383a68bf9f4baf7125a7d6544167f38d8d62 (from parents)
Merge: 3abd41625c7d6db6d01f3167d6bac2b7481965cf 158c9b6ba18b39f424bd524fceb66f3fec0d1616
Author: Matthias Hopf <mhopf at suse.de>
Date: Wed Apr 18 12:46:08 2007 +0200
Merge branch 'master' of git://anongit.freedesktop.org/git/xcb/libxcb
diff-tree 3abd41625c7d6db6d01f3167d6bac2b7481965cf (from eaa380efefd347abcd11a6c24c008686beaf8257)
Author: Matthias Hopf <mhopf at suse.de>
Date: Wed Apr 11 17:31:31 2007 +0200
Update autogen.sh to one that does objdir != 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