1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-12 14:43:24 +00:00

Again ported to NetBSD

This commit is contained in:
Gerhard Rieger 2024-06-21 13:59:45 +02:00
parent b5b9ee0031
commit 2ab4b232fc
6 changed files with 43 additions and 3 deletions

View file

@ -305,6 +305,16 @@ if test "$ac_cv_apple_use_rfc_2292" = yes; then
fi
AC_MSG_RESULT($ac_cv_apple_use_rfc_2292)
AC_MSG_CHECKING(if including netinet/in.h suffices)
AC_TRY_COMPILE([#include <sys/types.h>
#include <netinet/in.h>],
[struct sockaddr_in6 s;],
[ AC_MSG_RESULT(yes); WITH_IP6=1],
[ AC_MSG_RESULT(no); WITH_IP6=])
if test "$WITH_IP6"; then
AC_DEFINE(WITH_IP6)
fi
fi
AC_MSG_CHECKING(whether to include raw IP support)