diff options
author | Matthias Hopf <mhopf@suse.de> | 2007-04-11 17:31:31 +0200 |
---|---|---|
committer | Matthias Hopf <mhopf@suse.de> | 2007-04-11 17:31:31 +0200 |
commit | 3abd41625c7d6db6d01f3167d6bac2b7481965cf (patch) | |
tree | cbba7657807a8e014a06b733415fe24330def4ee | |
parent | eaa380efefd347abcd11a6c24c008686beaf8257 (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 "$@" +cd $ORIGDIR || exit $? + +$srcdir/configure --enable-maintainer-mode "$@" |