From 5cbf7635e34b68125b01dbc71b333525ad3cea40 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 14 Jan 2020 16:24:53 +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 e3cb042..7743241 100644 --- a/configure.ac +++ b/configure.ac @@ -64,9 +64,7 @@ AC_TYPE_UINT32_T AC_TYPE_UINT8_T # Checks for library functions. -AC_FUNC_MALLOC -AC_FUNC_REALLOC -AC_CHECK_FUNCS([strcasecmp strdup strerror stpncpy sleep]) +AC_CHECK_FUNCS([strcasecmp strdup strerror stpncpy sleep malloc realloc]) # Check for operating system AC_MSG_CHECKING([for platform-specific build settings]) -- cgit v1.1-32-gdbae