summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2011-02-08 22:33:12 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-02-09 10:19:51 +0000
commit68b64f1b399e712a3b96b91568dc2b6d7e9b35d9 (patch)
tree1681e3419f0335de412345401ccbb1a3d2ef2d3e /autogen.sh
parent293dd478d713eee5cedfa04749c97d1aa850df3c (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-xautogen.sh14
1 files changed, 4 insertions, 10 deletions
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" "$@"