summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2011-02-09 00:36:37 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-02-09 11:46:19 +0000
commit9184af921bc2f332fcb6c9b47001414378eab8e2 (patch)
tree87961a6fa848e00fffc3460206fb8aa638eb9d6c /autogen.sh
parent6e721e098b9181e8e77e314f966729d28e705582 (diff)
Update autotools configuration
Use new libtool syntax and silent-rules to silent the build output a bit (linux-like)
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" "$@"