diff options
Diffstat (limited to 'source4/lib/socket/config.m4')
-rw-r--r-- | source4/lib/socket/config.m4 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/source4/lib/socket/config.m4 b/source4/lib/socket/config.m4 new file mode 100644 index 0000000000..9c0072dd8b --- /dev/null +++ b/source4/lib/socket/config.m4 @@ -0,0 +1,19 @@ +AC_CHECK_FUNCS(writev) +AC_CHECK_FUNCS(readv) +AC_CHECK_FUNCS(gethostbyname2) + +############################################ +# check for unix domain sockets +# done by AC_LIBREPLACE_NETWORK_CHECKS +SMB_ENABLE(socket_unix, NO) +if test x"$libreplace_cv_HAVE_UNIXSOCKET" = x"yes"; then + SMB_ENABLE(socket_unix, YES) +fi + +############################################ +# check for ipv6 +# done by AC_LIBREPLACE_NETWORK_CHECKS +SMB_ENABLE(socket_ipv6, NO) +if test x"$libreplace_cv_HAVE_IPV6" = x"yes"; then + SMB_ENABLE(socket_ipv6, YES) +fi |