[rhythmbox/wip/autogen: 1/4] Use autopoint
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/wip/autogen: 1/4] Use autopoint
- Date: Mon, 15 Apr 2013 20:55:25 +0000 (UTC)
commit d4611e8b32a38f69a96f4fb082c40cdbc54c6efc
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Apr 15 22:47:11 2013 +0200
Use autopoint
autogen.sh | 39 +++++++++++++++++++++++++--------------
1 file changed, 25 insertions(+), 14 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 0447892..e7faa52 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,21 +1,32 @@
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
-srcdir=`dirname $0`
-test -z "$srcdir" && srcdir=.
+test -n "$srcdir" || srcdir=`dirname "$0"`
+test -n "$srcdir" || srcdir=.
-PKG_NAME="rhythmbox"
+olddir=`pwd`
+cd "$srcdir"
-(test -f $srcdir/configure.ac) || {
- echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
- echo " top-level $PKG_NAME directory"
- exit 1
-}
+INTLTOOLIZE=`which intltoolize`
+if test -z $INTLTOOLIZE; then
+ echo "*** No intltoolize found, please install the intltool package ***"
+ exit 1
+fi
-which gnome-autogen.sh || {
- echo "You need to install gnome-common"
- exit 1
-}
+AUTORECONF=`which autoreconf`
+if test -z $AUTORECONF; then
+ echo "*** No autoreconf found, please install it ***"
+ exit 1
+fi
+
+if test -z `which autopoint`; then
+ echo "*** No autopoint found, please install it ***"
+ exit 1
+fi
+
+autopoint --force
+AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
+
+cd "$olddir"
+test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
-ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I macros"
-REQUIRED_AUTOMAKE_VERSION=1.7 USE_GNOME2_MACROS=1 . gnome-autogen.sh --enable-uninstalled-build "$@"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]