Work around automake bug that dropped portability warnings

There’s a bug in automake ≥ 1.10, < 1.12 where ‘-Wall foreign’
incorrectly turns off warnings about portability issues.  To get
consistent results across automake versions, use ‘foreign -Wall’
instead.

http://debbugs.gnu.org/cgi-bin/bugreport.cgi?bug=7669

Signed-off-by: Anders Kaseorg <andersk@mit.edu>

Closes #413
This commit is contained in:
Anders Kaseorg
2013-04-09 18:04:43 -04:00
committed by Keith Winstein
parent fb39fe2c7e
commit 8ff636d54e
+1 -1
View File
@@ -3,7 +3,7 @@
AC_PREREQ([2.61]) AC_PREREQ([2.61])
AC_INIT([mosh], [1.2.4a], [mosh-devel@mit.edu]) AC_INIT([mosh], [1.2.4a], [mosh-devel@mit.edu])
AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AM_INIT_AUTOMAKE([foreign -Wall -Werror])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_CONFIG_SRCDIR([src/frontend/mosh-client.cc]) AC_CONFIG_SRCDIR([src/frontend/mosh-client.cc])
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])