[libgweather] Make autogen.sh more modern.
- From: Vincent Untz <vuntz src gnome org>
- To: svn-commits-list gnome org
- Subject: [libgweather] Make autogen.sh more modern.
- Date: Thu, 23 Apr 2009 22:46:04 -0400 (EDT)
commit 408b97379ee98d7f8db890a0f1ee7b98184d80c3
Author: Vincent Untz <vuntz gnome org>
Date: Fri Apr 24 03:25:22 2009 +0200
Make autogen.sh more modern.
---
autogen.sh | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/autogen.sh b/autogen.sh
index 571d62c..f73d418 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -5,19 +5,18 @@ srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="libgweather"
+REQUIRED_AUTOMAKE_VERSION=1.9
(test -f $srcdir/configure.in \
&& test -d $srcdir/libgweather) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
- echo " top-level libgweather directory"
+ echo " top-level $PKG_NAME directory"
exit 1
}
-
which gnome-autogen.sh || {
- echo "You need to install gnome-common from the GNOME CVS"
+ echo "You need to install gnome-common."
exit 1
}
-REQUIRED_AUTOMAKE_VERSION=1.9 \
-USE_GNOME2_MACROS=1 \
+
. gnome-autogen.sh
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]