summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAndre Lupa <andre@cogeco.ca>2017-09-18 10:42:17 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-09-18 11:18:43 -0700
commit706bdcd7718cd0571e0f3716b589f0ff8736d38c (patch)
treea590bc6cd4838965b1a7fc73aa3f438658d60b2c /configure.ac
parentea811a917428935c4e733213b26f4295c610f3a3 (diff)
downloadefl-706bdcd7718cd0571e0f3716b589f0ff8736d38c.tar.gz
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>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
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