Update autotools configuration

Use new libtool syntax and cleaning the code a bit
This commit is contained in:
Javier Jardón 2010-11-06 01:55:27 +01:00 committed by Kristian Høgsberg
parent 0bfb126e59
commit 5b7e43ac56
3 changed files with 26 additions and 16 deletions

View file

@ -1,12 +1,9 @@
#! /bin/sh
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
autoreconf --force -v --install || exit 1
cd $ORIGDIR || exit $?
$srcdir/configure "$@"
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
(
cd "$srcdir" &&
autoreconf --force -v --install
) || exit
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"