]> git.ipfire.org Git - thirdparty/json-c.git/commit
configure: check realloc with AC_CHECK_FUNCS() to fix cross-compilation. 216/head
authorJehan <jehan@girinstud.io>
Fri, 1 Jan 2016 17:35:14 +0000 (18:35 +0100)
committerJehan <jehan@girinstud.io>
Fri, 1 Jan 2016 17:46:02 +0000 (18:46 +0100)
commit79c99aeb2b985f97ab3e448068ea43a1041fb235
tree587f302a49afd37730121322dae078f0d842739c
parent537f8bcbdbdc10ffa7673199a0be82ca4eb56ec8
configure: check realloc with AC_CHECK_FUNCS() to fix cross-compilation.

AC_FUNC_REALLOC is messed up when cross-compiling, ending up in failed
build with "undefined reference to `rpl_realloc'" error.
AC_CHECK_FUNCS will work both with native and cross builds.
configure.ac