1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00
Jelmer Vernooij 6b68d5eb7b r6621: Warn when the user is trying to use socket wrapper
while it is not compiled in.
(This used to be commit d63086918ba79307089b3992dc7ed8fc8c6d18a8)
2007-10-10 13:16:31 -05:00

19 lines
483 B
Plaintext

AC_ARG_ENABLE(socket-wrapper,
[ --enable-socket-wrapper Turn on socket wrapper library (default=no)])
DEFAULT_TEST_TARGET=test-noswrap
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
HAVE_SOCKET_WRAPPER=yes
fi
AC_SUBST(DEFAULT_TEST_TARGET)
AC_SUBST(HAVE_SOCKET_WRAPPER)