[libgda] Avoid using deprecated environment variables in autogen.sh



commit b09d16b595825df6eccf306f982c0bfe253b16f8
Author: Vivien Malerba <malerba gnome-db org>
Date:   Sun Nov 29 17:23:00 2015 +0100

    Avoid using deprecated environment variables in autogen.sh

 autogen.sh |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 1eaa12b..93f647e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -4,8 +4,6 @@
 srcdir=`dirname $0`
 test -z "$srcdir" && srcdir=.
 
-PKG_NAME="GNOME Data Access"
-
 (test -f $srcdir/configure.ac \
   && test -d $srcdir/libgda \
   && test -f $srcdir/libgda/gda-config.h) || {
@@ -15,12 +13,12 @@ PKG_NAME="GNOME Data Access"
 }
 
 which gnome-autogen.sh || {
-    echo "You need to install gnome-common package"
-    exit 1
+    echo "You need to install the 'gnome-autogen.sh' script (usually part of the gnome-common package)"
+    exit 1git g
 }
 
 # Work around usage of gettext macros (AM_ICONV) without calling gettextize.
 # intltoolize is used intead. https://bugzilla.gnome.org/show_bug.cgi?id=660537
 touch config.rpath
 
-USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh
+gnome-autogen.sh


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]