Support building using the latest mingw-w64 toolchain.
authorWerner Koch <wk@gnupg.org>
Thu, 23 Jan 2014 14:19:35 +0000 (15:19 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 23 Jan 2014 14:19:35 +0000 (15:19 +0100)
* acinclude.m4 (GNUPG_SYS_SYMBOL_UNDERSCORE): Change mingw detection.
--

  From: Stephen Kitt <skitt@debian.org>

  All MinGW targets require underscores when linking. This patch fixes
  acinclude.m4 and the resulting configure so they don't limit the use
  of underscores to the old mingw32msvc targets.

Debian-bug-id: 730271
Signed-off-by: Werner Koch <wk@gnupg.org>
acinclude.m4

index 9e4a166..44dfd85 100644 (file)
@@ -692,7 +692,7 @@ AC_CHECK_TOOL(AS, as, false)
 AC_DEFUN([GNUPG_SYS_SYMBOL_UNDERSCORE],
 [tmp_do_check="no"
 case "${host}" in
-    *-mingw32msvc*)
+    *-mingw32*)
         ac_cv_sys_symbol_underscore=yes
         ;;
     i386-emx-os2 | i[3456]86-pc-os2*emx | i386-pc-msdosdjgpp)