fix executing flags producing command (e.g. sdl2-config) twice

add stderr redirect for executing tests

add libdir detection for some special cases - partially resolves issue #440

revert last commit, because it reverted bug fix #570

(0) -100 -30 -10 -4 +4 +10 tip

mercurial