From: Andre Lupa Date: Mon, 18 Sep 2017 17:42:17 +0000 (-0700) Subject: build: help autoconf find accept4 on illumos X-Git-Tag: submit/sandbox/upgrade/efl120/20180319.053334~2603 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=706bdcd7718cd0571e0f3716b589f0ff8736d38c;p=platform%2Fupstream%2Fefl.git 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 --- 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