> What about to let the pkgconfig.py test executed before any other tests > and set some variable which indicates if pkgconfig support is there or not. > Ralf Yes and it would be interesting to add a function in generic for the shlib target to produce a .pc