build-sys: be conservative about posix_fadvice

Check that function availability before use.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2012-10-09 21:52:19 +01:00
parent 14d7183c3d
commit 7eb2e42625
2 changed files with 7 additions and 4 deletions

View file

@ -74,6 +74,7 @@ AC_CHECK_FUNCS([\
inet_ntoa \
memset \
nl_langinfo \
posix_fadvise \
strdup \
strerror \
strrchr \