X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=config%2Famanda%2Fbsdudp-security.m4;h=32fe09efb213f0593b54aeb11c47b43286297242;hb=2627875b7d18858bc1f9f7652811e4d8c15a23eb;hp=1422bb7d036d712a6e07a021a271932f07706838;hpb=fb2bd066c2f8b34addafe48d62550e3033a59431;p=debian%2Famanda diff --git a/config/amanda/bsdudp-security.m4 b/config/amanda/bsdudp-security.m4 index 1422bb7..32fe09e 100644 --- a/config/amanda/bsdudp-security.m4 +++ b/config/amanda/bsdudp-security.m4 @@ -7,8 +7,8 @@ # Handle configuration for BSDUDP security, implementing the # --with-bsdudp-security option. # -# Defines BSDUDP_SECURITY, and sets AM_CONDITIONAL WANT_BSDUDP_SECURITY, -# if the user has selected this mechanism. +# Defines and substitutes BSDUDP_SECURITY, and sets AM_CONDITIONAL +# WANT_BSDUDP_SECURITY, if the user has selected this mechanism. # AC_DEFUN([AMANDA_BSDUDP_SECURITY], [ @@ -30,5 +30,7 @@ AC_DEFUN([AMANDA_BSDUDP_SECURITY], AC_DEFINE(BSDUDP_SECURITY,1, [Define if BSDUDP transport should be enabled.]) fi + AM_CONDITIONAL(WANT_BSDUDP_SECURITY, test x"$BSDUDP_SECURITY" = x"yes") + AC_SUBST(BSDUDP_SECURITY) ])