Eli Zaretskii skrev:
Date: Thu, 07 Dec 2006 08:55:06 +0100
From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= <[EMAIL PROTECTED]>
Cc: Henrik Enberg <[EMAIL PROTECTED]>,
        [email protected]
"PKG_CONFIG_PATH=/path/to/dir/with/foo.pc ./configure"
Thanks, but this only works if the package installed privately
installs foo.pc.  Not every package does, since not every package
supports pkg-config in its source distribution.
That is true. A workaround woould be to copy the .pc-file that mentions foo to a private directory, edit it to point to your private foo, and then set PKG_CONFIG_PATH.

Alas, I couldn't find any documentation of the *.pc files' format, so
that I could edit the files.


It is in the man page for pkg-config.

pkg-config needs some kind of --use or --override switch so we could do this easier.

Indeed.  As things are now, it looks like the maintainers of
pkg-config didn't _want_ you to have the freedom to point it to the
non-default installation directories.

Its origin is form the Gnome project after all...

        Jan D.



_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to