summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2018-10-24 14:29:45 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2018-10-24 14:29:45 +0900
commit0f4545b441b6fbdd6e9c4e95f5f2a367483e78ad (patch)
treed3f0c83034ed8098f0c1e2a0dec774f9c43fdad1 /acinclude.m4
parente2da4e8dee4b371804f3b2659b53431fb6380d93 (diff)
downloadlibgcrypt-0f4545b441b6fbdd6e9c4e95f5f2a367483e78ad.tar.gz
build: Don't default to underscore=yes for cross-build.
* acinclude.m4: Don't set ac_cv_sys_symbol_underscore for cross build. -- It made sense in the past when cross compile were basically for a.out system, but nowadays, it's better not to assume that. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m48
1 files changed, 2 insertions, 6 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index fc208c53..6f7789d0 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -111,14 +111,10 @@ case "${host}" in
ac_cv_sys_symbol_underscore=yes
;;
*)
- if test "$cross_compiling" = yes; then
- if test "x$ac_cv_sys_symbol_underscore" = x ; then
- ac_cv_sys_symbol_underscore=yes
- fi
- else
+ if test "$cross_compiling" != yes; then
tmp_do_check="yes"
fi
- ;;
+ ;;
esac
if test "$tmp_do_check" = "yes"; then
AC_REQUIRE([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])