diff options
author | Javier Jardón | 2011-02-09 07:28:20 -0600 |
---|---|---|
committer | Chris Wilson | 2011-03-21 08:43:43 -0500 |
commit | fd3ed34a2070fca3804baf54ece40d0bc2666226 (patch) | |
tree | 546cdaad8e558c0367c321954f0b1391cb52ffe5 /autogen.sh | |
parent | 3b04c73650b5e9bbcb602fdb8cea0b16ad82d0c0 (diff) | |
download | external-libgbm-fd3ed34a2070fca3804baf54ece40d0bc2666226.tar.gz external-libgbm-fd3ed34a2070fca3804baf54ece40d0bc2666226.tar.xz external-libgbm-fd3ed34a2070fca3804baf54ece40d0bc2666226.zip |
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 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | 2 | ||
3 | srcdir=`dirname $0` | 3 | test -n "$srcdir" || srcdir=`dirname "$0"` |
4 | test -z "$srcdir" && srcdir=. | 4 | test -n "$srcdir" || srcdir=. |
5 | 5 | autoreconf --force --install --verbose "$srcdir" | |
6 | ORIGDIR=`pwd` | 6 | test -n "$NOCONFIGURE" || "$srcdir/configure" "$@" |
7 | cd $srcdir | ||
8 | |||
9 | autoreconf -v --install || exit 1 | ||
10 | cd $ORIGDIR || exit $? | ||
11 | |||
12 | $srcdir/configure --enable-maintainer-mode "$@" | ||