[giggle] Use autoreconf instead gnome-common.sh
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [giggle] Use autoreconf instead gnome-common.sh
- Date: Tue, 5 Oct 2010 01:30:53 +0000 (UTC)
commit 64606471c2e213ccb927c57f7e5396df9f7dc9af
Author: Javier Jardón <jjardon gnome org>
Date: Tue Oct 5 03:30:11 2010 +0200
Use autoreconf instead gnome-common.sh
autogen.sh | 28 ++++++++--------------------
1 files changed, 8 insertions(+), 20 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 2e827ec..e63d5bf 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,23 +1,11 @@
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
-srcdir=`dirname $0`
-test -z "$srcdir" && srcdir=.
-
-PKG_NAME="giggle"
-
-(test -f $srcdir/configure.ac) || {
- echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
- echo " top-level $PKG_NAME directory"
- exit 1
-}
-
-which gnome-autogen.sh || {
- echo "You need to install gnome-common module and make"
- echo "sure the gnome-autogen.sh script is in your \$PATH."
- exit 1
-}
-
-autopoint --force || exit $?
-
-USE_GNOME2_MACROS=1 . gnome-autogen.sh
+test -n "$srcdir" || srcdir=`dirname "$0"`
+test -n "$srcdir" || srcdir=.
+(
+ cd "$srcdir" &&
+ autopoint --force &&
+ AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install
+) || exit
+test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]