xref: /freebsd/crypto/krb5/doc/html/_sources/build/options2configure.rst.txt (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1*7f2fe78bSCy Schubert.. _options2configure:
2*7f2fe78bSCy Schubert
3*7f2fe78bSCy SchubertOptions to *configure*
4*7f2fe78bSCy Schubert======================
5*7f2fe78bSCy Schubert
6*7f2fe78bSCy SchubertThere are a number of options to configure which you can use to
7*7f2fe78bSCy Schubertcontrol how the Kerberos distribution is built.
8*7f2fe78bSCy Schubert
9*7f2fe78bSCy SchubertMost commonly used options
10*7f2fe78bSCy Schubert--------------------------
11*7f2fe78bSCy Schubert
12*7f2fe78bSCy Schubert**-**\ **-help**
13*7f2fe78bSCy Schubert    Provides help to configure.  This will list the set of commonly
14*7f2fe78bSCy Schubert    used options for building Kerberos.
15*7f2fe78bSCy Schubert
16*7f2fe78bSCy Schubert**-**\ **-prefix=**\ *PREFIX*
17*7f2fe78bSCy Schubert    By default, Kerberos will install the package's files rooted at
18*7f2fe78bSCy Schubert    ``/usr/local``.  If you desire to place the binaries into the
19*7f2fe78bSCy Schubert    directory *PREFIX*, use this option.
20*7f2fe78bSCy Schubert
21*7f2fe78bSCy Schubert**-**\ **-exec-prefix=**\ *EXECPREFIX*
22*7f2fe78bSCy Schubert    This option allows one to separate the architecture independent
23*7f2fe78bSCy Schubert    programs from the host-dependent files (configuration files,
24*7f2fe78bSCy Schubert    manual pages).  Use this option to install architecture-dependent
25*7f2fe78bSCy Schubert    programs in *EXECPREFIX*.  The default location is the value of
26*7f2fe78bSCy Schubert    specified by **-**\ **-prefix** option.
27*7f2fe78bSCy Schubert
28*7f2fe78bSCy Schubert**-**\ **-localstatedir=**\ *LOCALSTATEDIR*
29*7f2fe78bSCy Schubert    This option sets the directory for locally modifiable
30*7f2fe78bSCy Schubert    single-machine data.  In Kerberos, this mostly is useful for
31*7f2fe78bSCy Schubert    setting a location for the KDC data files, as they will be
32*7f2fe78bSCy Schubert    installed in ``LOCALSTATEDIR/krb5kdc``, which is by default
33*7f2fe78bSCy Schubert    ``PREFIX/var/krb5kdc``.
34*7f2fe78bSCy Schubert
35*7f2fe78bSCy Schubert**-**\ **-with-netlib**\ [=\ *libs*]
36*7f2fe78bSCy Schubert    Allows for suppression of or replacement of network libraries.  By
37*7f2fe78bSCy Schubert    default, Kerberos V5 configuration will look for ``-lnsl`` and
38*7f2fe78bSCy Schubert    ``-lsocket``.  If your operating system has a broken resolver
39*7f2fe78bSCy Schubert    library or fails to pass the tests in ``src/tests/resolv``, you
40*7f2fe78bSCy Schubert    will need to use this option.
41*7f2fe78bSCy Schubert
42*7f2fe78bSCy Schubert**-**\ **-enable-dns-for-realm**
43*7f2fe78bSCy Schubert    Enable the use of DNS to look up a host's Kerberos realm,
44*7f2fe78bSCy Schubert    if the information is not provided in
45*7f2fe78bSCy Schubert    :ref:`krb5.conf(5)`.  See :ref:`mapping_hostnames`
46*7f2fe78bSCy Schubert    for information about using DNS to determine the default realm.
47*7f2fe78bSCy Schubert    DNS lookups for realm names are disabled by default.
48*7f2fe78bSCy Schubert
49*7f2fe78bSCy Schubert**-**\ **-with-system-et**
50*7f2fe78bSCy Schubert    Use an installed version of the error-table (et) support software,
51*7f2fe78bSCy Schubert    the compile_et program, the com_err.h header file and the com_err
52*7f2fe78bSCy Schubert    library.  If these are not in the default locations, you may wish
53*7f2fe78bSCy Schubert    to specify ``CPPFLAGS=-I/some/dir`` and
54*7f2fe78bSCy Schubert    ``LDFLAGS=-L/some/other/dir`` options at configuration time as
55*7f2fe78bSCy Schubert    well.
56*7f2fe78bSCy Schubert
57*7f2fe78bSCy Schubert    If this option is not given, a version supplied with the Kerberos
58*7f2fe78bSCy Schubert    sources will be built and installed along with the rest of the
59*7f2fe78bSCy Schubert    Kerberos tree, for Kerberos applications to link against.
60*7f2fe78bSCy Schubert
61*7f2fe78bSCy Schubert**-**\ **-with-system-ss**
62*7f2fe78bSCy Schubert    Use an installed version of the subsystem command-line interface
63*7f2fe78bSCy Schubert    software, the mk_cmds program, the ``ss/ss.h`` header file and the
64*7f2fe78bSCy Schubert    ss library.  If these are not in the default locations, you may
65*7f2fe78bSCy Schubert    wish to specify ``CPPFLAGS=-I/some/dir`` and
66*7f2fe78bSCy Schubert    ``LDFLAGS=-L/some/other/dir`` options at configuration time as
67*7f2fe78bSCy Schubert    well.  See also the **SS_LIB** option.
68*7f2fe78bSCy Schubert
69*7f2fe78bSCy Schubert    If this option is not given, the ss library supplied with the
70*7f2fe78bSCy Schubert    Kerberos sources will be compiled and linked into those programs
71*7f2fe78bSCy Schubert    that need it; it will not be installed separately.
72*7f2fe78bSCy Schubert
73*7f2fe78bSCy Schubert**-**\ **-with-system-db**
74*7f2fe78bSCy Schubert    Use an installed version of the Berkeley DB package, which must
75*7f2fe78bSCy Schubert    provide an API compatible with version 1.85.  This option is
76*7f2fe78bSCy Schubert    unsupported and untested.  In particular, we do not know if the
77*7f2fe78bSCy Schubert    database-rename code used in the dumpfile load operation will
78*7f2fe78bSCy Schubert    behave properly.
79*7f2fe78bSCy Schubert
80*7f2fe78bSCy Schubert    If this option is not given, a version supplied with the Kerberos
81*7f2fe78bSCy Schubert    sources will be built and installed.  (We are not updating this
82*7f2fe78bSCy Schubert    version at this time because of licensing issues with newer
83*7f2fe78bSCy Schubert    versions that we haven't investigated sufficiently yet.)
84*7f2fe78bSCy Schubert
85*7f2fe78bSCy Schubert
86*7f2fe78bSCy SchubertEnvironment variables
87*7f2fe78bSCy Schubert---------------------
88*7f2fe78bSCy Schubert
89*7f2fe78bSCy Schubert**CC=**\ *COMPILER*
90*7f2fe78bSCy Schubert    Use *COMPILER* as the C compiler.
91*7f2fe78bSCy Schubert
92*7f2fe78bSCy Schubert**CFLAGS=**\ *FLAGS*
93*7f2fe78bSCy Schubert    Use *FLAGS* as the default set of C compiler flags.
94*7f2fe78bSCy Schubert
95*7f2fe78bSCy Schubert**CPP=**\ *CPP*
96*7f2fe78bSCy Schubert    C preprocessor to use. (e.g., ``CPP='gcc -E'``)
97*7f2fe78bSCy Schubert
98*7f2fe78bSCy Schubert**CPPFLAGS=**\ *CPPOPTS*
99*7f2fe78bSCy Schubert    Use *CPPOPTS* as the default set of C preprocessor flags.  The
100*7f2fe78bSCy Schubert    most common use of this option is to select certain #define's for
101*7f2fe78bSCy Schubert    use with the operating system's include files.
102*7f2fe78bSCy Schubert
103*7f2fe78bSCy Schubert
104*7f2fe78bSCy Schubert**DB_HEADER=**\ *headername*
105*7f2fe78bSCy Schubert    If db.h is not the correct header file to include to compile
106*7f2fe78bSCy Schubert    against the Berkeley DB 1.85 API, specify the correct header file
107*7f2fe78bSCy Schubert    name with this option. For example, ``DB_HEADER=db3/db_185.h``.
108*7f2fe78bSCy Schubert
109*7f2fe78bSCy Schubert**DB_LIB=**\ *libs*...
110*7f2fe78bSCy Schubert    If ``-ldb`` is not the correct library specification for the
111*7f2fe78bSCy Schubert    Berkeley DB library version to be used, override it with this
112*7f2fe78bSCy Schubert    option. For example, ``DB_LIB=-ldb-3.3``.
113*7f2fe78bSCy Schubert
114*7f2fe78bSCy Schubert**DEFCCNAME=**\ *ccachename*
115*7f2fe78bSCy Schubert    Override the built-in default credential cache name.
116*7f2fe78bSCy Schubert    For example, ``DEFCCNAME=DIR:/var/run/user/%{USERID}/ccache``
117*7f2fe78bSCy Schubert    See :ref:`parameter_expansion` for information about supported
118*7f2fe78bSCy Schubert    parameter expansions.
119*7f2fe78bSCy Schubert
120*7f2fe78bSCy Schubert**DEFCKTNAME=**\ *keytabname*
121*7f2fe78bSCy Schubert    Override the built-in default client keytab name.
122*7f2fe78bSCy Schubert    The format is the same as for *DEFCCNAME*.
123*7f2fe78bSCy Schubert
124*7f2fe78bSCy Schubert**DEFKTNAME=**\ *keytabname*
125*7f2fe78bSCy Schubert    Override the built-in default keytab name.
126*7f2fe78bSCy Schubert    The format is the same as for *DEFCCNAME*.
127*7f2fe78bSCy Schubert
128*7f2fe78bSCy Schubert**LD=**\ *LINKER*
129*7f2fe78bSCy Schubert    Use *LINKER* as the default loader if it should be different from
130*7f2fe78bSCy Schubert    C compiler as specified above.
131*7f2fe78bSCy Schubert
132*7f2fe78bSCy Schubert**LDFLAGS=**\ *LDOPTS*
133*7f2fe78bSCy Schubert    This option informs the linker where to get additional libraries
134*7f2fe78bSCy Schubert    (e.g., ``-L<lib dir>``).
135*7f2fe78bSCy Schubert
136*7f2fe78bSCy Schubert**LIBS=**\ *LDNAME*
137*7f2fe78bSCy Schubert    This option allows one to specify libraries to be passed to the
138*7f2fe78bSCy Schubert    linker (e.g., ``-l<library>``)
139*7f2fe78bSCy Schubert
140*7f2fe78bSCy Schubert**PKCS11_MODNAME=**\ *library*
141*7f2fe78bSCy Schubert    Override the built-in default PKCS11 library name.
142*7f2fe78bSCy Schubert
143*7f2fe78bSCy Schubert**SS_LIB=**\ *libs*...
144*7f2fe78bSCy Schubert    If ``-lss`` is not the correct way to link in your installed ss
145*7f2fe78bSCy Schubert    library, for example if additional support libraries are needed,
146*7f2fe78bSCy Schubert    specify the correct link options here.  Some variants of this
147*7f2fe78bSCy Schubert    library are around which allow for Emacs-like line editing, but
148*7f2fe78bSCy Schubert    different versions require different support libraries to be
149*7f2fe78bSCy Schubert    explicitly specified.
150*7f2fe78bSCy Schubert
151*7f2fe78bSCy Schubert    This option is ignored if **-**\ **-with-system-ss** is not specified.
152*7f2fe78bSCy Schubert
153*7f2fe78bSCy Schubert**YACC**
154*7f2fe78bSCy Schubert     The 'Yet Another C Compiler' implementation to use. Defaults to
155*7f2fe78bSCy Schubert     the first program found out of: '`bison -y`', '`byacc`',
156*7f2fe78bSCy Schubert     '`yacc`'.
157*7f2fe78bSCy Schubert
158*7f2fe78bSCy Schubert**YFLAGS**
159*7f2fe78bSCy Schubert     The list of arguments that will be passed by default to $YACC.
160*7f2fe78bSCy Schubert     This script will default YFLAGS to the empty string to avoid a
161*7f2fe78bSCy Schubert     default value of ``-d`` given by some make applications.
162*7f2fe78bSCy Schubert
163*7f2fe78bSCy Schubert
164*7f2fe78bSCy SchubertFine tuning of the installation directories
165*7f2fe78bSCy Schubert-------------------------------------------
166*7f2fe78bSCy Schubert
167*7f2fe78bSCy Schubert**-**\ **-bindir=**\ *DIR*
168*7f2fe78bSCy Schubert    User executables.  Defaults to ``EXECPREFIX/bin``, where
169*7f2fe78bSCy Schubert    *EXECPREFIX* is the path specified by **-**\ **-exec-prefix**
170*7f2fe78bSCy Schubert    configuration option.
171*7f2fe78bSCy Schubert
172*7f2fe78bSCy Schubert**-**\ **-sbindir=**\ *DIR*
173*7f2fe78bSCy Schubert    System admin executables.  Defaults to ``EXECPREFIX/sbin``, where
174*7f2fe78bSCy Schubert    *EXECPREFIX* is the path specified by **-**\ **-exec-prefix**
175*7f2fe78bSCy Schubert    configuration option.
176*7f2fe78bSCy Schubert
177*7f2fe78bSCy Schubert**-**\ **-sysconfdir=**\ *DIR*
178*7f2fe78bSCy Schubert    Read-only single-machine data such as krb5.conf.
179*7f2fe78bSCy Schubert    Defaults to ``PREFIX/etc``, where
180*7f2fe78bSCy Schubert    *PREFIX* is the path specified by **-**\ **-prefix** configuration
181*7f2fe78bSCy Schubert    option.
182*7f2fe78bSCy Schubert
183*7f2fe78bSCy Schubert**-**\ **-libdir=**\ *DIR*
184*7f2fe78bSCy Schubert    Object code libraries.  Defaults to ``EXECPREFIX/lib``, where
185*7f2fe78bSCy Schubert    *EXECPREFIX* is the path specified by **-**\ **-exec-prefix**
186*7f2fe78bSCy Schubert    configuration option.
187*7f2fe78bSCy Schubert
188*7f2fe78bSCy Schubert**-**\ **-includedir=**\ *DIR*
189*7f2fe78bSCy Schubert    C header files.  Defaults to ``PREFIX/include``, where *PREFIX* is
190*7f2fe78bSCy Schubert    the path specified by **-**\ **-prefix** configuration option.
191*7f2fe78bSCy Schubert
192*7f2fe78bSCy Schubert**-**\ **-datarootdir=**\ *DATAROOTDIR*
193*7f2fe78bSCy Schubert    Read-only architecture-independent data root.  Defaults to
194*7f2fe78bSCy Schubert    ``PREFIX/share``, where *PREFIX* is the path specified by
195*7f2fe78bSCy Schubert    **-**\ **-prefix** configuration option.
196*7f2fe78bSCy Schubert
197*7f2fe78bSCy Schubert**-**\ **-datadir=**\ *DIR*
198*7f2fe78bSCy Schubert    Read-only architecture-independent data.  Defaults to path
199*7f2fe78bSCy Schubert    specified by **-**\ **-datarootdir** configuration option.
200*7f2fe78bSCy Schubert
201*7f2fe78bSCy Schubert**-**\ **-localedir=**\ *DIR*
202*7f2fe78bSCy Schubert    Locale-dependent data.  Defaults to ``DATAROOTDIR/locale``, where
203*7f2fe78bSCy Schubert    *DATAROOTDIR* is the path specified by **-**\ **-datarootdir**
204*7f2fe78bSCy Schubert    configuration option.
205*7f2fe78bSCy Schubert
206*7f2fe78bSCy Schubert**-**\ **-mandir=**\ *DIR*
207*7f2fe78bSCy Schubert    Man documentation.  Defaults to ``DATAROOTDIR/man``, where
208*7f2fe78bSCy Schubert    *DATAROOTDIR* is the path specified by **-**\ **-datarootdir**
209*7f2fe78bSCy Schubert    configuration option.
210*7f2fe78bSCy Schubert
211*7f2fe78bSCy Schubert
212*7f2fe78bSCy SchubertProgram names
213*7f2fe78bSCy Schubert-------------
214*7f2fe78bSCy Schubert
215*7f2fe78bSCy Schubert**-**\ **-program-prefix=**\ *PREFIX*
216*7f2fe78bSCy Schubert    Prepend *PREFIX* to the names of the programs when installing
217*7f2fe78bSCy Schubert    them. For example, specifying ``--program-prefix=mit-`` at the
218*7f2fe78bSCy Schubert    configure time will cause the program named ``abc`` to be
219*7f2fe78bSCy Schubert    installed as ``mit-abc``.
220*7f2fe78bSCy Schubert
221*7f2fe78bSCy Schubert**-**\ **-program-suffix=**\ *SUFFIX*
222*7f2fe78bSCy Schubert    Append *SUFFIX* to the names of the programs when installing them.
223*7f2fe78bSCy Schubert    For example, specifying ``--program-suffix=-mit`` at the configure
224*7f2fe78bSCy Schubert    time will cause the program named ``abc`` to be installed as
225*7f2fe78bSCy Schubert    ``abc-mit``.
226*7f2fe78bSCy Schubert
227*7f2fe78bSCy Schubert**-**\ **-program-transform-name=**\ *PROGRAM*
228*7f2fe78bSCy Schubert    Run ``sed -e PROGRAM`` on installed program names. (*PROGRAM* is a
229*7f2fe78bSCy Schubert    sed script).
230*7f2fe78bSCy Schubert
231*7f2fe78bSCy Schubert
232*7f2fe78bSCy SchubertSystem types
233*7f2fe78bSCy Schubert------------
234*7f2fe78bSCy Schubert
235*7f2fe78bSCy Schubert**-**\ **-build=**\ *BUILD*
236*7f2fe78bSCy Schubert    Configure for building on *BUILD*
237*7f2fe78bSCy Schubert    (e.g., ``--build=x86_64-linux-gnu``).
238*7f2fe78bSCy Schubert
239*7f2fe78bSCy Schubert**-**\ **-host=**\ *HOST*
240*7f2fe78bSCy Schubert    Cross-compile to build programs to run on *HOST*
241*7f2fe78bSCy Schubert    (e.g., ``--host=x86_64-linux-gnu``).  By default, Kerberos V5
242*7f2fe78bSCy Schubert    configuration will look for "build" option.
243*7f2fe78bSCy Schubert
244*7f2fe78bSCy Schubert
245*7f2fe78bSCy SchubertOptional features
246*7f2fe78bSCy Schubert-----------------
247*7f2fe78bSCy Schubert
248*7f2fe78bSCy Schubert**-**\ **-disable-option-checking**
249*7f2fe78bSCy Schubert    Ignore unrecognized --enable/--with options.
250*7f2fe78bSCy Schubert
251*7f2fe78bSCy Schubert**-**\ **-disable-**\ *FEATURE*
252*7f2fe78bSCy Schubert    Do not include *FEATURE* (same as --enable-FEATURE=no).
253*7f2fe78bSCy Schubert
254*7f2fe78bSCy Schubert**-**\ **-enable-**\ *FEATURE*\ [=\ *ARG*]
255*7f2fe78bSCy Schubert    Include *FEATURE* [ARG=yes].
256*7f2fe78bSCy Schubert
257*7f2fe78bSCy Schubert**-**\ **-enable-maintainer-mode**
258*7f2fe78bSCy Schubert    Enable rebuilding of source files, Makefiles, etc.
259*7f2fe78bSCy Schubert
260*7f2fe78bSCy Schubert**-**\ **-disable-delayed-initialization**
261*7f2fe78bSCy Schubert    Initialize library code when loaded.  Defaults to delay until
262*7f2fe78bSCy Schubert    first use.
263*7f2fe78bSCy Schubert
264*7f2fe78bSCy Schubert**-**\ **-disable-thread-support**
265*7f2fe78bSCy Schubert    Don't enable thread support.  Defaults to enabled.
266*7f2fe78bSCy Schubert
267*7f2fe78bSCy Schubert**-**\ **-disable-rpath**
268*7f2fe78bSCy Schubert    Suppress run path flags in link lines.
269*7f2fe78bSCy Schubert
270*7f2fe78bSCy Schubert**-**\ **-enable-athena**
271*7f2fe78bSCy Schubert    Build with MIT Project Athena configuration.
272*7f2fe78bSCy Schubert
273*7f2fe78bSCy Schubert**-**\ **-disable-kdc-lookaside-cache**
274*7f2fe78bSCy Schubert    Disable the cache which detects client retransmits.
275*7f2fe78bSCy Schubert
276*7f2fe78bSCy Schubert**-**\ **-disable-pkinit**
277*7f2fe78bSCy Schubert    Disable PKINIT plugin support.
278*7f2fe78bSCy Schubert
279*7f2fe78bSCy Schubert**-**\ **-disable-aesni**
280*7f2fe78bSCy Schubert    Disable support for using AES instructions on x86 platforms.
281*7f2fe78bSCy Schubert
282*7f2fe78bSCy Schubert**-**\ **-enable-asan**\ [=\ *ARG*]
283*7f2fe78bSCy Schubert    Enable building with asan memory error checking.  If *ARG* is
284*7f2fe78bSCy Schubert    given, it controls the -fsanitize compilation flag value (the
285*7f2fe78bSCy Schubert    default is "address").
286*7f2fe78bSCy Schubert
287*7f2fe78bSCy Schubert
288*7f2fe78bSCy SchubertOptional packages
289*7f2fe78bSCy Schubert-----------------
290*7f2fe78bSCy Schubert
291*7f2fe78bSCy Schubert**-**\ **-with-**\ *PACKAGE*\ [=ARG\]
292*7f2fe78bSCy Schubert    Use *PACKAGE* (e.g., ``--with-imap``).  The default value of *ARG*
293*7f2fe78bSCy Schubert    is ``yes``.
294*7f2fe78bSCy Schubert
295*7f2fe78bSCy Schubert**-**\ **-without-**\ *PACKAGE*
296*7f2fe78bSCy Schubert    Do not use *PACKAGE* (same as ``--with-PACKAGE=no``)
297*7f2fe78bSCy Schubert    (e.g., ``--without-libedit``).
298*7f2fe78bSCy Schubert
299*7f2fe78bSCy Schubert**-**\ **-with-size-optimizations**
300*7f2fe78bSCy Schubert    Enable a few optimizations to reduce code size possibly at some
301*7f2fe78bSCy Schubert    run-time cost.
302*7f2fe78bSCy Schubert
303*7f2fe78bSCy Schubert**-**\ **-with-system-et**
304*7f2fe78bSCy Schubert    Use the com_err library and compile_et utility that are already
305*7f2fe78bSCy Schubert    installed on the system, instead of building and installing
306*7f2fe78bSCy Schubert    local versions.
307*7f2fe78bSCy Schubert
308*7f2fe78bSCy Schubert**-**\ **-with-system-ss**
309*7f2fe78bSCy Schubert    Use the ss library and mk_cmds utility that are already installed
310*7f2fe78bSCy Schubert    on the system, instead of building and using private versions.
311*7f2fe78bSCy Schubert
312*7f2fe78bSCy Schubert**-**\ **-with-system-db**
313*7f2fe78bSCy Schubert    Use the berkeley db utility already installed on the system,
314*7f2fe78bSCy Schubert    instead of using a private version.  This option is not
315*7f2fe78bSCy Schubert    recommended; enabling it may result in incompatibility with key
316*7f2fe78bSCy Schubert    databases originating on other systems.
317*7f2fe78bSCy Schubert
318*7f2fe78bSCy Schubert**-**\ **-with-netlib=**\ *LIBS*
319*7f2fe78bSCy Schubert    Use the resolver library specified in *LIBS*.  Use this variable
320*7f2fe78bSCy Schubert    if the C library resolver is insufficient or broken.
321*7f2fe78bSCy Schubert
322*7f2fe78bSCy Schubert**-**\ **-with-hesiod=**\ *path*
323*7f2fe78bSCy Schubert    Compile with Hesiod support.  The *path* points to the Hesiod
324*7f2fe78bSCy Schubert    directory.  By default Hesiod is unsupported.
325*7f2fe78bSCy Schubert
326*7f2fe78bSCy Schubert**-**\ **-with-ldap**
327*7f2fe78bSCy Schubert    Compile OpenLDAP database backend module.
328*7f2fe78bSCy Schubert
329*7f2fe78bSCy Schubert**-**\ **-with-lmdb**
330*7f2fe78bSCy Schubert    Compile LMDB database backend module.
331*7f2fe78bSCy Schubert
332*7f2fe78bSCy Schubert**-**\ **-with-vague-errors**
333*7f2fe78bSCy Schubert    Do not send helpful errors to client.  For example, if the KDC
334*7f2fe78bSCy Schubert    should return only vague error codes to clients.
335*7f2fe78bSCy Schubert
336*7f2fe78bSCy Schubert**-**\ **-with-crypto-impl=**\ *IMPL*
337*7f2fe78bSCy Schubert    Use specified crypto implementation (e.g., **-**\
338*7f2fe78bSCy Schubert    **-with-crypto-impl=**\ *openssl*).  The default is the native MIT
339*7f2fe78bSCy Schubert    Kerberos implementation ``builtin``.  The other currently
340*7f2fe78bSCy Schubert    implemented crypto backend is ``openssl``.  (See
341*7f2fe78bSCy Schubert    :ref:`mitK5features`)
342*7f2fe78bSCy Schubert
343*7f2fe78bSCy Schubert**-**\ **-without-libedit**
344*7f2fe78bSCy Schubert    Do not compile and link against libedit.  Some utilities will no
345*7f2fe78bSCy Schubert    longer offer command history or completion in interactive mode if
346*7f2fe78bSCy Schubert    libedit is disabled.
347*7f2fe78bSCy Schubert
348*7f2fe78bSCy Schubert**-**\ **-with-readline**
349*7f2fe78bSCy Schubert    Compile and link against GNU readline, as an alternative to libedit.
350*7f2fe78bSCy Schubert
351*7f2fe78bSCy Schubert**-**\ **-with-system-verto**
352*7f2fe78bSCy Schubert    Use an installed version of libverto.  If the libverto header and
353*7f2fe78bSCy Schubert    library are not in default locations, you may wish to specify
354*7f2fe78bSCy Schubert    ``CPPFLAGS=-I/some/dir`` and ``LDFLAGS=-L/some/other/dir`` options
355*7f2fe78bSCy Schubert    at configuration time as well.
356*7f2fe78bSCy Schubert
357*7f2fe78bSCy Schubert    If this option is not given, the build system will try to detect
358*7f2fe78bSCy Schubert    an installed version of libverto and use it if it is found.
359*7f2fe78bSCy Schubert    Otherwise, a version supplied with the Kerberos sources will be
360*7f2fe78bSCy Schubert    built and installed.  The built-in version does not contain the
361*7f2fe78bSCy Schubert    full set of back-end modules and is not a suitable general
362*7f2fe78bSCy Schubert    replacement for the upstream version, but will work for the
363*7f2fe78bSCy Schubert    purposes of Kerberos.
364*7f2fe78bSCy Schubert
365*7f2fe78bSCy Schubert    Specifying **-**\ **-without-system-verto** will cause the built-in
366*7f2fe78bSCy Schubert    version of libverto to be used unconditionally.
367*7f2fe78bSCy Schubert
368*7f2fe78bSCy Schubert**-**\ **-with-krb5-config=**\ *PATH*
369*7f2fe78bSCy Schubert    Use the krb5-config program at *PATH* to obtain the build-time
370*7f2fe78bSCy Schubert    default credential cache, keytab, and client keytab names.  The
371*7f2fe78bSCy Schubert    default is to use ``krb5-config`` from the program path.  Specify
372*7f2fe78bSCy Schubert    ``--without-krb5-config`` to disable the use of krb5-config and
373*7f2fe78bSCy Schubert    use the usual built-in defaults.
374*7f2fe78bSCy Schubert
375*7f2fe78bSCy Schubert**-**\ **-without-keyutils**
376*7f2fe78bSCy Schubert    Build without libkeyutils support.  This disables the KEYRING
377*7f2fe78bSCy Schubert    credential cache type.
378*7f2fe78bSCy Schubert
379*7f2fe78bSCy Schubert
380*7f2fe78bSCy SchubertExamples
381*7f2fe78bSCy Schubert--------
382*7f2fe78bSCy Schubert
383*7f2fe78bSCy SchubertFor example, in order to configure Kerberos on a Solaris machine using
384*7f2fe78bSCy Schubertthe suncc compiler with the optimizer turned on, run the configure
385*7f2fe78bSCy Schubertscript with the following options::
386*7f2fe78bSCy Schubert
387*7f2fe78bSCy Schubert    % ./configure CC=suncc CFLAGS=-O
388*7f2fe78bSCy Schubert
389*7f2fe78bSCy SchubertFor a slightly more complicated example, consider a system where
390*7f2fe78bSCy Schubertseveral packages to be used by Kerberos are installed in
391*7f2fe78bSCy Schubert``/usr/foobar``, including Berkeley DB 3.3, and an ss library that
392*7f2fe78bSCy Schubertneeds to link against the curses library.  The configuration of
393*7f2fe78bSCy SchubertKerberos might be done thus::
394*7f2fe78bSCy Schubert
395*7f2fe78bSCy Schubert    ./configure CPPFLAGS=-I/usr/foobar/include LDFLAGS=-L/usr/foobar/lib \
396*7f2fe78bSCy Schubert    --with-system-et --with-system-ss --with-system-db  \
397*7f2fe78bSCy Schubert    SS_LIB='-lss -lcurses'  DB_HEADER=db3/db_185.h DB_LIB=-ldb-3.3
398