File lasso-automake-1.17-support.patch of Package lasso
Index: b/autogen.sh
===================================================================
--- a/autogen.sh
+++ b/autogen.sh
@@ -27,46 +27,16 @@ cd "$srcdir"
DIE=1
}
-if automake-1.16 --version < /dev/null > /dev/null 2>&1; then
- AUTOMAKE=automake-1.16
- ACLOCAL=aclocal-1.16
-elif automake-1.15 --version < /dev/null > /dev/null 2>&1; then
- AUTOMAKE=automake-1.15
- ACLOCAL=aclocal-1.15
-elif automake-1.14 --version < /dev/null > /dev/null 2>&1; then
- AUTOMAKE=automake-1.14
- ACLOCAL=aclocal-1.14
-elif automake-1.13 --version < /dev/null > /dev/null 2>&1; then
- AUTOMAKE=automake-1.13
- ACLOCAL=aclocal-1.13
-elif automake-1.12 --version < /dev/null > /dev/null 2>&1; then
- AUTOMAKE=automake-1.12
- ACLOCAL=aclocal-1.12
-elif automake-1.11 --version < /dev/null > /dev/null 2>&1; then
- AUTOMAKE=automake-1.11
- ACLOCAL=aclocal-1.11
-elif automake-1.10 --version < /dev/null > /dev/null 2>&1; then
- AUTOMAKE=automake-1.10
- ACLOCAL=aclocal-1.10
-elif automake-1.9 --version < /dev/null > /dev/null 2>&1; then
- AUTOMAKE=automake-1.9
- ACLOCAL=aclocal-1.9
-elif automake-1.8 --version < /dev/null > /dev/null 2>&1; then
- AUTOMAKE=automake-1.8
- ACLOCAL=aclocal-1.8
-elif automake-1.7 --version < /dev/null > /dev/null 2>&1; then
- AUTOMAKE=automake-1.7
- ACLOCAL=aclocal-1.7
-elif automake-1.6 --version < /dev/null > /dev/null 2>&1; then
- AUTOMAKE=automake-1.6
- ACLOCAL=aclocal-1.6
-else
+(automake --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have automake installed to compile $PROJECT."
echo "Download the appropriate package for your distribution,"
echo "or get the source tarball at ftp://ftp.gnu.org/gnu/automake/"
DIE=1
-fi
+}
+
+ AUTOMAKE=automake
+ ACLOCAL=aclocal
if test "$DIE" -eq 1; then
exit 1