backport SVN commit 856466 by winterz:
backport SVN commit 856466 by winterz:

patch from Ingmar that prevents application plugins from being built
if their associated applications are not being built.


svn path=/branches/KDE/4.1/kdepim/; revision=856468

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi