autoconf: use the warning variables from xorg
authorGaetan Nadon <memsize@videotron.ca>
Tue, 7 Jan 2014 19:00:39 +0000 (14:00 -0500)
committerArnaud Fontaine <arnau@debian.org>
Thu, 30 Jan 2014 03:09:34 +0000 (12:09 +0900)
commit414b1037c5a9770270022e62aa66fe7a4021a96b
tree01de2e4838a63771905b60e75d4441eef08a4978
parentc4f2c70bc37a592406b7693562c7513f2f99b34d
autoconf: use the warning variables from xorg

The BASE_CFLAGS variable contains only warnings, just like the XCB
version of CWARNFLAGS. This will result in no changes in the binaries
produced. Xorg was missing -fd for SUNCC so it has been added to util-macros
v 1.18.

Do not get confused with the xorg deprecated CWARNFLAGS variable which
contains an option that is not a warning, -fno-strict-aliasing. This
option, should it be needed, can be added using the XORG_TESTSET_CFLAG
macro.

Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
configure.ac
src/Makefile.am