summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-07-15 10:16:46 +0200
committerWerner Koch <wk@gnupg.org>1999-07-15 10:16:46 +0200
commita316550579f16fba4200e6deeb5905f549a5fcc3 (patch)
tree54dcf4ec1609638eee69c0099b19d851c7f98087 /acinclude.m4
parentSee ChangeLog: Wed Jul 14 19:42:08 CEST 1999 Werner Koch (diff)
downloadgnupg2-a316550579f16fba4200e6deeb5905f549a5fcc3.tar.xz
gnupg2-a316550579f16fba4200e6deeb5905f549a5fcc3.zip
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 542995330..7e549143c 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