0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

configure: Add function checks for mlock2(2); remove standard cruft.

This commit is contained in:
Jason Volk 2020-05-29 21:23:32 -07:00
parent 312493fa8e
commit 728da15ad3

View file

@ -995,17 +995,12 @@ dnl
AC_CHECK_FUNCS([ \ AC_CHECK_FUNCS([ \
backtrace \ backtrace \
gettimeofday \ mlock2 \
posix_fadvise \ posix_fadvise \
preadv2 \ preadv2 \
pwritev2 \ pwritev2 \
snprintf \
strlcat \ strlcat \
strlcpy \ strlcpy \
strnlen \
strncpy \
strcpy \
vsnprintf \
]) ])
AC_SEARCH_LIBS(dlinfo, dl, AC_DEFINE(HAVE_DLINFO, 1, [Define if you have dlinfo])) AC_SEARCH_LIBS(dlinfo, dl, AC_DEFINE(HAVE_DLINFO, 1, [Define if you have dlinfo]))