Subject: bug#50058: 28.0.5; emacs build fails with undefined reference to malloc_info

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 14 Aug 2021 19:12:37 +0200

Eli Zaretskii <[email-masked]> writes:

> Does musl define some preprocessor macro that we could use to
> condition that function's compilation?

I think musl, on purpose, doesn't define anything to allow us to
identify that we're using it? 

https://wiki.musl-libc.org/faq.html

Or I may be misunderstanding something.

But if that's the case, we have to just test explicitly for malloc_info
in configure.ac...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no