cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=706bdcd7718cd0571e0f3716b589f0ff8736d38c

commit 706bdcd7718cd0571e0f3716b589f0ff8736d38c
Author: Andre Lupa <an...@cogeco.ca>
Date:   Mon Sep 18 10:42:17 2017 -0700

    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 <ced...@osg.samsung.com>
---
 configure.ac | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index c202d0d32b..ff499831ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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

-- 


Reply via email to