summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean.guyomarch@openwide.fr>2016-08-23 11:32:21 +0200
committerJean Guyomarc'h <jean.guyomarch@gmail.com>2016-08-23 20:28:44 +0200
commit0ced470e3963bda560b74092ce491efbc6a91c02 (patch)
tree0242b6ed902b0e4dc3c6036cf37a76ec55fb9538 /configure.ac
parent6de774455bb43e153815dfc27645dd292995b309 (diff)
ecore_con: fix compiling on OSX and BSD
TCP_CORK is Linux only. TCP_NOPUSH is supposed to do the same thing than TCP_CORK, but on BSD (including Mac OS X). We now check for the existance of TCP_CORK or TCP_NOPUSH, and use the right option. If none exist, cork_{set,get} will just fail.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b08054e..2a9efa4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -452,6 +452,11 @@ netinet/in.h \
452 452
453EFL_CHECK_PATH_MAX 453EFL_CHECK_PATH_MAX
454 454
455#### Checks for defines in headers
456
457EFL_CHECK_DEFINE(TCP_CORK, netinet/tcp.h)
458EFL_CHECK_DEFINE(TCP_NOPUSH, netinet/tcp.h)
459
455#### Checks for types 460#### Checks for types
456 461
457# wchar_t 462# wchar_t