7 # Handle configuration for RSH security, implementing the --with-rsh-security
8 # option and checking for the relevant programs and options.
10 AC_DEFUN([AMANDA_RSH_SECURITY],
13 AC_ARG_WITH(rsh-security,
14 AS_HELP_STRING([--with-rsh-security],
15 [include RSH authentication]),
19 y | ye | yes) RSH_SECURITY=yes ;;
20 *) AC_MSG_ERROR([*** You must not supply an argument to --with-rsh-security.])
26 if test "x$RSH_SECURITY" = "xyes"; then
27 AC_DEFINE(RSH_SECURITY,1,
28 [Define if RSH transport should be enabled. ])
30 AM_CONDITIONAL(WANT_RSH_SECURITY, test x"$RSH_SECURITY" = x"yes")
31 AC_SUBST(RSH_SECURITY)