[ovs-git] Open vSwitch: configure: Add option --enable-Werror to add -Werror to CFLAGS. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Apr 12 20:42:13 UTC 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  a64e37a1d3990b9c2524d166119cb5564dc5d96c (commit)
      from  024405698d676c4c4906ab12e9c2fbe02b5ad902 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a64e37a1d3990b9c2524d166119cb5564dc5d96c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a64e37a1d3990b9c2524d166119cb5564dc5d96c
Author: Ben Pfaff <blp at nicira.com>
		
configure: Add option --enable-Werror to add -Werror to CFLAGS.
		
-Werror is useful for development, but it screws up configure because it's
impossible to guess what new warnings compilers will add in the future.
This commit adds a new configure option to add CFLAGS after the configure
checks are done.

The use of AC_CONFIG_COMMANDS_PRE is based on Eric Blake's suggestion on
the autoconf mailing list: "AC_CONFIG_COMMANDS_PRE probably fits the bill
as the ideal macro to use for guaranteeing that you inject your shell code
at the last possible moment."

Requested-by: Andrew Evans <aevans at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 acinclude.m4 |   11 +++++++++++
 configure.ac |    1 +
 2 files changed, 12 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list