1KRB5-CONFIG(1)            BSD General Commands Manual           KRB5-CONFIG(1)
2

NAME

4     krb5-config — give information on how to link code against Heimdal
5     libraries
6

SYNOPSIS

8     krb5-config [--prefix[=dir]] [--exec-prefix[=dir]] [--libs] [--cflags]
9                 [libraries]
10

DESCRIPTION

12     krb5-config tells the application programmer what special flags to use to
13     compile and link programs against the libraries installed by Heimdal.
14
15     Options supported:
16
17     --prefix[=dir]
18             Print the prefix if no dir is specified, otherwise set prefix to
19             dir.
20
21     --exec-prefix[=dir]
22             Print the exec-prefix if no dir is specified, otherwise set exec-
23             prefix to dir.
24
25     --libs  Output the set of libraries that should be linked against.  This
26             also includes rpath flags with the expectation that the C com‐
27             piler is used for final link-edits.
28
29     --cflags
30             Output the set of flags to give to the C compiler when using the
31             Heimdal libraries.
32
33     By default krb5-config will output the set of flags and libraries to be
34     used by a normal program using the krb5 API.  The user can also supply a
35     library to be used, the supported ones are:
36
37     krb5    (the default)
38
39     gssapi  use the krb5 gssapi mechanism
40
41     kadm-client
42             use the client-side kadmin libraries
43
44     kadm-server
45             use the server-side kadmin libraries
46

SEE ALSO

48     cc(1)
49

HISTORY

51     krb5-config appeared in Heimdal 0.3d.
52
53HEIMDAL                        November 30, 2000                       HEIMDAL
Impressum