diff options
author | 2020-01-14 17:12:11 +0100 | |
---|---|---|
committer | 2021-01-15 16:01:43 +0100 | |
commit | 1248a070f872e15a15b348150ff8bfb96491ddc3 (patch) | |
tree | 842bbfc32a2555d9cb9c94ec56fe43b589785873 /configure.ac | |
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
Diffstat (limited to 'configure.ac')
-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 | |||
108 | AC_SEARCH_LIBS([clock_gettime],[rt posix4]) | 108 | AC_SEARCH_LIBS([clock_gettime],[rt posix4]) |
109 | 109 | ||
110 | # Checks for library functions. | 110 | # Checks for library functions. |
111 | AC_FUNC_MALLOC | 111 | AC_CHECK_FUNCS([strcasecmp strdup strerror strndup stpcpy malloc realloc]) |
112 | AC_FUNC_REALLOC | ||
113 | AC_CHECK_FUNCS([strcasecmp strdup strerror strndup stpcpy]) | ||
114 | AC_CHECK_FUNCS([ppoll clock_gettime localtime_r]) | 112 | AC_CHECK_FUNCS([ppoll clock_gettime localtime_r]) |
115 | 113 | ||
116 | # Check for operating system | 114 | # Check for operating system |