mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
Support building with automake 1.12.x
https://bugzilla.gnome.org/show_bug.cgi?id=681285 Reviewed-by: Neil Roberts <neil@linux.intel.com> (cherry picked from commit e5b5c5017487cec6426c93c364ff853831bc2080)
This commit is contained in:
parent
19ccb72b80
commit
0e69a6414f
27
autogen.sh
27
autogen.sh
@ -20,17 +20,22 @@ test $TEST_TYPE $FILE || {
|
|||||||
# https://bugzilla.gnome.org/show_bug.cgi?id=661128
|
# https://bugzilla.gnome.org/show_bug.cgi?id=661128
|
||||||
touch -t 200001010000 po/cogl.pot
|
touch -t 200001010000 po/cogl.pot
|
||||||
|
|
||||||
if automake-1.11 --version < /dev/null > /dev/null 2>&1 ; then
|
AUTOMAKE_VERSIONS="1.12 1.11"
|
||||||
AUTOMAKE=automake-1.11
|
for version in $AUTOMAKE_VERSIONS; do
|
||||||
ACLOCAL=aclocal-1.11
|
if automake-$version --version < /dev/null > /dev/null 2>&1 ; then
|
||||||
export AUTOMAKE ACLOCAL
|
AUTOMAKE=automake-$version
|
||||||
else
|
ACLOCAL=aclocal-$version
|
||||||
echo
|
export AUTOMAKE ACLOCAL
|
||||||
echo "You must have automake 1.11.x installed to compile $PROJECT
|
break
|
||||||
ECT."
|
fi
|
||||||
echo "Install the appropriate package for your distribution,"
|
done
|
||||||
echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
|
|
||||||
exit 1
|
if test -z "$AUTOMAKE"; then
|
||||||
|
echo
|
||||||
|
echo "You must have one of automake $AUTOMAKE_VERSIONS to compile $PROJECT."
|
||||||
|
echo "Install the appropriate package for your distribution,"
|
||||||
|
echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
(gtkdocize --version) < /dev/null > /dev/null 2>&1 || {
|
(gtkdocize --version) < /dev/null > /dev/null 2>&1 || {
|
||||||
|
Loading…
Reference in New Issue
Block a user