Commit 705dcb64 authored by Keegan McAllister's avatar Keegan McAllister Committed by Keith Winstein
Browse files

configure.ac: Don't check for malloc, realloc

When cross-compiling for Android, configure (erroneously?) decides we don't
have a GNU-compatible malloc, and tries to

    #define malloc rpl_malloc

We don't define rpl_malloc, and it's not clear it would work with the <cstdlib>
C++ header, anyway.  See

    http://nerdland.net/unstumping-the-internet/malloc-has-not-been-declared/

If we aren't using malloc(0), it should be safe to use malloc without the check.
parent f46bad0a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment