summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2011-06-01 16:41:33 +0100
committerEmmanuele Bassi <ebassi@linux.intel.com>2011-06-01 16:41:33 +0100
commit5825c8963866dee68da9cc2fec396d317b08dd13 (patch)
treefbb34c9b4e6a18c80f807951cda3c45e335106c5 /autogen.sh
parentec583b1817984dd56aee1409f434b51d82e3901e (diff)
downloadclutter-gtk-5825c8963866dee68da9cc2fec396d317b08dd13.tar.gz
autogen.sh: Fix bashism
Explicitly pass the AUTOMAKE envvar to autoreconf, like we do for ACLOCAL.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh8
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