s4:torture/rpc/samba3rpc.c: make use of dcerpc_binding_handle stubs
[Samba/nascimento.git] / lib / socket_wrapper / config.m4
blobe20333e3ed38def40a665b8f5631703c4ae0d5fe
1 AC_ARG_ENABLE(socket-wrapper, 
2 AS_HELP_STRING([--enable-socket-wrapper], [Turn on socket wrapper library (default=no)]))
4 DEFAULT_TEST_OPTIONS=
5 HAVE_SOCKET_WRAPPER=no
7 if eval "test x$developer = xyes"; then
8         enable_socket_wrapper=yes
9 fi
10     
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)