From 706bdcd7718cd0571e0f3716b589f0ff8736d38c Mon Sep 17 00:00:00 2001 From: Andre Lupa Date: Mon, 18 Sep 2017 10:42:17 -0700 Subject: [PATCH] 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 --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c202d0d..ff49983 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 -- 2.7.4