From 10a1f8dd11a11a0b8980fbf26f11e3ce74e7a923 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 14 Jan 2020 16:20:08 +0100 Subject: configure.ac: Drop AC_FUNC_MALLOC/REALLOC and use AC_CHECK_FUNCS instead to allow cross compiliation --- configure.ac | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 5714844..138a707 100644 --- a/configure.ac +++ b/configure.ac @@ -41,9 +41,7 @@ AC_TYPE_UINT32_T AC_TYPE_UINT8_T # Checks for library functions. -AC_FUNC_MALLOC -AC_FUNC_REALLOC -AC_CHECK_FUNCS([strdup strerror strndup]) +AC_CHECK_FUNCS([strdup strerror strndup malloc realloc calloc]) # Checks for libraries. AC_CHECK_HEADERS([readline/readline.h], [], -- cgit v1.1-32-gdbae