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

Re: Dropping indirect dependencies from libgnutls-config --libs

On 6/30/06, Tollef Fog Heen <tfheen@err.no> wrote:
| 4. Custom config tools can often provide more info than available in
| pkg-config (plugin or config directories).


: tfheen@thosu ~ > pkg-config --variable=system_bus_default_address dbus-1

Sure, but to take an example, PostgreSQL has had pg_config for ages
and other projects use this to get the necessary parameters to compile
against the installed version. There is no way pkg-config can copy the
current set of command line arguments, so you have a backward
compatability issue. Also, what you suggest is not exactly shorter.

It is also used to compile contrib modules that are included in the
distribution. If you started using pkg-config you'd have introduced a
build dependancy on a GPL'd program in a BSD licenced package, not
exactly a good idea.

pkg-config is nice for the constellation of GPL'd libraries currently
installed on most linux systems, but once you step outside of that
it's not quite as useful.

Have a nice day,
Martijn van Oosterhout <kleptog@gmail.com> http://svana.org/kleptog/

Reply to: