Re: pkg-config comments



James Henstridge <james daa com au> writes:

> > However, the GNOME_PKGCONFIG_* macros from gnome-common/macros2 do work
> > just fine; examples are in gnome-libs HEAD and libgtop HEAD ... :-)
> 
> If it is a good macro, then it should be distributed with pkg-config.  I
> thought we were moving away from having a macros directory.

They do not work when they're shiped together with pkg-config.

They only work if they're shiped in a package which users always must have
installed, such as gnome-common - otherwise you won't get a clear error message
if you don't have a recent enough pkg-config but some very confusing and weird
autoconf failures (so you won't be able to see from the error message that it's
pkg-config which you're missing).

In GNOME 2.x we are already away from a macros directory, the macros are
installed by gnome-common, so that all applications - no matter whether they're
in GNOME CVS or outside of it - can use them.

-- 
Martin Baulig
martin gnome org (private)
baulig suse de (work)




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