From: Nick Bowler Date: Wed, 15 Aug 2012 00:20:52 +0000 (-0400) Subject: Prevent gratuitous Automake failures. X-Git-Tag: v1~39 X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/commitdiff_plain/57ce68d00a352c063217eeb9a18cafc44ebcca4e Prevent gratuitous Automake failures. Automake-1.12 introduces some new warnings, as well as fixing an earlier bug that prevented -Wall from enabling all warnings. Since we were using -Werror, this causes Automake to fail. However, the warnings are gratuitous: some are warning about stuff provided by libtool (which should be fixed in libtool, not worked around in this package), and the others are warning about the non- portability of (hopefully!) portable constructs. Most are automake bug #9587 , but Automake also warns about the $(.FEATURES) trick to use order-only dependencies when available. --- diff --git a/configure.ac b/configure.ac index 6a35936..0ed842c 100644 --- a/configure.ac +++ b/configure.ac @@ -8,7 +8,7 @@ AC_PREREQ([2.68]) AC_INIT([cdecl99], [0.1], [nbowler@draconx.ca]) AC_CONFIG_HEADER([config.h]) -AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) +AM_INIT_AUTOMAKE([-Wall -Wno-portability foreign subdir-objects]) AM_SILENT_RULES([yes]) AC_PROG_CC_C99