This check returned yes for me on musl 1.2.3 on
aarch64-unknown-linux-musl.
---
lib/autoconf/functions.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4
index ca41de8b..7b03ad6a 100644
--- a/lib/autoconf/functions.m4
+++ b/lib/autoconf/functions.m4
@@ -984,7 +984,7 @@ AC_CACHE_CHECK([for GNU libc compatible malloc],
ac_cv_func_malloc_0_nonnull,
[ac_cv_func_malloc_0_nonnull=no],
[case "$host_os" in # ((
# Guess yes on platforms where we know the result.
- *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \
+ *-gnu* | *-musl* | freebsd* | netbsd* | openbsd* | bitrig* \
| hpux* | solaris* | cygwin* | mingw* | windows* | msys* )
ac_cv_func_malloc_0_nonnull=yes ;;
# If we don't know, assume the worst.
base-commit: 02f232c67156da2d353c986fd77d408db5084f79
--
2.44.0