xref: /freebsd/crypto/heimdal/tools/krb5-config.1 (revision 580744621f33383027108364dcadad718df46ffe)
1.\" Copyright (c) 2000 - 2001 Kungliga Tekniska Högskolan
2.\" (Royal Institute of Technology, Stockholm, Sweden).
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\"
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\"
12.\" 2. Redistributions in binary form must reproduce the above copyright
13.\"    notice, this list of conditions and the following disclaimer in the
14.\"    documentation and/or other materials provided with the distribution.
15.\"
16.\" 3. Neither the name of the Institute nor the names of its contributors
17.\"    may be used to endorse or promote products derived from this software
18.\"    without specific prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
21.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.Dd November 30, 2000
33.Dt KRB5-CONFIG 1
34.Os HEIMDAL
35.Sh NAME
36.Nm krb5-config
37.Nd "give information on how to link code against Heimdal libraries"
38.Sh SYNOPSIS
39.Nm
40.Op Fl Fl prefix Ns Op = Ns Ar dir
41.Op Fl Fl exec-prefix Ns Op = Ns Ar dir
42.Op Fl Fl libs
43.Op Fl Fl cflags
44.Op Ar libraries
45.Sh DESCRIPTION
46.Nm
47tells the application programmer what special flags to use to compile
48and link programs against the libraries installed by Heimdal.
49.Pp
50Options supported:
51.Bl -tag -width Ds
52.It Fl Fl prefix Ns Op = Ns Ar dir
53Print the prefix if no
54.Ar dir
55is specified, otherwise set prefix to
56.Ar dir .
57.It Fl Fl exec-prefix Ns Op = Ns Ar dir
58Print the exec-prefix if no
59.Ar dir
60is specified, otherwise set exec-prefix to
61.Ar dir .
62.It Fl Fl libs
63Output the set of libraries that should be linked against.
64.It Fl Fl cflags
65Output the set of flags to give to the C compiler when using the
66Heimdal libraries.
67.El
68.Pp
69By default
70.Nm
71will output the set of flags and libraries to be used by a normal
72program using the krb5 API.  The user can also supply a library to be
73used, the supported ones are:
74.Bl -tag -width Ds
75.It krb5
76(the default)
77.It gssapi
78use the krb5 gssapi mechanism
79.It kadm-client
80use the client-side kadmin libraries
81.It kadm-server
82use the server-side kadmin libraries
83.El
84.Sh SEE ALSO
85.Xr cc 1
86.Sh HISTORY
87.Nm
88appeared in Heimdal 0.3d.
89