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

Added the optional DEVTESTS feature for developer tests with controlled name resolution to both IPv4 and IPV6 addresses

This commit is contained in:
Gerhard Rieger 2024-08-20 12:02:25 +02:00
parent a86376cd1e
commit 602a54420e
7 changed files with 350 additions and 8 deletions

View file

@ -942,6 +942,15 @@ AC_ARG_ENABLE(retry, [ --disable-retry disable retry support],
esac],
[AC_DEFINE(WITH_RETRY) AC_MSG_RESULT(yes)])
AC_MSG_CHECKING(whether to include devtests support)
AC_ARG_ENABLE(devtests, [ --enable-devtests enable devtests support],
[case "$enableval" in
yes) AC_DEFINE(WITH_DEVTESTS) AC_MSG_RESULT(yes);;
*) AC_MSG_RESULT(no) ;;
esac],
[AC_MSG_RESULT(no)])
AC_MSG_CHECKING(included message level)
AC_ARG_ENABLE(msglevel, [ --enable-msglevel=N set max verbosity to debug,info,notice,warn,error,fatal],
[case "$enableval" in
@ -965,6 +974,7 @@ AC_ARG_ENABLE(default-ipv, [ --enable-default-ipv=N set default/preferred I
esac],
[AC_DEFINE(WITH_DEFAULT_IPV, '0') AC_MSG_RESULT("0")])
#AC_SUBST(V_INCL)
dnl Checks for typedefs, structures, and compiler characteristics.