1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
|
AC_DEFINE(OF_HAVE_NETINET_IN_H, 1,
[Whether we have netinet/in.h])
])
AC_CHECK_HEADER(netinet/tcp.h, [
AC_DEFINE(OF_HAVE_NETINET_TCP_H, 1,
[Whether we have netinet/tcp.h])
])
AC_CHECK_HEADER(netinet/sctp.h, [
AC_DEFINE(OF_HAVE_SCTP, 1, [Whether we have SCTP])
AC_DEFINE(OF_HAVE_NETINET_SCTP_H, 1,
[Whether we have netinet/sctp.h])
AC_SUBST(USE_SRCS_SCTP, '${SRCS_SCTP}')
], [], [
#ifdef OF_HAVE_SYS_SOCKET_H
|
>
|
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
|
AC_DEFINE(OF_HAVE_NETINET_IN_H, 1,
[Whether we have netinet/in.h])
])
AC_CHECK_HEADER(netinet/tcp.h, [
AC_DEFINE(OF_HAVE_NETINET_TCP_H, 1,
[Whether we have netinet/tcp.h])
])
AC_CHECK_HEADERS(linux/mptcp.h)
AC_CHECK_HEADER(netinet/sctp.h, [
AC_DEFINE(OF_HAVE_SCTP, 1, [Whether we have SCTP])
AC_DEFINE(OF_HAVE_NETINET_SCTP_H, 1,
[Whether we have netinet/sctp.h])
AC_SUBST(USE_SRCS_SCTP, '${SRCS_SCTP}')
], [], [
#ifdef OF_HAVE_SYS_SOCKET_H
|