Skip to content

Commit

Permalink
configure.ac: Drop AC_FUNC_MALLOC/REALLOC and use AC_CHECK_FUNCS inst…
Browse files Browse the repository at this point in the history
…ead to allow cross compiliation
  • Loading branch information
nikias committed Jan 15, 2021
1 parent 4b3847c commit 1248a07
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1248a07

Please sign in to comment.