Blame SOURCES/bacula-docker-plugin.patch

13b78d
diff -Naur bacula-11.0.1.old/autoconf/configure.in bacula-11.0.1/autoconf/configure.in
13b78d
--- bacula-11.0.1.old/autoconf/configure.in	2021-02-11 14:12:19.547538024 +0100
13b78d
+++ bacula-11.0.1/autoconf/configure.in	2021-02-11 14:12:25.803641252 +0100
13b78d
@@ -3240,20 +3240,11 @@
13b78d
    ]
13b78d
 )
13b78d
 if test x$support_docker = xyes -o x$support_docker = xauto; then
13b78d
-   AC_CHECK_PROG(docker_bin, docker, yes, no, "/usr/bin/")
13b78d
-   if test x$docker_bin = xyes; then
13b78d
-      support_docker=yes
13b78d
-      FD_PLUGIN_DIR="$FD_PLUGIN_DIR src/plugins/fd/docker"
13b78d
-      PLUGCONFILES="${PLUGCONFILES} src/plugins/fd/docker/Makefile"
13b78d
-   else
13b78d
-      if test x$support_docker = xyes; then
13b78d
-         echo " "
13b78d
-         echo "You enabled a Docker Plugin build but 'docker' command not found."
13b78d
-         echo " "
13b78d
-         exit 1
13b78d
-      fi
13b78d
-      support_docker=no
13b78d
-   fi
13b78d
+   support_docker=yes
13b78d
+   FD_PLUGIN_DIR="$FD_PLUGIN_DIR src/plugins/fd/docker"
13b78d
+   PLUGCONFILES="${PLUGCONFILES} src/plugins/fd/docker/Makefile"
13b78d
+else
13b78d
+   support_docker=no
13b78d
 fi
13b78d
 
13b78d
 AC_SUBST(FD_PLUGIN_DIR)