1 AC_ARG_ENABLE(socket-wrapper,
2 AS_HELP_STRING([--enable-socket-wrapper], [Turn on socket wrapper library (default=no)]))
7 if eval "test x$developer = xyes -o x$selftest = xyes"; then
8 enable_socket_wrapper=yes
11 if eval "test x$enable_socket_wrapper = xyes"; then
12 AC_DEFINE(SOCKET_WRAPPER,1,[Use socket wrapper library])
13 DEFAULT_TEST_OPTIONS=--socket-wrapper
14 HAVE_SOCKET_WRAPPER=yes
16 # this is only used for samba3
17 SOCKET_WRAPPER_OBJS="../lib/socket_wrapper/socket_wrapper.o"
20 AC_SUBST(DEFAULT_TEST_OPTIONS)
21 AC_SUBST(HAVE_SOCKET_WRAPPER)
22 AC_SUBST(SOCKET_WRAPPER_OBJS)