3 # AMANDA_BSDTCP_SECURITY
7 # Handle configuration for BSDTCP security, implementing the
8 # --with-bsdtcp-security option.
10 # Defines BSDTCP_SECURITY, and sets AM_CONDITIONAL WANT_BSDTCP_SECURITY,
11 # if the user has selected this mechanism.
13 AC_DEFUN([AMANDA_BSDTCP_SECURITY],
16 AC_ARG_WITH(bsdtcp-security,
17 AS_HELP_STRING([--with-bsdtcp-security],
18 [include BSDTCP authentication]),
22 y | ye | yes) BSDTCP_SECURITY=yes ;;
23 *) AC_MSG_ERROR([*** You must not supply an argument to --with-bsdtcp-security.])
29 if test "x$BSDTCP_SECURITY" = "xyes"; then
30 AC_DEFINE(BSDTCP_SECURITY,1,
31 [Define if BSDTCP transport should be enabled.])
33 AM_CONDITIONAL(WANT_BSDTCP_SECURITY, test x"$BSDTCP_SECURITY" = x"yes")