diff options
author | Javier Jardón <javier.jardon@codethink.co.uk> | 2011-02-09 13:28:20 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-03-21 13:43:43 +0000 |
commit | fd3ed34a2070fca3804baf54ece40d0bc2666226 (patch) | |
tree | 546cdaad8e558c0367c321954f0b1391cb52ffe5 /autogen.sh | |
parent | 3b04c73650b5e9bbcb602fdb8cea0b16ad82d0c0 (diff) |
build: Update autotools configuration
Replace some deprecated autoconf macros and use the new libtool
syntax
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" "$@" |