summaryrefslogtreecommitdiffstats
path: root/third_party/heimdal/cf/socket-wrapper.m4
blob: 2804d1f36d42af5b0db68cb3a55d6a9b7a5a9ded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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

])