summaryrefslogtreecommitdiff
path: root/source4/lib/socket_wrapper/config.m4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-03-30 23:28:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:21 -0500
commit848329b9a0a66281f699d1ae2c9e267c91ce0f43 (patch)
treefdeec051d712c5fa59a7480fa64977ffb4bc5f30 /source4/lib/socket_wrapper/config.m4
parent44d7f4f23829d98b95d9153970849a9681e4ef26 (diff)
downloadsamba-848329b9a0a66281f699d1ae2c9e267c91ce0f43.tar.gz
samba-848329b9a0a66281f699d1ae2c9e267c91ce0f43.tar.bz2
samba-848329b9a0a66281f699d1ae2c9e267c91ce0f43.zip
r6140: - Add configure option for enabling the socket-wrapper library, so it
can be enabled on the buildfarm without requiring --enable-developer - Support tcp and udp being used on the same port - FIx some portability issues (should fix the build on some hosts on the buildfarm) - Ignore setting TCP_NODELAY on (semi-)TCP sockets rather then complain about it not being supported (saves us from a couple of error messages for each connection that is opened) (This used to be commit 443fb7853b8d3cb516c442fdc595038544b75738)
Diffstat (limited to 'source4/lib/socket_wrapper/config.m4')
-rw-r--r--source4/lib/socket_wrapper/config.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/socket_wrapper/config.m4 b/source4/lib/socket_wrapper/config.m4
new file mode 100644
index 0000000000..97984d0436
--- /dev/null
+++ b/source4/lib/socket_wrapper/config.m4
@@ -0,0 +1,5 @@
+AC_ARG_ENABLE(socket-wrapper,
+[ --enable-socket-wrapper Turn on socket wrapper library (default=no)],
+ [if eval "test x$enable_socket_wrapper = xyes"; then
+ AC_DEFINE(SOCKET_WRAPPER,1,[Use socket wrapper library])
+ fi])