Fix configure logic around tnef_parse plugin.
authorAndrej Kacian <ticho@claws-mail.org>
Wed, 19 Apr 2017 17:20:06 +0000 (19:20 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Wed, 19 Apr 2017 17:20:06 +0000 (19:20 +0200)
If the plugin is explicitly enabled, but its dependencies
are missing, error out instead of warning and continuing.

configure.ac

index ecdd285..dd903f4 100644 (file)
@@ -1918,7 +1918,7 @@ if test x"$enable_tnef_parse_plugin" != xno; then
                MISSING_DEPS_PLUGINS="$MISSING_DEPS_PLUGINS tnef_parse"
        else
                AC_MSG_RESULT(no)
-               AC_MSG_WARN(Plugin tnef_parse will not be built; missing $dependencies_missing")
+               AC_MSG_ERROR(Plugin tnef_parse will not be built; missing $dependencies_missing")
        fi
 else
        DISABLED_PLUGINS="$DISABLED_PLUGINS tnef_parse"