mirror of
https://repo.or.cz/socat.git
synced 2025-07-19 09:22:57 +00:00
For NuttX OS: Made struct ip subject to configure
This commit is contained in:
parent
35590e3cdb
commit
de80846643
4 changed files with 26 additions and 0 deletions
11
configure.in
11
configure.in
|
@ -1118,6 +1118,17 @@ fi
|
|||
AC_MSG_RESULT($sc_cv_struct_linger)
|
||||
|
||||
|
||||
# struct ip (for IPv4 header info)
|
||||
AC_MSG_CHECKING(for struct ip)
|
||||
AC_CACHE_VAL(sc_cv_struct_ip,
|
||||
[AC_TRY_COMPILE([#include <netinet/ip.h>],[struct ip s;],
|
||||
[sc_cv_struct_ip=yes],
|
||||
[sc_cv_struct_ip=no])])
|
||||
if test $sc_cv_struct_ip = yes; then
|
||||
AC_DEFINE(HAVE_STRUCT_IP)
|
||||
fi
|
||||
AC_MSG_RESULT($sc_cv_struct_ip)
|
||||
|
||||
# struct ip_mreq (for multicasting options)
|
||||
AC_MSG_CHECKING(for struct ip_mreq)
|
||||
AC_CACHE_VAL(sc_cv_struct_ip_mreq,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue