Permalink
Browse files

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
  • Loading branch information...
andersk authored and keithw committed Apr 9, 2013
1 parent fb39fe2 commit 8ff636d54e7fbb73a334f0b268239a593b0d7b42
Showing with 1 addition and 1 deletion.
  1. +1 −1 configure.ac
View
@@ -3,7 +3,7 @@
AC_PREREQ([2.61])
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])])
AC_CONFIG_SRCDIR([src/frontend/mosh-client.cc])
AC_CONFIG_MACRO_DIR([m4])

0 comments on commit 8ff636d

Please sign in to comment.