[PATCH] Make krb5-config suppress CFLAGS output and omit extra libraries when called with --libs

Russ Allbery rra at stanford.edu
Mon Sep 26 13:52:51 EDT 2011


Sam Hartman <hartmans at mit.edu> writes:

> Alternatively and probably preferably, just move to pkg-config and keep
> krb5-config mostly as it is.

Yeah, that's probably also a good option.  I've started providing
pkg-config files for my library packages, and it seems to work reasonably
well.  And pkg-config has fairly good support for multiple "profiles"
similar to what's currently implemented in krb5-config by just installing
multiple pkg-config files.

If you do adopt pkg-config, it would be good to reach some consensus with
Heimdal on what to call the profiles so that the same pkg-config
invocation can work with either Kerberos implementation.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>



More information about the krbdev mailing list