diff options
author | Daniel Stone <daniel@fooishbar.org> | 2005-08-18 09:03:38 +0000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2005-08-18 09:03:38 +0000 |
commit | 0c2450f48589fe11ca4b8eecbaeff1a0fa4acb21 (patch) | |
tree | 067d7e865ce1a56591b5ebd6a2e5a2fdf1b2a50b | |
parent | 7e982364b4cdb84f6c5cff93da30ebaa666157a7 (diff) |
Update autogen.sh to one that does objdir != 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 --enable-maintainer-mode "$@" +cd $ORIGDIR || exit $? + +$srcdir/configure --enable-maintainer-mode "$@" |