From 7f2e567262f6791981d6f76d98ef85ce36f205ce Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Fri, 25 Dec 2009 11:39:54 +0100 Subject: [PATCH] Show that plugins are enabled or not in configure output. --- bacula/autoconf/configure.in | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index 76895e10f8..a81aa4617e 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -1674,17 +1674,17 @@ AC_SUBST(SBINPERM) dnl -------------------------------------------------- dnl plugin support dnl -------------------------------------------------- -use_plugins=yes +have_plugins=yes AC_ARG_ENABLE(plugins, AC_HELP_STRING([--enable-plugins], [enable plugin support @<:@default=yes@:>@]), [ if test x$enableval = xno; then - use_plugins=no + have_plugins=no fi ] ) -if test "x$use_libtool" != "xyes" -a test "x$use_plugins" = "xyes"; then +if test "x$use_libtool" != "xyes" -a test "x$have_plugins" = "xyes"; then echo " " echo "You specified --enable-plugins but disabled libtool with --disable-libtool" echo "We only support plugins using libtool so either disable plugins or enable libtool" @@ -1696,7 +1696,7 @@ if test "x$use_libtool" != "xyes" -a test "x$use_plugins" = "xyes"; then fi FD_PLUGIN_DIR="" -if test "x$use_plugins" = "xyes" ; then +if test "x$have_plugins" = "xyes" ; then FD_PLUGIN_DIR="src/plugins/fd" fi AC_SUBST(FD_PLUGIN_DIR) @@ -3214,6 +3214,7 @@ Configuration on `date`: client-only: ${build_client_only} build-dird: ${build_dird} build-stored: ${build_stored} + Plugin support: ${have_plugins} ACL support: ${have_acl} XATTR support: ${have_xattr} Python support: ${support_python} ${PYTHON_LIBS} -- 2.39.5