Blob Blame History Raw
diff --git a/autogen.sh b/autogen.sh
index 4fcacfc5..bf0e0d3a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -27,7 +27,10 @@ cd "$srcdir"
 	DIE=1
 }
 
-if automake-1.15 --version < /dev/null > /dev/null 2>&1; then
+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