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

Russ Allbery rra at stanford.edu
Mon Sep 26 15:38:44 EDT 2011


Sam Hartman <hartmans at MIT.EDU> writes:
>>>>>> "Russ" == Russ Allbery <rra at stanford.edu> writes:

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

> I was thinking we might want to use different names so you can have both
> installed.  Unfortunately, I guess that makes the autoconf a bit messy
> because the default pkg-config macro doesn't support alternatives.

> I guess we want a generic name and an implementation name.

If both provided a generic name and an implementation name, then we could
advertise a standard Autoconf AC_ARG_WITH pattern that would by default
use the generic name but allow the person building the software to specify
one of the implementations be used instead.

> I think you do want things like Debian's krb5-multidev/heimdal-multidev
> to work in this model.

Definitely agreed, and pkg-config would make it much easier to include the
right -I and -L flags.

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



More information about the krbdev mailing list