diff options
author | Nikias Bassen | 2020-01-14 16:24:53 +0100 |
---|---|---|
committer | Nikias Bassen | 2020-01-14 16:24:53 +0100 |
commit | 5cbf7635e34b68125b01dbc71b333525ad3cea40 (patch) | |
tree | 6191811cd7937fc35ae46f83222778c1199b54f3 | |
parent | 563cd25dc5d289f74ee72ffbf0e1efbba90b7ec5 (diff) | |
download | libusbmuxd-5cbf7635e34b68125b01dbc71b333525ad3cea40.tar.gz libusbmuxd-5cbf7635e34b68125b01dbc71b333525ad3cea40.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 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]) |