Checking for AC_FUNC_MALLOC causes problems (rpl_malloc errors in the case of libmtp) for cross compile scenarios where host != target.
I suppose it's safe to remove it as many other projects already did:
avahi: http://git.0pointer.net/avahi.git/commit/?id=d173d6630d3bf1ff17c874cdc105ff6016df5377
libpng: ftp://ftp.fu-berlin.de/unix/graphics/png/src/history/libpng14/libpng-1.4.0-README.txt (Removed AC_FUNC_MALLOC from configure.ac.)
systemd: https://github.com/jengelh/systemd/commit/e71fadd4dcf49adcc71c01b055c807cb4ac473f9
ior: https://github.com/chaos/ior/commit/84264657fbb109fa421d94ce3f7b2f40b436749f
Anonymous
well, ok.
removed for 1.1.11