diff options
author | Daniel Stone <daniel@fooishbar.org> | 2007-05-24 16:19:40 +0300 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2007-05-24 16:19:40 +0300 |
commit | d1ce3f95509bd86c0aa850d6b58c8a065517c84f (patch) | |
tree | bbc5f443fd1ec4a4b53a0acea0dcb96503cfb145 /autogen.sh | |
parent | 8129984603de569e01563d810a334765c2ec5062 (diff) |
Use canonical autogen.sh
Use the standard autogen.sh, which allows for srcdir != builddir.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -1,5 +1,12 @@ -#!/bin/sh -# Run this to generate all the initial makefiles, etc. +#! /bin/sh -autoreconf --force -i -./configure $* +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd $srcdir + +autoreconf -v --install || exit 1 +cd $ORIGDIR || exit $? + +$srcdir/configure --enable-maintainer-mode "$@" |