Correct path substitutions of pkgconfig files in dynamic directory.

Correct and improve many buildconf and code logic blocks. In particular:

(0) -30 -10 -2 +2 +10 +30 +100 +300 tip

mercurial