diff options
author | Javier Jardón <jjardon@gnome.org> | 2011-10-24 03:14:11 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2011-10-24 03:22:26 +0100 |
commit | a182abba5aadbb4c4ced9a083516cd879adaaaa3 (patch) | |
tree | 79e0ce861f01817a9cd02b4cc3144abe04fabb29 | |
parent | ccf99bf484de1ea01c7cfcc72a560173edb2a1f6 (diff) | |
download | gupnp-vala-a182abba5aadbb4c4ced9a083516cd879adaaaa3.tar.gz |
autogen.sh: Use autoreconf instead gnome-autogen
-rwxr-xr-x | autogen.sh | 23 |
1 files changed, 15 insertions, 8 deletions
@@ -1,13 +1,20 @@ #!/bin/sh -which gnome-autogen.sh || { - echo "You need to install gnome-common from the GNOME git" - exit 1 -} +test -n "$srcdir" || srcdir=`dirname "$0"` +test -n "$srcdir" || srcdir=. + +OLDDIR=`pwd` +cd "$srcdir" + +AUTORECONF=`which autoreconf` +if test -z $AUTORECONF; then + echo "*** No autoreconf found, please install it ***" + exit 1 +fi mkdir -p m4 -# require automak 1.11 for vala support -REQUIRED_AUTOMAKE_VERSION=1.11 \ -REQUIRED_AUTOCONF_VERSION=2.64 \ -gnome-autogen.sh "$@" +autoreconf --force --install --verbose || exit $? + +cd "$OLDDIR" +test -n "$NOCONFIGURE" || "$srcdir/configure" "$@" |