RFC: PKG_CHECK_MODULES() should honor ${libdir} and ${datadir}

Peter Johansson trojkan at gmail.com
Fri Mar 26 09:19:07 PDT 2010


Hi Benjamin,

Benjamin Otte wrote:
> I talked to Tollef about this on IRC and he liked the idea in general.
> But we were both not sure if this could have any unwanted side
> effects. So I'm asking here if anyone thinks this is a bad idea. If
> so, please speak up now before I dust off my m4-fu and try to come up
> with a patch.
>
>   
I think it is a bit unexpected if a search path depends on `--prefix'. 
IMVHO, a changed `--prefix' should only modify where the package will be 
installed and not where to find 3rd party libraries and other tools. I 
expect, e.g., that if
./configure
works that also
./configure --prefix=$HOME
will work and that the same libraries are linked in.

I understand the reported pain, but the suggested fix, I think, might 
cause some severe headache.

Cheers,
Peter

-- 
Peter Johansson

svndigest maintainer, http://dev.thep.lu.se/svndigest
yat maintainer,       http://dev.thep.lu.se/yat



More information about the pkg-config mailing list