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