#
# Handle the --without-force-id option, which disables userid checks for
# all Amanda applications. Defines and substitutes CHECK_USERID *unless*
-# this option is given.
+# this option is given, and also sets AM_CONDITIONAL CHECK_USERID
#
AC_DEFUN([AMANDA_WITH_FORCE_UID],
[
AC_MSG_ERROR([*** You must not supply an argument to --with-force-uid option.])
esac
AC_SUBST(CHECK_USERID)
+ AM_CONDITIONAL(CHECK_USERID, test x"$CHECK_USERID" = x"1")
])
# SYNOPSIS
esac
], [
AMANDA_MSG_WARN([[no group specified (--with-group) -- using 'backup']])
- CLIENT_LOGIN=backup
+ SETUID_GROUP=backup
]
)
AC_SUBST(SETUID_GROUP)
[force amanda to run as a single userid (for testing)]),
[ SINGLE_USERID=$withval ])
- case "$target" in
+ case "$host" in
*-pc-cygwin)
WANT_SETUID_CLIENT=false
SINGLE_USERID=yes