]> git.sur5r.net Git - bacula/bacula/commitdiff
Show that plugins are enabled or not in configure output.
authorMarco van Wieringen <mvw@planets.elm.net>
Fri, 25 Dec 2009 10:39:54 +0000 (11:39 +0100)
committerMarco van Wieringen <mvw@planets.elm.net>
Fri, 25 Dec 2009 10:39:54 +0000 (11:39 +0100)
bacula/autoconf/configure.in

index 76895e10f80472958c6bc982615070bd11b8f767..a81aa4617e5d619e4d5ddb236e177e282cdd7eb8 100644 (file)
@@ -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}