1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00
Michael Adam b859e8874c add socket_wrapper from samba
(This used to be ctdb commit 99ce8a9de648babdfb1b1ea0219ee184c9718048)
2011-11-26 00:34:55 +01:00

22 lines
579 B
Plaintext

AC_ARG_ENABLE(socket-wrapper,
AS_HELP_STRING([--enable-socket-wrapper], [Turn on socket wrapper library (default=no)]))
DEFAULT_TEST_OPTIONS=
HAVE_SOCKET_WRAPPER=no
if eval "test x$developer = xyes"; then
enable_socket_wrapper=yes
fi
if eval "test x$enable_socket_wrapper = xyes"; then
AC_DEFINE(SOCKET_WRAPPER,1,[Use socket wrapper library])
DEFAULT_TEST_OPTIONS=--socket-wrapper
HAVE_SOCKET_WRAPPER=yes
SOCKET_WRAPPER_OBJS="lib/socket_wrapper/socket_wrapper.o"
fi
AC_SUBST(DEFAULT_TEST_OPTIONS)
AC_SUBST(HAVE_SOCKET_WRAPPER)
AC_SUBST(SOCKET_WRAPPER_OBJS)