Conditionalized sendfile support...
...on the presence of sys/sendfile.h, since FreeBSD version is slightly different.
This commit is contained in:
parent
0892b7d631
commit
9535cf7fac
1 changed files with 2 additions and 1 deletions
|
@ -740,7 +740,8 @@ AC_FUNC_ERROR_AT_LINE
|
|||
AC_FUNC_STAT
|
||||
AC_FUNC_STRFTIME
|
||||
AC_CHECK_LIB(m, floor)
|
||||
AC_CHECK_FUNCS([round socket strtoul sendfile])
|
||||
AC_CHECK_FUNCS([round socket strtoul])
|
||||
AC_CHECK_HEADER([sys/sendfile.h], [AC_CHECK_FUNCS([sendfile])], [])
|
||||
|
||||
|
||||
#######################################################################
|
||||
|
|
Loading…
Add table
Reference in a new issue