xref: /freebsd/contrib/file/INSTALL (revision 6a068746777241722b2b32c5d0bc443a2a64d80b)
128a8b562SDavid E. O'BrienInstallation Instructions
228a8b562SDavid E. O'Brien*************************
328a8b562SDavid E. O'Brien
428a8b562SDavid E. O'BrienCopyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
5*80c86c36SDavid E. O'Brien2006, 2007, 2008, 2009 Free Software Foundation, Inc.
628a8b562SDavid E. O'Brien
7*80c86c36SDavid E. O'Brien   Copying and distribution of this file, with or without modification,
8*80c86c36SDavid E. O'Brienare permitted in any medium without royalty provided the copyright
9*80c86c36SDavid E. O'Briennotice and this notice are preserved.  This file is offered as-is,
10*80c86c36SDavid E. O'Brienwithout warranty of any kind.
1128a8b562SDavid E. O'Brien
1228a8b562SDavid E. O'BrienBasic Installation
1328a8b562SDavid E. O'Brien==================
1428a8b562SDavid E. O'Brien
1528a8b562SDavid E. O'Brien   Briefly, the shell commands `./configure; make; make install' should
1628a8b562SDavid E. O'Brienconfigure, build, and install this package.  The following
1728a8b562SDavid E. O'Brienmore-detailed instructions are generic; see the `README' file for
18*80c86c36SDavid E. O'Brieninstructions specific to this package.  Some packages provide this
19*80c86c36SDavid E. O'Brien`INSTALL' file but do not implement all of the features documented
20*80c86c36SDavid E. O'Brienbelow.  The lack of an optional feature in a given package is not
21*80c86c36SDavid E. O'Briennecessarily a bug.  More recommendations for GNU packages can be found
22*80c86c36SDavid E. O'Brienin *note Makefile Conventions: (standards)Makefile Conventions.
2328a8b562SDavid E. O'Brien
2428a8b562SDavid E. O'Brien   The `configure' shell script attempts to guess correct values for
2528a8b562SDavid E. O'Brienvarious system-dependent variables used during compilation.  It uses
2628a8b562SDavid E. O'Brienthose values to create a `Makefile' in each directory of the package.
2728a8b562SDavid E. O'BrienIt may also create one or more `.h' files containing system-dependent
2828a8b562SDavid E. O'Briendefinitions.  Finally, it creates a shell script `config.status' that
2928a8b562SDavid E. O'Brienyou can run in the future to recreate the current configuration, and a
3028a8b562SDavid E. O'Brienfile `config.log' containing compiler output (useful mainly for
3128a8b562SDavid E. O'Briendebugging `configure').
3228a8b562SDavid E. O'Brien
3328a8b562SDavid E. O'Brien   It can also use an optional file (typically called `config.cache'
3428a8b562SDavid E. O'Brienand enabled with `--cache-file=config.cache' or simply `-C') that saves
3528a8b562SDavid E. O'Brienthe results of its tests to speed up reconfiguring.  Caching is
3628a8b562SDavid E. O'Briendisabled by default to prevent problems with accidental use of stale
3728a8b562SDavid E. O'Briencache files.
3828a8b562SDavid E. O'Brien
3928a8b562SDavid E. O'Brien   If you need to do unusual things to compile the package, please try
4028a8b562SDavid E. O'Briento figure out how `configure' could check whether to do them, and mail
4128a8b562SDavid E. O'Briendiffs or instructions to the address given in the `README' so they can
4228a8b562SDavid E. O'Brienbe considered for the next release.  If you are using the cache, and at
4328a8b562SDavid E. O'Briensome point `config.cache' contains results you don't want to keep, you
4428a8b562SDavid E. O'Brienmay remove or edit it.
4528a8b562SDavid E. O'Brien
4628a8b562SDavid E. O'Brien   The file `configure.ac' (or `configure.in') is used to create
4728a8b562SDavid E. O'Brien`configure' by a program called `autoconf'.  You need `configure.ac' if
4828a8b562SDavid E. O'Brienyou want to change it or regenerate `configure' using a newer version
4928a8b562SDavid E. O'Brienof `autoconf'.
5028a8b562SDavid E. O'Brien
5128a8b562SDavid E. O'Brien   The simplest way to compile this package is:
5228a8b562SDavid E. O'Brien
5328a8b562SDavid E. O'Brien  1. `cd' to the directory containing the package's source code and type
5428a8b562SDavid E. O'Brien     `./configure' to configure the package for your system.
5528a8b562SDavid E. O'Brien
5628a8b562SDavid E. O'Brien     Running `configure' might take a while.  While running, it prints
5728a8b562SDavid E. O'Brien     some messages telling which features it is checking for.
5828a8b562SDavid E. O'Brien
5928a8b562SDavid E. O'Brien  2. Type `make' to compile the package.
6028a8b562SDavid E. O'Brien
6128a8b562SDavid E. O'Brien  3. Optionally, type `make check' to run any self-tests that come with
62*80c86c36SDavid E. O'Brien     the package, generally using the just-built uninstalled binaries.
6328a8b562SDavid E. O'Brien
6428a8b562SDavid E. O'Brien  4. Type `make install' to install the programs and any data files and
65*80c86c36SDavid E. O'Brien     documentation.  When installing into a prefix owned by root, it is
66*80c86c36SDavid E. O'Brien     recommended that the package be configured and built as a regular
67*80c86c36SDavid E. O'Brien     user, and only the `make install' phase executed with root
68*80c86c36SDavid E. O'Brien     privileges.
6928a8b562SDavid E. O'Brien
70*80c86c36SDavid E. O'Brien  5. Optionally, type `make installcheck' to repeat any self-tests, but
71*80c86c36SDavid E. O'Brien     this time using the binaries in their final installed location.
72*80c86c36SDavid E. O'Brien     This target does not install anything.  Running this target as a
73*80c86c36SDavid E. O'Brien     regular user, particularly if the prior `make install' required
74*80c86c36SDavid E. O'Brien     root privileges, verifies that the installation completed
75*80c86c36SDavid E. O'Brien     correctly.
76*80c86c36SDavid E. O'Brien
77*80c86c36SDavid E. O'Brien  6. You can remove the program binaries and object files from the
7828a8b562SDavid E. O'Brien     source code directory by typing `make clean'.  To also remove the
7928a8b562SDavid E. O'Brien     files that `configure' created (so you can compile the package for
8028a8b562SDavid E. O'Brien     a different kind of computer), type `make distclean'.  There is
8128a8b562SDavid E. O'Brien     also a `make maintainer-clean' target, but that is intended mainly
8228a8b562SDavid E. O'Brien     for the package's developers.  If you use it, you may have to get
8328a8b562SDavid E. O'Brien     all sorts of other programs in order to regenerate files that came
8428a8b562SDavid E. O'Brien     with the distribution.
8528a8b562SDavid E. O'Brien
86*80c86c36SDavid E. O'Brien  7. Often, you can also type `make uninstall' to remove the installed
87*80c86c36SDavid E. O'Brien     files again.  In practice, not all packages have tested that
88*80c86c36SDavid E. O'Brien     uninstallation works correctly, even though it is required by the
89*80c86c36SDavid E. O'Brien     GNU Coding Standards.
90*80c86c36SDavid E. O'Brien
91*80c86c36SDavid E. O'Brien  8. Some packages, particularly those that use Automake, provide `make
92*80c86c36SDavid E. O'Brien     distcheck', which can by used by developers to test that all other
93*80c86c36SDavid E. O'Brien     targets like `make install' and `make uninstall' work correctly.
94*80c86c36SDavid E. O'Brien     This target is generally not run by end users.
95*80c86c36SDavid E. O'Brien
9628a8b562SDavid E. O'BrienCompilers and Options
9728a8b562SDavid E. O'Brien=====================
9828a8b562SDavid E. O'Brien
99*80c86c36SDavid E. O'Brien   Some systems require unusual options for compilation or linking that
100*80c86c36SDavid E. O'Brienthe `configure' script does not know about.  Run `./configure --help'
101*80c86c36SDavid E. O'Brienfor details on some of the pertinent environment variables.
10228a8b562SDavid E. O'Brien
10328a8b562SDavid E. O'Brien   You can give `configure' initial values for configuration parameters
10428a8b562SDavid E. O'Brienby setting variables in the command line or in the environment.  Here
10528a8b562SDavid E. O'Brienis an example:
10628a8b562SDavid E. O'Brien
10728a8b562SDavid E. O'Brien     ./configure CC=c99 CFLAGS=-g LIBS=-lposix
10828a8b562SDavid E. O'Brien
10928a8b562SDavid E. O'Brien   *Note Defining Variables::, for more details.
11028a8b562SDavid E. O'Brien
11128a8b562SDavid E. O'BrienCompiling For Multiple Architectures
11228a8b562SDavid E. O'Brien====================================
11328a8b562SDavid E. O'Brien
11428a8b562SDavid E. O'Brien   You can compile the package for more than one kind of computer at the
11528a8b562SDavid E. O'Briensame time, by placing the object files for each architecture in their
11628a8b562SDavid E. O'Brienown directory.  To do this, you can use GNU `make'.  `cd' to the
11728a8b562SDavid E. O'Briendirectory where you want the object files and executables to go and run
11828a8b562SDavid E. O'Brienthe `configure' script.  `configure' automatically checks for the
119*80c86c36SDavid E. O'Briensource code in the directory that `configure' is in and in `..'.  This
120*80c86c36SDavid E. O'Brienis known as a "VPATH" build.
12128a8b562SDavid E. O'Brien
12228a8b562SDavid E. O'Brien   With a non-GNU `make', it is safer to compile the package for one
12328a8b562SDavid E. O'Brienarchitecture at a time in the source code directory.  After you have
12428a8b562SDavid E. O'Brieninstalled the package for one architecture, use `make distclean' before
12528a8b562SDavid E. O'Brienreconfiguring for another architecture.
12628a8b562SDavid E. O'Brien
127*80c86c36SDavid E. O'Brien   On MacOS X 10.5 and later systems, you can create libraries and
128*80c86c36SDavid E. O'Brienexecutables that work on multiple system types--known as "fat" or
129*80c86c36SDavid E. O'Brien"universal" binaries--by specifying multiple `-arch' options to the
130*80c86c36SDavid E. O'Briencompiler but only a single `-arch' option to the preprocessor.  Like
131*80c86c36SDavid E. O'Brienthis:
132*80c86c36SDavid E. O'Brien
133*80c86c36SDavid E. O'Brien     ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
134*80c86c36SDavid E. O'Brien                 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
135*80c86c36SDavid E. O'Brien                 CPP="gcc -E" CXXCPP="g++ -E"
136*80c86c36SDavid E. O'Brien
137*80c86c36SDavid E. O'Brien   This is not guaranteed to produce working output in all cases, you
138*80c86c36SDavid E. O'Brienmay have to build one architecture at a time and combine the results
139*80c86c36SDavid E. O'Brienusing the `lipo' tool if you have problems.
140*80c86c36SDavid E. O'Brien
14128a8b562SDavid E. O'BrienInstallation Names
14228a8b562SDavid E. O'Brien==================
14328a8b562SDavid E. O'Brien
14428a8b562SDavid E. O'Brien   By default, `make install' installs the package's commands under
14528a8b562SDavid E. O'Brien`/usr/local/bin', include files under `/usr/local/include', etc.  You
14628a8b562SDavid E. O'Briencan specify an installation prefix other than `/usr/local' by giving
147*80c86c36SDavid E. O'Brien`configure' the option `--prefix=PREFIX', where PREFIX must be an
148*80c86c36SDavid E. O'Brienabsolute file name.
14928a8b562SDavid E. O'Brien
15028a8b562SDavid E. O'Brien   You can specify separate installation prefixes for
15128a8b562SDavid E. O'Brienarchitecture-specific files and architecture-independent files.  If you
15228a8b562SDavid E. O'Brienpass the option `--exec-prefix=PREFIX' to `configure', the package uses
15328a8b562SDavid E. O'BrienPREFIX as the prefix for installing programs and libraries.
15428a8b562SDavid E. O'BrienDocumentation and other data files still use the regular prefix.
15528a8b562SDavid E. O'Brien
15628a8b562SDavid E. O'Brien   In addition, if you use an unusual directory layout you can give
15728a8b562SDavid E. O'Brienoptions like `--bindir=DIR' to specify different values for particular
15828a8b562SDavid E. O'Brienkinds of files.  Run `configure --help' for a list of the directories
159*80c86c36SDavid E. O'Brienyou can set and what kinds of files go in them.  In general, the
160*80c86c36SDavid E. O'Briendefault for these options is expressed in terms of `${prefix}', so that
161*80c86c36SDavid E. O'Brienspecifying just `--prefix' will affect all of the other directory
162*80c86c36SDavid E. O'Brienspecifications that were not explicitly provided.
163*80c86c36SDavid E. O'Brien
164*80c86c36SDavid E. O'Brien   The most portable way to affect installation locations is to pass the
165*80c86c36SDavid E. O'Briencorrect locations to `configure'; however, many packages provide one or
166*80c86c36SDavid E. O'Brienboth of the following shortcuts of passing variable assignments to the
167*80c86c36SDavid E. O'Brien`make install' command line to change installation locations without
168*80c86c36SDavid E. O'Brienhaving to reconfigure or recompile.
169*80c86c36SDavid E. O'Brien
170*80c86c36SDavid E. O'Brien   The first method involves providing an override variable for each
171*80c86c36SDavid E. O'Brienaffected directory.  For example, `make install
172*80c86c36SDavid E. O'Brienprefix=/alternate/directory' will choose an alternate location for all
173*80c86c36SDavid E. O'Briendirectory configuration variables that were expressed in terms of
174*80c86c36SDavid E. O'Brien`${prefix}'.  Any directories that were specified during `configure',
175*80c86c36SDavid E. O'Brienbut not in terms of `${prefix}', must each be overridden at install
176*80c86c36SDavid E. O'Brientime for the entire installation to be relocated.  The approach of
177*80c86c36SDavid E. O'Brienmakefile variable overrides for each directory variable is required by
178*80c86c36SDavid E. O'Brienthe GNU Coding Standards, and ideally causes no recompilation.
179*80c86c36SDavid E. O'BrienHowever, some platforms have known limitations with the semantics of
180*80c86c36SDavid E. O'Brienshared libraries that end up requiring recompilation when using this
181*80c86c36SDavid E. O'Brienmethod, particularly noticeable in packages that use GNU Libtool.
182*80c86c36SDavid E. O'Brien
183*80c86c36SDavid E. O'Brien   The second method involves providing the `DESTDIR' variable.  For
184*80c86c36SDavid E. O'Brienexample, `make install DESTDIR=/alternate/directory' will prepend
185*80c86c36SDavid E. O'Brien`/alternate/directory' before all installation names.  The approach of
186*80c86c36SDavid E. O'Brien`DESTDIR' overrides is not required by the GNU Coding Standards, and
187*80c86c36SDavid E. O'Briendoes not work on platforms that have drive letters.  On the other hand,
188*80c86c36SDavid E. O'Brienit does better at avoiding recompilation issues, and works well even
189*80c86c36SDavid E. O'Brienwhen some directory options were not specified in terms of `${prefix}'
190*80c86c36SDavid E. O'Brienat `configure' time.
191*80c86c36SDavid E. O'Brien
192*80c86c36SDavid E. O'BrienOptional Features
193*80c86c36SDavid E. O'Brien=================
19428a8b562SDavid E. O'Brien
19528a8b562SDavid E. O'Brien   If the package supports it, you can cause programs to be installed
19628a8b562SDavid E. O'Brienwith an extra prefix or suffix on their names by giving `configure' the
19728a8b562SDavid E. O'Brienoption `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
19828a8b562SDavid E. O'Brien
19928a8b562SDavid E. O'Brien   Some packages pay attention to `--enable-FEATURE' options to
20028a8b562SDavid E. O'Brien`configure', where FEATURE indicates an optional part of the package.
20128a8b562SDavid E. O'BrienThey may also pay attention to `--with-PACKAGE' options, where PACKAGE
20228a8b562SDavid E. O'Brienis something like `gnu-as' or `x' (for the X Window System).  The
20328a8b562SDavid E. O'Brien`README' should mention any `--enable-' and `--with-' options that the
20428a8b562SDavid E. O'Brienpackage recognizes.
20528a8b562SDavid E. O'Brien
20628a8b562SDavid E. O'Brien   For packages that use the X Window System, `configure' can usually
20728a8b562SDavid E. O'Brienfind the X include and library files automatically, but if it doesn't,
20828a8b562SDavid E. O'Brienyou can use the `configure' options `--x-includes=DIR' and
20928a8b562SDavid E. O'Brien`--x-libraries=DIR' to specify their locations.
21028a8b562SDavid E. O'Brien
211*80c86c36SDavid E. O'Brien   Some packages offer the ability to configure how verbose the
212*80c86c36SDavid E. O'Brienexecution of `make' will be.  For these packages, running `./configure
213*80c86c36SDavid E. O'Brien--enable-silent-rules' sets the default to minimal output, which can be
214*80c86c36SDavid E. O'Brienoverridden with `make V=1'; while running `./configure
215*80c86c36SDavid E. O'Brien--disable-silent-rules' sets the default to verbose, which can be
216*80c86c36SDavid E. O'Brienoverridden with `make V=0'.
217*80c86c36SDavid E. O'Brien
218*80c86c36SDavid E. O'BrienParticular systems
219*80c86c36SDavid E. O'Brien==================
220*80c86c36SDavid E. O'Brien
221*80c86c36SDavid E. O'Brien   On HP-UX, the default C compiler is not ANSI C compatible.  If GNU
222*80c86c36SDavid E. O'BrienCC is not installed, it is recommended to use the following options in
223*80c86c36SDavid E. O'Brienorder to use an ANSI C compiler:
224*80c86c36SDavid E. O'Brien
225*80c86c36SDavid E. O'Brien     ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
226*80c86c36SDavid E. O'Brien
227*80c86c36SDavid E. O'Brienand if that doesn't work, install pre-built binaries of GCC for HP-UX.
228*80c86c36SDavid E. O'Brien
229*80c86c36SDavid E. O'Brien   On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
230*80c86c36SDavid E. O'Brienparse its `<wchar.h>' header file.  The option `-nodtk' can be used as
231*80c86c36SDavid E. O'Briena workaround.  If GNU CC is not installed, it is therefore recommended
232*80c86c36SDavid E. O'Briento try
233*80c86c36SDavid E. O'Brien
234*80c86c36SDavid E. O'Brien     ./configure CC="cc"
235*80c86c36SDavid E. O'Brien
236*80c86c36SDavid E. O'Brienand if that doesn't work, try
237*80c86c36SDavid E. O'Brien
238*80c86c36SDavid E. O'Brien     ./configure CC="cc -nodtk"
239*80c86c36SDavid E. O'Brien
240*80c86c36SDavid E. O'Brien   On Solaris, don't put `/usr/ucb' early in your `PATH'.  This
241*80c86c36SDavid E. O'Briendirectory contains several dysfunctional programs; working variants of
242*80c86c36SDavid E. O'Brienthese programs are available in `/usr/bin'.  So, if you need `/usr/ucb'
243*80c86c36SDavid E. O'Brienin your `PATH', put it _after_ `/usr/bin'.
244*80c86c36SDavid E. O'Brien
245*80c86c36SDavid E. O'Brien   On Haiku, software installed for all users goes in `/boot/common',
246*80c86c36SDavid E. O'Briennot `/usr/local'.  It is recommended to use the following options:
247*80c86c36SDavid E. O'Brien
248*80c86c36SDavid E. O'Brien     ./configure --prefix=/boot/common
249*80c86c36SDavid E. O'Brien
25028a8b562SDavid E. O'BrienSpecifying the System Type
25128a8b562SDavid E. O'Brien==========================
25228a8b562SDavid E. O'Brien
253*80c86c36SDavid E. O'Brien   There may be some features `configure' cannot figure out
254*80c86c36SDavid E. O'Brienautomatically, but needs to determine by the type of machine the package
255*80c86c36SDavid E. O'Brienwill run on.  Usually, assuming the package is built to be run on the
256*80c86c36SDavid E. O'Brien_same_ architectures, `configure' can figure that out, but if it prints
257*80c86c36SDavid E. O'Briena message saying it cannot guess the machine type, give it the
25828a8b562SDavid E. O'Brien`--build=TYPE' option.  TYPE can either be a short name for the system
25928a8b562SDavid E. O'Brientype, such as `sun4', or a canonical name which has the form:
26028a8b562SDavid E. O'Brien
26128a8b562SDavid E. O'Brien     CPU-COMPANY-SYSTEM
26228a8b562SDavid E. O'Brien
26328a8b562SDavid E. O'Brienwhere SYSTEM can have one of these forms:
26428a8b562SDavid E. O'Brien
265*80c86c36SDavid E. O'Brien     OS
266*80c86c36SDavid E. O'Brien     KERNEL-OS
26728a8b562SDavid E. O'Brien
26828a8b562SDavid E. O'Brien   See the file `config.sub' for the possible values of each field.  If
26928a8b562SDavid E. O'Brien`config.sub' isn't included in this package, then this package doesn't
27028a8b562SDavid E. O'Brienneed to know the machine type.
27128a8b562SDavid E. O'Brien
27228a8b562SDavid E. O'Brien   If you are _building_ compiler tools for cross-compiling, you should
27328a8b562SDavid E. O'Brienuse the option `--target=TYPE' to select the type of system they will
27428a8b562SDavid E. O'Brienproduce code for.
27528a8b562SDavid E. O'Brien
27628a8b562SDavid E. O'Brien   If you want to _use_ a cross compiler, that generates code for a
27728a8b562SDavid E. O'Brienplatform different from the build platform, you should specify the
27828a8b562SDavid E. O'Brien"host" platform (i.e., that on which the generated programs will
27928a8b562SDavid E. O'Brieneventually be run) with `--host=TYPE'.
28028a8b562SDavid E. O'Brien
28128a8b562SDavid E. O'BrienSharing Defaults
28228a8b562SDavid E. O'Brien================
28328a8b562SDavid E. O'Brien
284*80c86c36SDavid E. O'Brien   If you want to set default values for `configure' scripts to share,
285*80c86c36SDavid E. O'Brienyou can create a site shell script called `config.site' that gives
286*80c86c36SDavid E. O'Briendefault values for variables like `CC', `cache_file', and `prefix'.
28728a8b562SDavid E. O'Brien`configure' looks for `PREFIX/share/config.site' if it exists, then
28828a8b562SDavid E. O'Brien`PREFIX/etc/config.site' if it exists.  Or, you can set the
28928a8b562SDavid E. O'Brien`CONFIG_SITE' environment variable to the location of the site script.
29028a8b562SDavid E. O'BrienA warning: not all `configure' scripts look for a site script.
29128a8b562SDavid E. O'Brien
29228a8b562SDavid E. O'BrienDefining Variables
29328a8b562SDavid E. O'Brien==================
29428a8b562SDavid E. O'Brien
29528a8b562SDavid E. O'Brien   Variables not defined in a site shell script can be set in the
29628a8b562SDavid E. O'Brienenvironment passed to `configure'.  However, some packages may run
29728a8b562SDavid E. O'Brienconfigure again during the build, and the customized values of these
29828a8b562SDavid E. O'Brienvariables may be lost.  In order to avoid this problem, you should set
29928a8b562SDavid E. O'Brienthem in the `configure' command line, using `VAR=value'.  For example:
30028a8b562SDavid E. O'Brien
30128a8b562SDavid E. O'Brien     ./configure CC=/usr/local2/bin/gcc
30228a8b562SDavid E. O'Brien
30328a8b562SDavid E. O'Briencauses the specified `gcc' to be used as the C compiler (unless it is
30428a8b562SDavid E. O'Brienoverridden in the site shell script).
30528a8b562SDavid E. O'Brien
30628a8b562SDavid E. O'BrienUnfortunately, this technique does not work for `CONFIG_SHELL' due to
30728a8b562SDavid E. O'Brienan Autoconf bug.  Until the bug is fixed you can use this workaround:
30828a8b562SDavid E. O'Brien
30928a8b562SDavid E. O'Brien     CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
31028a8b562SDavid E. O'Brien
31128a8b562SDavid E. O'Brien`configure' Invocation
31228a8b562SDavid E. O'Brien======================
31328a8b562SDavid E. O'Brien
314*80c86c36SDavid E. O'Brien   `configure' recognizes the following options to control how it
315*80c86c36SDavid E. O'Brienoperates.
31628a8b562SDavid E. O'Brien
31728a8b562SDavid E. O'Brien`--help'
31828a8b562SDavid E. O'Brien`-h'
319*80c86c36SDavid E. O'Brien     Print a summary of all of the options to `configure', and exit.
320*80c86c36SDavid E. O'Brien
321*80c86c36SDavid E. O'Brien`--help=short'
322*80c86c36SDavid E. O'Brien`--help=recursive'
323*80c86c36SDavid E. O'Brien     Print a summary of the options unique to this package's
324*80c86c36SDavid E. O'Brien     `configure', and exit.  The `short' variant lists options used
325*80c86c36SDavid E. O'Brien     only in the top level, while the `recursive' variant lists options
326*80c86c36SDavid E. O'Brien     also present in any nested packages.
32728a8b562SDavid E. O'Brien
32828a8b562SDavid E. O'Brien`--version'
32928a8b562SDavid E. O'Brien`-V'
33028a8b562SDavid E. O'Brien     Print the version of Autoconf used to generate the `configure'
33128a8b562SDavid E. O'Brien     script, and exit.
33228a8b562SDavid E. O'Brien
33328a8b562SDavid E. O'Brien`--cache-file=FILE'
33428a8b562SDavid E. O'Brien     Enable the cache: use and save the results of the tests in FILE,
33528a8b562SDavid E. O'Brien     traditionally `config.cache'.  FILE defaults to `/dev/null' to
33628a8b562SDavid E. O'Brien     disable caching.
33728a8b562SDavid E. O'Brien
33828a8b562SDavid E. O'Brien`--config-cache'
33928a8b562SDavid E. O'Brien`-C'
34028a8b562SDavid E. O'Brien     Alias for `--cache-file=config.cache'.
34128a8b562SDavid E. O'Brien
34228a8b562SDavid E. O'Brien`--quiet'
34328a8b562SDavid E. O'Brien`--silent'
34428a8b562SDavid E. O'Brien`-q'
34528a8b562SDavid E. O'Brien     Do not print messages saying which checks are being made.  To
34628a8b562SDavid E. O'Brien     suppress all normal output, redirect it to `/dev/null' (any error
34728a8b562SDavid E. O'Brien     messages will still be shown).
34828a8b562SDavid E. O'Brien
34928a8b562SDavid E. O'Brien`--srcdir=DIR'
35028a8b562SDavid E. O'Brien     Look for the package's source code in directory DIR.  Usually
35128a8b562SDavid E. O'Brien     `configure' can determine that directory automatically.
35228a8b562SDavid E. O'Brien
353*80c86c36SDavid E. O'Brien`--prefix=DIR'
354*80c86c36SDavid E. O'Brien     Use DIR as the installation prefix.  *note Installation Names::
355*80c86c36SDavid E. O'Brien     for more details, including other options available for fine-tuning
356*80c86c36SDavid E. O'Brien     the installation locations.
357*80c86c36SDavid E. O'Brien
358*80c86c36SDavid E. O'Brien`--no-create'
359*80c86c36SDavid E. O'Brien`-n'
360*80c86c36SDavid E. O'Brien     Run the configure checks, but stop before creating any output
361*80c86c36SDavid E. O'Brien     files.
362*80c86c36SDavid E. O'Brien
36328a8b562SDavid E. O'Brien`configure' also accepts some other, not widely useful, options.  Run
36428a8b562SDavid E. O'Brien`configure --help' for more details.
36528a8b562SDavid E. O'Brien
366