Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
Date: 2018-05-04
Initial Package Version: 1.3.0
Upstream Status: Applied
Origin: Upstream
Description: Allows it to build with newer automake.

diff --git a/autogen.sh b/autogen.sh
index 18ad577..166fc3d 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -90,6 +90,9 @@ fi
 echo -n "checking for automake >= $AUTOMAKE_REQUIRED_VERSION ... "
 if ($AUTOMAKE --version) < /dev/null > /dev/null 2>&1; then
    AUTOMAKE=$AUTOMAKE
+elif (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
