summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-07-15 08:16:41 +0000
committerWerner Koch <wk@gnupg.org>1999-07-15 08:16:41 +0000
commit01cb535634775a784fa7b7fa701ec54f8f211111 (patch)
tree059b6370affdc169ae41b94bc71c3f153454904d /acinclude.m4
parent36a06a94b54f8176c669fab51a7b4258116555b1 (diff)
downloadlibgcrypt-01cb535634775a784fa7b7fa701ec54f8f211111.tar.gz
See ChangeLog: Thu Jul 15 10:15:35 CEST 1999 Werner Koch
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 54299533..7e549143 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -560,7 +560,7 @@ AC_CHECK_TOOL(AS, as, false)
# GNUPG_SYS_SYMBOL_UNDERSCORE - does the compiler prefix global symbols
# with an underscore?
AC_DEFUN(GNUPG_SYS_SYMBOL_UNDERSCORE,
-[ac_cv_sys_symbol_underscore="check"
+[tmp_do_check="no"
case "${target}" in
i386-emx-os2 | i[3456]86-pc-os2*emx )
ac_cv_sys_symbol_underscore=yes
@@ -568,11 +568,13 @@ case "${target}" in
*)
if test "$cross_compiling" = yes; then
ac_cv_sys_symbol_underscore=yes
+ else
+ tmp_do_check="yes"
fi
;;
esac
-if test "$ac_cv_sys_symbol_underscore" = "check"; then
+if test "$tmp_do_check" = "yes"; then
ac_cv_sys_symbol_underscore=""
AC_REQUIRE([GNUPG_PROG_NM])dnl
AC_REQUIRE([GNUPG_SYS_NM_PARSE])dnl