mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 12:48:51 +00:00
Support building with automake 1.12.x
https://bugzilla.gnome.org/show_bug.cgi?id=680839
This commit is contained in:
parent
9544b683f1
commit
6becc33e8c
20
autogen.sh
20
autogen.sh
@ -43,20 +43,22 @@ fi
|
|||||||
DIE=1
|
DIE=1
|
||||||
}
|
}
|
||||||
|
|
||||||
if automake-1.11 --version < /dev/null > /dev/null 2>&1 ; then
|
AUTOMAKE_VERSIONS="1.12 1.11 1.10"
|
||||||
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
|
||||||
else if automake-1.10 --version < /dev/null > /dev/null 2>&1 ; then
|
AUTOMAKE=automake-$version
|
||||||
AUTOMAKE=automake-1.10
|
ACLOCAL=aclocal-$version
|
||||||
ACLOCAL=aclocal-1.10
|
break
|
||||||
else
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if test -z "$AUTOMAKE"; then
|
||||||
echo
|
echo
|
||||||
echo "You must have automake 1.10.x or 1.11.x installed to compile $PROJECT."
|
echo "You must have one of automake $AUTOMAKE_VERSIONS to compile $PROJECT."
|
||||||
echo "Install the appropriate package for your distribution,"
|
echo "Install the appropriate package for your distribution,"
|
||||||
echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
|
echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
|
||||||
DIE=1
|
DIE=1
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$DIE" -eq 1; then
|
if test "$DIE" -eq 1; then
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user