Imported Upstream version 2.6.1
[debian/amanda] / config / amanda / bsdudp-security.m4
index 1422bb7d036d712a6e07a021a271932f07706838..32fe09efb213f0593b54aeb11c47b43286297242 100644 (file)
@@ -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)
 ])