* configure.in: Check for windows.h, not Windows.h.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 28 Mar 2011 10:27:07 +0000 (10:27 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 28 Mar 2011 10:27:07 +0000 (10:27 +0000)
* configure: Regenerate.
* plugin.c: Include windows.h, not Windows.h.

ld/ChangeLog
ld/configure
ld/configure.in
ld/plugin.c

index 4c43374fb3d28f2b6fe4c288fe7c193897a1d8c7..df4f67f9255e51b16cdb42a2ef65762fd45eaa22 100644 (file)
@@ -1,3 +1,9 @@
+2011-03-28  Joseph Myers  <joseph@codesourcery.com>
+
+       * configure.in: Check for windows.h, not Windows.h.
+       * configure: Regenerate.
+       * plugin.c: Include windows.h, not Windows.h.
+
 2011-03-25  Eric B. Weddington  <eric.weddington@atmel.com>
 
        * Makefile.in: Regenerate.
index f897b692cddcc16183b24c60ec3fb9bc96fe8763..9e4cb57802a22c348e47c6003b5758e49f13c75b 100755 (executable)
@@ -16452,11 +16452,11 @@ done
 
 # We also support plugins on Windows (MinGW).
 if test x$enable_plugins = xno ; then
-  for ac_header in Windows.h
+  for ac_header in windows.h
 do :
-  ac_fn_c_check_header_compile "$LINENO" "Windows.h" "ac_cv_header_Windows_h" "$ac_includes_default
+  ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
 "
-if test "x$ac_cv_header_Windows_h" = x""yes; then :
+if test "x$ac_cv_header_windows_h" = x""yes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_WINDOWS_H 1
 _ACEOF
index 283654553730b4892cb5bc214fe713327366e5b0..bd5040ebcf875f92bdd33bba541642a394c3aee4 100644 (file)
@@ -173,7 +173,7 @@ AC_SEARCH_LIBS([dlopen],[dl],[],[enable_plugins=no],[])
 AC_CHECK_FUNCS([dlopen dlsym dlclose],[],[enable_plugins=no])
 # We also support plugins on Windows (MinGW).
 if test x$enable_plugins = xno ; then
-  AC_CHECK_HEADERS([Windows.h],[enable_plugins=yes],[],[AC_INCLUDES_DEFAULT])
+  AC_CHECK_HEADERS([windows.h],[enable_plugins=yes],[],[AC_INCLUDES_DEFAULT])
 fi
 AM_CONDITIONAL([ENABLE_PLUGINS], [test x$enable_plugins = xyes])
 
index d4bbfe785201bd8459b66db8d1efa2fcbcf4d53d..6a14f22a4b5208c29f0873b99e77cba3817a6cbe 100644 (file)
@@ -33,7 +33,7 @@
 #include "plugin-api.h"
 #include "elf-bfd.h"
 #if !defined (HAVE_DLFCN_H) && defined (HAVE_WINDOWS_H)
-#include <Windows.h>
+#include <windows.h>
 #endif
 
 /* Report plugin symbols.  */