1 AC_ARG_ENABLE(socket-wrapper,
2 [ --enable-socket-wrapper Turn on socket wrapper library (default=no)])
4 DEFAULT_TEST_TARGET=test-noswrap
7 if eval "test x$developer = 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_TARGET=test-swrap
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_TARGET)
21 AC_SUBST(HAVE_SOCKET_WRAPPER)
22 AC_SUBST(SOCKET_WRAPPER_OBJS)