configure: fix configure failures under -Werror -Wall

Dan Kegel dank at
Wed Aug 31 19:35:49 CDT 2011

./configure CFLAGS="-Werror -Wall" improperly fails to detect some packages

configure: libxrandr development files not found, XRandr won't be supported.
configure: libxinerama development files not found, multi-monitor
setups won't be supported.
configure: libgnutls development files not found, no schannel support.
configure: gstreamer-0.10 base plugins development files not found,
gstreamer support disabled
configure: WARNING: Old Mesa headers detected. Consider upgrading your
Mesa libraries.
OpenGL and Direct3D won't be supported.

because of "unused variable" errors in various conftest.c fragments,
so this patch adds a trivial use of the affected variables.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-werror-wall.patch
Type: text/x-patch
Size: 3072 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list