Initial sources of crywrap 0.2.1.
[crywrap.git] / m4 / bh-m4 / tcp_cork.m4
blob349c0ed2339dc86fda5b8f373738f150b20932dd
1 # arch-tag: 3416a800-dad6-4fad-8c25-b599962200e7
3 AC_DEFUN([BHM4_TCP_CORK_CHECK],[
5 AC_CHECK_DECL([TCP_CORK],
6 [AC_DEFINE(HAVE_DECL_TCP_CORK, 1,
7 [Define this if you have TCP_CORK])], [],
8 [#if HAVE_NETINET_TCP_H
9 #include <netinet/tcp.h>
10 #endif
11 #if HAVE_NETINET_IN_H
12 #include <netinet/in.h>
13 #endif