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

Enrico Weigelt weigelt at metux.de
Wed Aug 11 00:48:26 PDT 2010


* Benjamin Otte <otte at gnome.org> schrieb:

> So I'm proposing that the pkg-config autotools macros should add
> ${libdir}/pkgconfig and ${datadir}/pkgconfig to the paths they look in
> for pc files, preferring them to the default paths, but preferring
> user-set environment variables.

That's definitively wrong - the same kind of error like directly
adding absolute -I or -L pathes. It simply breaks any kind of
jailed or sysroot'ed builds.

And it's also wrong for another reason: the install pathes given
to ./configure have nothing to do with those of the imported 
packages, whatsoever. They're *NOT* _identical_, it's just a
matter of luck if they're equal.

If such a misfeature would ever be introduced, that would bring
a hell of trouble to distro maintainers !


cu
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weigelt at metux.de
 mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------


More information about the pkg-config mailing list