[gupnp-vala] autogen.sh: Use autoreconf instead gnome-autogen
- From: Javier JardÃn <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp-vala] autogen.sh: Use autoreconf instead gnome-autogen
- Date: Mon, 24 Oct 2011 02:22:47 +0000 (UTC)
commit a182abba5aadbb4c4ced9a083516cd879adaaaa3
Author: Javier JardÃn <jjardon gnome org>
Date: Mon Oct 24 03:14:11 2011 +0100
autogen.sh: Use autoreconf instead gnome-autogen
autogen.sh | 23 +++++++++++++++--------
1 files changed, 15 insertions(+), 8 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 66d580a..72ebb9a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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" "$@"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]