From: Marco van Wieringen Date: Fri, 25 Dec 2009 10:39:54 +0000 (+0100) Subject: Show that plugins are enabled or not in configure output. X-Git-Tag: Release-7.0.0~2430^2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3132bd4eabd0dff4130ef8b42d4587a8353186a2;p=bacula%2Fbacula Show that plugins are enabled or not in configure output. --- 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}