aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2006-10-02 16:05:35 +0000
committerWerner Koch <[email protected]>2006-10-02 16:05:35 +0000
commit598787a0947bb1ac076294ee8e1d688c279784f6 (patch)
tree65299fe5e3e81515be787a6456cdc2b2fcb51beb
parentfix for bug 537 and documentation fixes. (diff)
downloadgnupg-598787a0947bb1ac076294ee8e1d688c279784f6.tar.gz
gnupg-598787a0947bb1ac076294ee8e1d688c279784f6.zip
Fixed bug 518
-rw-r--r--ChangeLog4
-rw-r--r--acinclude.m49
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e14b8beb7..7555f7995 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2006-10-02 Werner Koch <[email protected]>
+ * 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.
diff --git a/acinclude.m4 b/acinclude.m4
index b38712f70..fb7edde38 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -668,13 +668,18 @@ AC_CHECK_TOOL(AS, as, false)
# 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