diff options
author | Matthias Hopf <mhopf@suse.de> | 2007-04-11 17:23:44 +0200 |
---|---|---|
committer | Matthias Hopf <mhopf@suse.de> | 2007-04-11 17:23:44 +0200 |
commit | cb188ab9d7afb737a459d4d8105ce15fa00fdf0d (patch) | |
tree | bd08ec9fc592192676b9984f9ecd6348a96557e9 /autogen.sh | |
parent | ea93d1b25b470d01931bc16130d3933b4b80498f (diff) | |
download | xcb-proto-cb188ab9d7afb737a459d4d8105ce15fa00fdf0d.tar.gz |
Update autogen.sh to one that does objdir != srcdir.
Diffstat (limited to 'autogen.sh')
-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 "$@" |