build: help autoconf find accept4 on illumos

Reviewers: cedric, vtorri, jpeg

Subscribers: jpeg

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D5203

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Andre Lupa 2017-09-18 10:42:17 -07:00 committed by Cedric BAIL
parent ea811a9174
commit 706bdcd771
1 changed files with 3 additions and 1 deletions

View File

@ -3166,7 +3166,9 @@ AM_CONDITIONAL([HAVE_IPV6], [test "x${have_ipv6}" = "xyes"])
### Checks for linker characteristics
### Checks for library functions
AC_CHECK_FUNCS([accept4])
AC_CHECK_FUNCS([accept4], ,
[AC_CHECK_LIB([socket], [accept4],
[AC_DEFINE([HAVE_ACCEPT4], [1])])])
EFL_LIB_END([Ecore_Con])
#### End of Ecore_Con