From 1248a070f872e15a15b348150ff8bfb96491ddc3 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 14 Jan 2020 17:12:11 +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 93d17ed..a1fc3b7 100644 --- a/configure.ac +++ b/configure.ac @@ -108,9 +108,7 @@ AC_TYPE_UINT8_T AC_SEARCH_LIBS([clock_gettime],[rt posix4]) # Checks for library functions. -AC_FUNC_MALLOC -AC_FUNC_REALLOC -AC_CHECK_FUNCS([strcasecmp strdup strerror strndup stpcpy]) +AC_CHECK_FUNCS([strcasecmp strdup strerror strndup stpcpy malloc realloc]) AC_CHECK_FUNCS([ppoll clock_gettime localtime_r]) # Check for operating system -- cgit v1.1-32-gdbae