[clutter-gtk] autogen.sh: Fix bashism



commit 5825c8963866dee68da9cc2fec396d317b08dd13
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Wed Jun 1 16:41:33 2011 +0100

    autogen.sh: Fix bashism
    
    Explicitly pass the AUTOMAKE envvar to autoreconf, like we do for
    ACLOCAL.

 autogen.sh |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 146c567..7d87699 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -15,9 +15,11 @@ test $TEST_TYPE $FILE || {
         exit 1
 }
 
+AUTOMAKE=
+ACLOCAL=
 if automake-1.11 --version < /dev/null > /dev/null 2>&1 ; then
-    AUTOMAKE=automake-1.11
-    ACLOCAL=aclocal-1.11
+        AUTOMAKE=automake-1.11
+        ACLOCAL=aclocal-1.11
 else
         echo
         echo "You must have automake 1.11.x installed to compile $PROJECT
@@ -46,7 +48,7 @@ fi
 rm -rf autom4te.cache
 
 gtkdocize || exit $?
-ACLOCAL="${ACLOCAL-aclocal} $ACLOCAL_FLAGS" autoreconf -v --install || exit $?
+ACLOCAL="${ACLOCAL-aclocal} $ACLOCAL_FLAGS" AUTOMAKE=${AUTOMAKE} autoreconf -v --install || exit $?
 cd $ORIGDIR || exit $?
 
 if test -z "$NOCONFIGURE"; then



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