]> git.draconx.ca Git - cdecl99.git/commitdiff
Prevent gratuitous Automake failures.
authorNick Bowler <nbowler@draconx.ca>
Wed, 15 Aug 2012 00:20:52 +0000 (20:20 -0400)
committerNick Bowler <nbowler@draconx.ca>
Wed, 15 Aug 2012 00:20:52 +0000 (20:20 -0400)
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 <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9587>, but
Automake also warns about the $(.FEATURES) trick to use order-only
dependencies when available.

configure.ac

index 6a35936a2582ad6da11579ac670a6173ebcc3d4c..0ed842c366bb48bc66d143b6ef418a7ad8246873 100644 (file)
@@ -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