3af270dbfadcd2378362dc480bbb5de243a09701
diff --git a/autogen.sh b/autogen.sh
index 532324c..b0ea230 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -27,7 +27,10 @@ cd "$srcdir"
 	DIE=1
 }
 
-if automake-1.10 --version < /dev/null > /dev/null 2>&1; then
+if 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
