diff options
author | 2020-01-14 17:12:11 +0100 | |
---|---|---|
committer | 2021-01-15 16:01:43 +0100 | |
commit | 1248a070f872e15a15b348150ff8bfb96491ddc3 (patch) | |
tree | 842bbfc32a2555d9cb9c94ec56fe43b589785873 | |
parent | 4b3847cc977c4c4fd9973abb772d9dba64911b70 (diff) | |
download | usbmuxd-1248a070f872e15a15b348150ff8bfb96491ddc3.tar.gz usbmuxd-1248a070f872e15a15b348150ff8bfb96491ddc3.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 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 |