Author: rhys Date: Fri Dec 12 03:16:09 2014 New Revision: 1644822 URL: http://svn.apache.org/r1644822 Log: LOGCXX-428: Add -W to AM_INIT_AUTOMAKE
LOGCXX-428 could have been prevented by having AM_INIT_AUTOMAKE include -Wportability. Adding -Wall as it's better insurance than -Wportability. Additionally, added AM_PROG_AR to silence a -Wall warning from automake. Modified: incubator/log4cxx/trunk/ (props changed) incubator/log4cxx/trunk/autogen.sh incubator/log4cxx/trunk/configure.ac Propchange: incubator/log4cxx/trunk/ ------------------------------------------------------------------------------ --- svn:ignore (original) +++ svn:ignore Fri Dec 12 03:16:09 2014 @@ -1,4 +1,5 @@ aclocal.m4 +ar-lib autom4te.cache bak build Modified: incubator/log4cxx/trunk/autogen.sh URL: http://svn.apache.org/viewvc/incubator/log4cxx/trunk/autogen.sh?rev=1644822&r1=1644821&r2=1644822&view=diff ============================================================================== --- incubator/log4cxx/trunk/autogen.sh (original) +++ incubator/log4cxx/trunk/autogen.sh Fri Dec 12 03:16:09 2014 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/sh -e # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. Modified: incubator/log4cxx/trunk/configure.ac URL: http://svn.apache.org/viewvc/incubator/log4cxx/trunk/configure.ac?rev=1644822&r1=1644821&r2=1644822&view=diff ============================================================================== --- incubator/log4cxx/trunk/configure.ac (original) +++ incubator/log4cxx/trunk/configure.ac Fri Dec 12 03:16:09 2014 @@ -38,11 +38,12 @@ AH_VERBATIM([HAVE_NO_EXPLICIT_EXPORTS], [/* no explicit exports */ #define LOG4CXX_EXPORT]) -AM_INIT_AUTOMAKE([foreign subdir-objects]) +AM_INIT_AUTOMAKE([foreign subdir-objects -Wall]) # Checks for programs # ---------------------------------------------------------------------------- +AM_PROG_AR AM_PROG_LIBTOOL AC_PROG_INSTALL AC_PROG_LN_S