diff options
author | Nikias Bassen | 2020-01-14 16:20:08 +0100 |
---|---|---|
committer | Nikias Bassen | 2020-01-14 16:20:52 +0100 |
commit | 10a1f8dd11a11a0b8980fbf26f11e3ce74e7a923 (patch) | |
tree | b896d66f02e09649da60132d82dec849b58e74ca | |
parent | 1c2f7ad5e409a5ad38bf01a10501344f58a2d87b (diff) | |
download | libirecovery-10a1f8dd11a11a0b8980fbf26f11e3ce74e7a923.tar.gz libirecovery-10a1f8dd11a11a0b8980fbf26f11e3ce74e7a923.tar.bz2 |
configure.ac: Drop AC_FUNC_MALLOC/REALLOC and use AC_CHECK_FUNCS instead to allow cross compiliation
-rw-r--r-- | configure.ac | 4 |
1 files changed, 1 insertions, 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], [], |