Add an option to configure (--enable-plugin-dependencies) that
creates plugin dependencies in Makefile. Highly experimental
and best-effort. See #955.