diff options
Diffstat (limited to 'source3/lib/socket_wrapper/config.m4')
-rw-r--r-- | source3/lib/socket_wrapper/config.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/lib/socket_wrapper/config.m4 b/source3/lib/socket_wrapper/config.m4 index 42212abc7f..f3ffb895a9 100644 --- a/source3/lib/socket_wrapper/config.m4 +++ b/source3/lib/socket_wrapper/config.m4 @@ -1,22 +1,22 @@ AC_ARG_ENABLE(socket-wrapper, [ --enable-socket-wrapper Turn on socket wrapper library (default=no)]) -DEFAULT_TEST_TARGET=test-noswrap +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_TARGET=test-swrap + DEFAULT_TEST_OPTIONS=--socket-wrapper HAVE_SOCKET_WRAPPER=yes # this is only used for samba3 SOCKET_WRAPPER_OBJS="lib/socket_wrapper/socket_wrapper.o" fi -AC_SUBST(DEFAULT_TEST_TARGET) +AC_SUBST(DEFAULT_TEST_OPTIONS) AC_SUBST(HAVE_SOCKET_WRAPPER) AC_SUBST(SOCKET_WRAPPER_OBJS) |