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