diff options
author | Javier Jardón <jjardon@gnome.org> | 2011-02-08 22:33:12 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-02-09 10:19:51 +0000 |
commit | 68b64f1b399e712a3b96b91568dc2b6d7e9b35d9 (patch) | |
tree | 1681e3419f0335de412345401ccbb1a3d2ef2d3e /autogen.sh | |
parent | 293dd478d713eee5cedfa04749c97d1aa850df3c (diff) |
build: Update autotools configuration
Replace deprecated macros and use the new libtool syntax
Also use silent-rules to make the build option less verbose.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -1,12 +1,6 @@ #! /bin/sh -srcdir=`dirname $0` -test -z "$srcdir" && srcdir=. - -ORIGDIR=`pwd` -cd $srcdir - -autoreconf -v --install || exit 1 -cd $ORIGDIR || exit $? - -$srcdir/configure --enable-maintainer-mode "$@" +test -n "$srcdir" || srcdir=`dirname "$0"` +test -n "$srcdir" || srcdir=. +autoreconf --force --install --verbose "$srcdir" +test -n "$NOCONFIGURE" || "$srcdir/configure" "$@" |