From: Eric Bollengier Date: Tue, 15 Mar 2022 14:25:49 +0000 (+0100) Subject: Add new plugin targets to ./configure.in X-Git-Tag: Release-11.3.2~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e61107f96bcef0abeab17bcb3fc46d41f8f3da8;p=thirdparty%2Fbacula.git Add new plugin targets to ./configure.in --- diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index 88a4b44ed..f55e524f7 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -3401,6 +3401,7 @@ if test x$support_docker = xyes -o x$support_docker = xauto; then if test x$docker_bin = xyes; then support_docker=yes FD_PLUGIN_DIR="${FD_PLUGIN_DIR} src/plugins/fd/docker" + FD_PLUGIN_INSTALL="${FD_PLUGIN_INSTALL} install-docker" else if test x$support_docker = xyes; then echo " " @@ -3419,6 +3420,7 @@ AC_ARG_ENABLE(kubernetes-plugin, [ if test x$enableval = xyes; then support_kubernetes=yes + FD_PLUGIN_INSTALL="${FD_PLUGIN_INSTALL} install-kubernetes" elif test x$enableval = xno; then support_kubernetes=disabled fi @@ -3428,7 +3430,24 @@ if test x$support_kubernetes = xyes -o x$support_kubernetes = xauto; then FD_PLUGIN_DIR="${FD_PLUGIN_DIR} src/plugins/fd/kubernetes-backend" fi +dnl cdp Plugin +support_cdp=auto +AC_ARG_ENABLE(cdp-plugin, + AC_HELP_STRING([--disable-cdp-plugin], [disable CDP plugin support @<:@default=auto@:>@]), + [ + if test x$enableval = xyes; then + support_cdp=yes + FD_PLUGIN_INSTALL="${FD_PLUGIN_INSTALL} install-cdp" + TOOLS_INSTALL="${TOOLS_INSTALL} install-cdp" + elif test x$enableval = xno; then + support_cdp=disabled + fi + ] +) + AC_SUBST(FD_PLUGIN_DIR) +AC_SUBST(FD_PLUGIN_INSTALL) +AC_SUBST(TOOLS_INSTALL) dnl dnl Bacula Pluggable Authentication Modules - Director Plugins @@ -4157,6 +4176,7 @@ Configuration on `date`: - Docker: ${support_docker} - Kubernetes: ${support_kubernetes} - LDAP BPAM: ${support_ldap_bpam} + - CDP: ${support_cdp} " > config.out # create a small shell script useful for support with