diff options
author | Daniel Stone <daniel@fooishbar.org> | 2005-01-03 05:16:14 +0000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2005-01-03 05:16:14 +0000 |
commit | e86de666f5c9629cd98ed2b0460033da5d89a55b (patch) | |
tree | 68102774156836a27684675a7f63bd8fc19354c4 | |
parent | 648b14e2d0c1222cbe7571443ba00bb777fee2d4 (diff) |
New autogen.sh from Thomas Fitzsimmons that works with srcdir != objdir.
-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 "$@" |