RFC: PKG_CHECK_MODULES() should honor ${libdir} and ${datadir}
Tollef Fog Heen
tfheen at err.no
Fri Mar 26 14:13:47 PDT 2010
]] Peter Johansson
[...]
| 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.
Are you worried about people being confused why configure with
--prefix=$HOME works, but not without or something else? My first worry
was «what happens when you have multiple .pc files with the same name»,
since that's a situation which we don't deal with too well today and
starting to mangle the search path would make this into a more common
situation causing confusion.
--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are
More information about the pkg-config
mailing list