[PATCH grilo 2/2] autogen.sh: remove the ACLOCAL_FLAGS variable



The user can set the ACLOCAL environment variable to override
the location of the <prefix>/share/aclocal. But this variable
assignation prevents that.

This patch also pass the autogen.sh parameters to gnome-autogen.sh
and enables its debug messages.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez igalia com>
---
 autogen.sh |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index 0f00aae..c0bbadb 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -4,8 +4,6 @@
 srcdir=`dirname $0`
 test -z "$srcdir" && srcdir=.
 
-REQUIRED_AUTOMAKE_VERSION=1.10
-ACLOCAL_FLAGS="-I m4"
 PKG_NAME="grilo"
 
 (test -f $srcdir/configure.ac) || {
@@ -19,4 +17,7 @@ which gnome-autogen.sh || {
     exit 1
 }
 
-USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh
+REQUIRED_AUTOMAKE_VERSION=1.10 \
+USE_GNOME2_MACROS=1 \
+USE_COMMON_DOC_BUILD=yes \
+. gnome-autogen.sh --enable-debug $*
-- 
1.7.1



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