Re: pkg-config



> 
> Well, but really they want to look in $(gnome_libs_prefix) AND in each
> component of $GNOME_PATH. Given that someone else commented on certain
> functions searching $(gnome_libs_prefix) but ignoring GNOME_PATH,
> maybe it would be best to not let pkg-config tell you gnome-libs's
> prefix, but instead have a gnome-libs function that searches for
> files/paths in each of the possible directories (its own compiled-in
> prefix, plus the GNOME_PATH paths), and make people use that to make
> sure that future functions don't require installing things into
> gnome-libs's prefix.
> 

Balsa has some functions that do this ; balsa/libbalsa/files.c. We also
use some configure.in mojo to build a list of common paths. The current
function doesn't know about GNOME_PATH but adding support for it would
not be difficult.

--
Peter Williams -- peterw@helixcode.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]