From fd3ed34a2070fca3804baf54ece40d0bc2666226 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Wed, 9 Feb 2011 13:28:20 +0000 Subject: build: Update autotools configuration Replace some deprecated autoconf macros and use the new libtool syntax --- autogen.sh | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index 904cd674..30d679f4 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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" "$@" -- cgit v1.2.3