[atk] Revert "autogen.sh: Use autoreconf instead gnome-autogen"
- From: Javier JardÃn <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [atk] Revert "autogen.sh: Use autoreconf instead gnome-autogen"
- Date: Tue, 8 Jan 2013 18:13:36 +0000 (UTC)
commit 74dee341efc76529233b4208f4bb9425ea153b9a
Author: Javier <jjardon gnome org>
Date: Tue Jan 8 18:12:28 2013 +0000
Revert "autogen.sh: Use autoreconf instead gnome-autogen"
This reverts commit 7bea65a047fee56629553db9244282886a96c2e8.
autogen.sh | 31 +++++++++----------------------
1 files changed, 9 insertions(+), 22 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 99c398e..615d8d8 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,28 +1,15 @@
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
-test -n "$srcdir" || srcdir=`dirname "$0"`
-test -n "$srcdir" || srcdir=.
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
-olddir=`pwd`
-cd "$srcdir"
+PKG_NAME="atk"
+REQUIRED_AUTOMAKE_VERSION=1.7
-GTKDOCIZE=`which gtkdocize`
-if test -z $GTKDOCIZE; then
- echo "*** No GTK-Doc found, please install it ***"
- exit 1
-fi
+which gnome-autogen.sh || {
+ echo "You need to install gnome-common from the GNOME CVS"
+ exit 1
+}
-AUTORECONF=`which autoreconf`
-if test -z $AUTORECONF; then
- echo "*** No autoreconf found, please install it ***"
- exit 1
-fi
-
-mkdir -p m4
-
-gtkdocize || exit $?
-autoreconf --force --install --verbose || exit $?
-
-cd "$olddir"
-test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
+USE_GNOME2_MACROS=1 . gnome-autogen.sh
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]