diff options
author | Bruno Haible <bruno@clisp.org> | 2021-01-31 13:10:58 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2021-01-31 13:10:58 +0100 |
commit | db446a33a92cbe4f50406bf62970287d2db3834e (patch) | |
tree | 47b1e1d0645abdbe87ced00b41648907cf876144 /m4 | |
parent | 24446f2dda800d854142d5bab5c980e6fa3326d4 (diff) | |
download | gnulib-db446a33a92cbe4f50406bf62970287d2db3834e.tar.gz |
expl: Document musl libc bug.
* doc/posix-functions/expl.texi: Document musl libc bug.
* m4/expl.m4 (gl_FUNC_EXPL): Update comment and cross
compilation guess.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/expl.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/expl.m4 b/m4/expl.m4 index 0ed62ab4e0..9e7bfa7c59 100644 --- a/m4/expl.m4 +++ b/m4/expl.m4 @@ -1,4 +1,4 @@ -# expl.m4 serial 17 +# expl.m4 serial 18 dnl Copyright (C) 2010-2021 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -129,7 +129,7 @@ int main (int argc, char *argv[]) if (isnan (expl (x1)) || isnan (expl (x2)) || isnan (expl (x3))) result |= 2; } - /* This test fails on NetBSD 9.0. */ + /* This test fails on musl 1.2.2/arm64, musl 1.2.2/s390x, NetBSD 9.0. */ { const long double TWO_LDBL_MANT_DIG = /* 2^LDBL_MANT_DIG */ (long double) (1U << ((LDBL_MANT_DIG - 1) / 5)) @@ -150,8 +150,8 @@ int main (int argc, char *argv[]) [case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_expl_works="guessing yes" ;; - # Guess yes on musl systems. - *-musl*) gl_cv_func_expl_works="guessing yes" ;; + # Guess no on musl systems. + *-musl*) gl_cv_func_expl_works="guessing no" ;; # Guess yes on native Windows. mingw*) gl_cv_func_expl_works="guessing yes" ;; # If we don't know, obey --enable-cross-guesses. |