[svn] GnuPG - r4281 - branches/STABLE-BRANCH-1-4

svn author wk cvs at cvs.gnupg.org
Mon Oct 2 18:05:36 CEST 2006


Author: wk
Date: 2006-10-02 18:05:35 +0200 (Mon, 02 Oct 2006)
New Revision: 4281

Modified:
   branches/STABLE-BRANCH-1-4/ChangeLog
   branches/STABLE-BRANCH-1-4/acinclude.m4
Log:
Fixed bug 518


Modified: branches/STABLE-BRANCH-1-4/ChangeLog
===================================================================
--- branches/STABLE-BRANCH-1-4/ChangeLog	2006-10-02 13:22:27 UTC (rev 4280)
+++ branches/STABLE-BRANCH-1-4/ChangeLog	2006-10-02 16:05:35 UTC (rev 4281)
@@ -1,5 +1,9 @@
 2006-10-02  Werner Koch  <wk at g10code.com>
 
+	* acinclude.m4 (GNUPG_SYS_SYMBOL_UNDERSCORE): Add case for mingw32
+	and allow setting the variable on the command line.  Fixes bug 518.
+	Also use HOST instead of TARGET.
+	
 	* README: Add information about the forthcoming GnuPG 2.0.
 
 	* configure.ac (AB_INIT): New.

Modified: branches/STABLE-BRANCH-1-4/acinclude.m4
===================================================================
--- branches/STABLE-BRANCH-1-4/acinclude.m4	2006-10-02 13:22:27 UTC (rev 4280)
+++ branches/STABLE-BRANCH-1-4/acinclude.m4	2006-10-02 16:05:35 UTC (rev 4281)
@@ -668,13 +668,18 @@
 #                              with an underscore?
 AC_DEFUN([GNUPG_SYS_SYMBOL_UNDERSCORE],
 [tmp_do_check="no"
-case "${target}" in
+case "${host}" in
+    *-mingw32msvc*)
+        ac_cv_sys_symbol_underscore=yes
+        ;;
     i386-emx-os2 | i[3456]86-pc-os2*emx | i386-pc-msdosdjgpp)
         ac_cv_sys_symbol_underscore=yes
         ;;
     *)
       if test "$cross_compiling" = yes; then
-         ac_cv_sys_symbol_underscore=yes
+         if test "x$ac_cv_sys_symbol_underscore" = x; then
+            ac_cv_sys_symbol_underscore=yes
+         fi
       else
          tmp_do_check="yes"
       fi




More information about the Gnupg-commits mailing list