From fc6f056629d2cf0ef8cc9702c418194336d07dfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 12 Sep 2006 17:33:07 +0000 Subject: [PATCH] Add socket-wrapper test git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18077 ec53bebd-3082-4978-b11e-865c3cabbd6b --- cf/socket-wrapper.m4 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 cf/socket-wrapper.m4 diff --git a/cf/socket-wrapper.m4 b/cf/socket-wrapper.m4 new file mode 100644 index 000000000..2804d1f36 --- /dev/null +++ b/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 + +])