X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=config%2Famanda%2Fuserid.m4;h=c659395a51e9fb88516d918dee89fa93290e00c4;hb=2627875b7d18858bc1f9f7652811e4d8c15a23eb;hp=8ef15c89dc7a69be40b4ac00c9f56325bffea1d7;hpb=fb2bd066c2f8b34addafe48d62550e3033a59431;p=debian%2Famanda diff --git a/config/amanda/userid.m4 b/config/amanda/userid.m4 index 8ef15c8..c659395 100644 --- a/config/amanda/userid.m4 +++ b/config/amanda/userid.m4 @@ -28,8 +28,8 @@ AC_DEFUN([AMANDA_DISABLE_INSTALLPERMS], # OVERVIEW # # Handle the --without-force-id option, which disables userid checks for -# all Amanda applications. Defines CHECK_USERID *unless* this option is -# given. +# all Amanda applications. Defines and substitutes CHECK_USERID *unless* +# this option is given. # AC_DEFUN([AMANDA_WITH_FORCE_UID], [ @@ -41,14 +41,17 @@ AC_DEFUN([AMANDA_WITH_FORCE_UID], ) case "$CHECK_USERID" in y | ye | yes) + CHECK_USERID=1 AC_DEFINE(CHECK_USERID, 1, [Define to force to another user on client machines. ]) ;; n | no) : + CHECK_USERID= ;; *) AC_MSG_ERROR([*** You must not supply an argument to --with-force-uid option.]) esac + AC_SUBST(CHECK_USERID) ]) # SYNOPSIS