diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2018-10-24 14:29:45 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2018-10-24 14:29:45 +0900 |
commit | 0f4545b441b6fbdd6e9c4e95f5f2a367483e78ad (patch) | |
tree | d3f0c83034ed8098f0c1e2a0dec774f9c43fdad1 /acinclude.m4 | |
parent | e2da4e8dee4b371804f3b2659b53431fb6380d93 (diff) | |
download | libgcrypt-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.m4 | 8 |
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]) |