diff --git a/configure.ac b/configure.ac index 4c957bfeca..898fb0f244 100644 --- a/configure.ac +++ b/configure.ac @@ -2097,7 +2097,7 @@ AC_MSG_CHECKING([whether and where we should install plugins]) AC_ARG_WITH([plugin-dir], [AS_HELP_STRING([--with-plugin-dir=|yes|no|--without-plugin-dir], [Install selected standard filters in specified or default directory])], [],[with_plugin_dir=no]) -if test "x$have_zstd" = xyes ; then +if test "x$have_zstd" = xyes -a test "x$with_plugin_dir" = xno; then with_plugin_dir=yes fi AC_MSG_RESULT([$with_plugin_dir])