From 8ff636d54e7fbb73a334f0b268239a593b0d7b42 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 9 Apr 2013 18:04:43 -0400 Subject: [PATCH] Work around automake bug that dropped portability warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Closes #413 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 282f4ed..5be21c8 100644 --- a/configure.ac +++ b/configure.ac @@ -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])