From 598787a0947bb1ac076294ee8e1d688c279784f6 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 2 Oct 2006 16:05:35 +0000 Subject: Fixed bug 518 --- ChangeLog | 4 ++++ acinclude.m4 | 9 +++++++-- 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 + * 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 -- cgit v1.2.3