Merge from vendor branch OPENSSH:
[dragonfly.git] / crypto / heimdal / tools / krb5-config.1
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
18 tells the application programmer what special flags to use to compile
19 and link programs against the libraries installed by Heimdal.
20 .Pp
21 Options supported:
22 .Bl -tag -width Ds
23 .It Fl -prefix Ns Op = Ns Ar dir
24 Print the prefix if no
25 .Ar dir
26 is specified, otherwise set prefix to
27 .Ar dir .
28 .It Fl -exec-prefix Ns Op = Ns Ar dir
29 Print the exec-prefix if no
30 .Ar dir
31 is specified, otherwise set exec-prefix to
32 .Ar dir .
33 .It Fl -libs
34 Output the set of libraries that should be linked against.
35 .It Fl -cflags
36 Output the set of flags to give to the C compiler when using the
37 Heimdal libraries.
38 .El
39 .Pp
40 By default
41 .Nm
42 will output the set of flags and libraries to be used by a normal
43 program using the krb5 API.  The user can also supply a library to be
44 used, the supported ones are:
45 .Bl -tag -width Ds
46 .It krb5
47 (the default)
48 .It gssapi
49 use the krb5 gssapi mechanism
50 .It kadm-client
51 use the client-side kadmin libraries
52 .It kadm-server
53 use the server-side kadmin libraries
54 .El
55 .Sh SEE ALSO
56 .Xr cc 1
57 .Sh HISTORY
58 .Nm
59 appeared in Heimdal 0.3d.