summaryrefslogtreecommitdiffstats
path: root/third_party/heimdal/cf/socket-wrapper.m4
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/heimdal/cf/socket-wrapper.m4')
-rw-r--r--third_party/heimdal/cf/socket-wrapper.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/heimdal/cf/socket-wrapper.m4 b/third_party/heimdal/cf/socket-wrapper.m4
new file mode 100644
index 0000000..2804d1f
--- /dev/null
+++ b/third_party/heimdal/cf/socket-wrapper.m4
@@ -0,0 +1,16 @@
+dnl $Id$
+dnl
+AC_DEFUN([samba_SOCKET_WRAPPER], [
+
+AC_ARG_ENABLE(socket-wrapper,
+ AS_HELP_STRING([--enable-socket-wrapper],
+ [use sambas socket-wrapper for testing]))
+
+AM_CONDITIONAL(have_socket_wrapper, test "x$enable_socket_wrapper" = xyes)dnl
+
+if test "x$enable_socket_wrapper" = xyes ; then
+ AC_DEFINE(SOCKET_WRAPPER_REPLACE, 1,
+ [Define if you want to use samba socket wrappers.])
+fi
+
+])