xref: /freebsd/crypto/heimdal/tools/krb5-config.1 (revision 5e9cd1ae3e10592ed70e7575551cba1bbab04d84)
1.\" $Id: krb5-config.1,v 1.3 2000/12/01 04:59:53 assar Exp $
2.\"
3.Dd November 30, 2000
4.Dt KRB5-CONFIG 1
5.Os HEIMDAL
6.Sh NAME
7.Nm krb5-config
8.Nd
9give information on how to link code against Heimdal libraries
10.Sh SYNOPSIS
11.Nm
12.Op Fl -prefix Ns Op = Ns Ar dir
13.Op Fl -exec-prefix Ns Op = Ns Ar dir
14.Op Fl -libs
15.Op Fl -cflags
16.Op Ar libraries
17.Sh DESCRIPTION
18.Nm
19tells the application programmer what special flags to use to compile
20and link programs against the libraries installed by Heimdal.
21.Pp
22Options supported:
23.Bl -tag -width Ds
24.It Fl -prefix Ns Op = Ns Ar dir
25Print the prefix if no
26.Ar dir
27is specified, otherwise set prefix to
28.Ar dir .
29.It Fl -exec-prefix Ns Op = Ns Ar dir
30Print the exec-prefix if no
31.Ar dir
32is specified, otherwise set exec-prefix to
33.Ar dir .
34.It Fl -libs
35Output the set of libraries that should be linked against.
36.It Fl -cflags
37Output the set of flags to give to the C compiler when using the
38Heimdal libraries.
39.El
40.Pp
41By default
42.Nm
43will output the set of flags and libraries to be used by a normal
44program using the krb5 API.  The user can also supply a library to be
45used, the supported ones are:
46.Bl -tag -width Ds
47.It krb5
48(the default)
49.It gssapi
50use the krb5 gssapi mechanism
51.It kadm-client
52use the client-side kadmin libraries
53.It kadm-server
54use the server-side kadmin libraries
55.El
56.Sh SEE ALSO
57.Xr cc 1
58.Sh HISTORY
59.Nm
60appeared in Heimdal 0.3d.
61