autogen.sh: make autoreconf use automake-1.11 when available
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Thu, 30 Dec 2010 01:16:10 +0000 (08:16 +0700)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 30 Dec 2010 12:08:28 +0000 (12:08 +0000)
This patch exports $ACLOCAL and $AUTOMAKE, otherwise autoreconf
may use an older version instead.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
http://bugzilla.clutter-project.org/show_bug.cgi?id=2504

autogen.sh

index e84eda1..b3ef803 100755 (executable)
@@ -19,6 +19,7 @@ test $TEST_TYPE $FILE || {
 if automake-1.11 --version < /dev/null > /dev/null 2>&1 ; then
     AUTOMAKE=automake-1.11
     ACLOCAL=aclocal-1.11
+    export AUTOMAKE ACLOCAL
 else
         echo
         echo "You must have automake 1.11.x installed to compile $PROJECT