From 6d0293a379f8090782923e73480d1c765f3a3104 Mon Sep 17 00:00:00 2001 From: q-posev Date: Fri, 8 Jul 2022 18:12:50 +0200 Subject: [PATCH] Disable the malloc check to improve cross-compilation For example, compiling with gcc compiler with -fsanitize=address flag with use a different library for malloc-ing. This will fail if Autoconf add some symbols due to the use of AC_FUNC_MALLOC --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 01005c3..a2ea439 100644 --- a/configure.ac +++ b/configure.ac @@ -138,7 +138,7 @@ AC_TYPE_UINT32_T AC_TYPE_UINT64_T # Checks for library functions. -AC_FUNC_MALLOC +# AC_FUNC_MALLOC AC_CHECK_FUNCS([memset mkdir strerror]) if test "x$enable_maintainer_mode" == "xyes"; then