Description: adjust automake params for compatibility with automake 1.11 
Author: Alexander Zangerl <az@debian.org>
--- a/configure.ac
+++ b/configure.ac
@@ -6,7 +6,10 @@ AC_PREREQ([2.68])
 AC_INIT([nmh], m4_normalize(m4_include([VERSION])), [nmh-workers@nongnu.org])
 AC_CONFIG_SRCDIR([h/nmh.h])
 AC_CONFIG_HEADER([config.h])
-AM_INIT_AUTOMAKE([-Wall foreign serial-tests subdir-objects 1.12])
+# Disable the -Wextra-portability option to make this build
+# with both automake 1.11 and newer ones (AM_PROG_AR issue)
+# also disable serial-tests (not in automake 1.11)
+AM_INIT_AUTOMAKE([-Wall foreign subdir-objects -Wno-extra-portability -Wno-override])
 
 AC_CANONICAL_HOST
 
@@ -214,6 +217,7 @@ AM_PROG_LEX             dnl Check for le
 
 AM_PROG_AR
 
+
 dnl Look for `cut'
 pathtmp=/usr/xpg4/bin:/usr/bin:/bin:/usr/local/bin:/usr/ucb
 AC_PATH_PROG([cutpath], [cut], [no], [$pathtmp])
