Created attachment 5233 [details] Here is the patch There have 3 files reference to Windows.h: ld/config.in: AC_CHECK_HEADERS([Windows.h],[enable_plugins=yes],[],[AC_INCLUDES_DEFAULT]) ld/configure: ... ld/plugin.c: #include <Windows.h> But in the mingw or mingw-w64 repository, the name should be windows.h: http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/?cvsroot=src https://mingw-w64.svn.sourceforge.net/svnroot/mingw-w64/trunk/mingw-w64-headers/include/ So in an case sensitive filesystem/platform, AC_CHECK_HEADERS will fail, and the plugin will not build.
commit b6d40962544d522ac71d42dca804ea686a650f4d Author: Joseph Myers <joseph@codesourcery.com> Date: Mon Mar 28 10:27:07 2011 +0000 * configure.in: Check for windows.h, not Windows.h. * configure: Regenerate. * plugin.c: Include windows.h, not Windows.h.