Blame INSTALL

Packit daac2c
Basic Installation
Packit daac2c
==================
Packit daac2c
Packit daac2c
   These are generic installation instructions.
Packit daac2c
Packit daac2c
   The `configure' shell script attempts to guess correct values for
Packit daac2c
various system-dependent variables used during compilation.  It uses
Packit daac2c
those values to create a `Makefile' in each directory of the package.
Packit daac2c
It may also create one or more `.h' files containing system-dependent
Packit daac2c
definitions.  Finally, it creates a shell script `config.status' that
Packit daac2c
you can run in the future to recreate the current configuration, a file
Packit daac2c
`config.cache' that saves the results of its tests to speed up
Packit daac2c
reconfiguring, and a file `config.log' containing compiler output
Packit daac2c
(useful mainly for debugging `configure').
Packit daac2c
Packit daac2c
   If you need to do unusual things to compile the package, please try
Packit daac2c
to figure out how `configure' could check whether to do them, and mail
Packit daac2c
diffs or instructions to the address given in the `README' so they can
Packit daac2c
be considered for the next release.  If at some point `config.cache'
Packit daac2c
contains results you don't want to keep, you may remove or edit it.
Packit daac2c
Packit daac2c
   The file `configure.in' is used to create `configure' by a program
Packit daac2c
called `autoconf'.  You only need `configure.in' if you want to change
Packit daac2c
it or regenerate `configure' using a newer version of `autoconf'.
Packit daac2c
Packit daac2c
The simplest way to compile this package is:
Packit daac2c
Packit daac2c
  1. `cd' to the directory containing the package's source code and type
Packit daac2c
     `./configure' to configure the package for your system.  If you're
Packit daac2c
     using `csh' on an old version of System V, you might need to type
Packit daac2c
     `sh ./configure' instead to prevent `csh' from trying to execute
Packit daac2c
     `configure' itself.
Packit daac2c
Packit daac2c
     Running `configure' takes awhile.  While running, it prints some
Packit daac2c
     messages telling which features it is checking for.
Packit daac2c
Packit daac2c
  2. Type `make' to compile the package.
Packit daac2c
Packit daac2c
  3. Optionally, type `make check' to run any self-tests that come with
Packit daac2c
     the package.
Packit daac2c
Packit daac2c
  4. Type `make install' to install the programs and any data files and
Packit daac2c
     documentation.
Packit daac2c
Packit daac2c
  5. You can remove the program binaries and object files from the
Packit daac2c
     source code directory by typing `make clean'.  To also remove the
Packit daac2c
     files that `configure' created (so you can compile the package for
Packit daac2c
     a different kind of computer), type `make distclean'.  There is
Packit daac2c
     also a `make maintainer-clean' target, but that is intended mainly
Packit daac2c
     for the package's developers.  If you use it, you may have to get
Packit daac2c
     all sorts of other programs in order to regenerate files that came
Packit daac2c
     with the distribution.
Packit daac2c
Packit daac2c
Compilers and Options
Packit daac2c
=====================
Packit daac2c
Packit daac2c
   Some systems require unusual options for compilation or linking that
Packit daac2c
the `configure' script does not know about.  You can give `configure'
Packit daac2c
initial values for variables by setting them in the environment.  Using
Packit daac2c
a Bourne-compatible shell, you can do that on the command line like
Packit daac2c
this:
Packit daac2c
     CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
Packit daac2c
Packit daac2c
Or on systems that have the `env' program, you can do it like this:
Packit daac2c
     env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
Packit daac2c
Packit daac2c
Compiling For Multiple Architectures
Packit daac2c
====================================
Packit daac2c
Packit daac2c
   You can compile the package for more than one kind of computer at the
Packit daac2c
same time, by placing the object files for each architecture in their
Packit daac2c
own directory.  To do this, you must use a version of `make' that
Packit daac2c
supports the `VPATH' variable, such as GNU `make'.  `cd' to the
Packit daac2c
directory where you want the object files and executables to go and run
Packit daac2c
the `configure' script.  `configure' automatically checks for the
Packit daac2c
source code in the directory that `configure' is in and in `..'.
Packit daac2c
Packit daac2c
   If you have to use a `make' that does not supports the `VPATH'
Packit daac2c
variable, you have to compile the package for one architecture at a time
Packit daac2c
in the source code directory.  After you have installed the package for
Packit daac2c
one architecture, use `make distclean' before reconfiguring for another
Packit daac2c
architecture.
Packit daac2c
Packit daac2c
Installation Names
Packit daac2c
==================
Packit daac2c
Packit daac2c
   By default, `make install' will install the package's files in
Packit daac2c
`/usr/local/bin', `/usr/local/man', etc.  You can specify an
Packit daac2c
installation prefix other than `/usr/local' by giving `configure' the
Packit daac2c
option `--prefix=PATH'.
Packit daac2c
Packit daac2c
   You can specify separate installation prefixes for
Packit daac2c
architecture-specific files and architecture-independent files.  If you
Packit daac2c
give `configure' the option `--exec-prefix=PATH', the package will use
Packit daac2c
PATH as the prefix for installing programs and libraries.
Packit daac2c
Documentation and other data files will still use the regular prefix.
Packit daac2c
Packit daac2c
   In addition, if you use an unusual directory layout you can give
Packit daac2c
options like `--bindir=PATH' to specify different values for particular
Packit daac2c
kinds of files.  Run `configure --help' for a list of the directories
Packit daac2c
you can set and what kinds of files go in them.
Packit daac2c
Packit daac2c
   If the package supports it, you can cause programs to be installed
Packit daac2c
with an extra prefix or suffix on their names by giving `configure' the
Packit daac2c
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
Packit daac2c
Packit daac2c
Optional Features
Packit daac2c
=================
Packit daac2c
Packit daac2c
   Some packages pay attention to `--enable-FEATURE' options to
Packit daac2c
`configure', where FEATURE indicates an optional part of the package.
Packit daac2c
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
Packit daac2c
is something like `gnu-as' or `x' (for the X Window System).  The
Packit daac2c
`README' should mention any `--enable-' and `--with-' options that the
Packit daac2c
package recognizes.
Packit daac2c
Packit daac2c
   For packages that use the X Window System, `configure' can usually
Packit daac2c
find the X include and library files automatically, but if it doesn't,
Packit daac2c
you can use the `configure' options `--x-includes=DIR' and
Packit daac2c
`--x-libraries=DIR' to specify their locations.
Packit daac2c
Packit daac2c
Specifying the System Type
Packit daac2c
==========================
Packit daac2c
Packit daac2c
   There may be some features `configure' can not figure out
Packit daac2c
automatically, but needs to determine by the type of host the package
Packit daac2c
will run on.  Usually `configure' can figure that out, but if it prints
Packit daac2c
a message saying it can not guess the host type, give it the
Packit daac2c
`--host=TYPE' option.  TYPE can either be a short name for the system
Packit daac2c
type, such as `sun4', or a canonical name with three fields:
Packit daac2c
     CPU-COMPANY-SYSTEM
Packit daac2c
Packit daac2c
See the file `config.sub' for the possible values of each field.  If
Packit daac2c
`config.sub' isn't included in this package, then this package doesn't
Packit daac2c
need to know the host type.
Packit daac2c
Packit daac2c
   If you are building compiler tools for cross-compiling, you can also
Packit daac2c
use the `--target=TYPE' option to select the type of system they will
Packit daac2c
produce code for and the `--build=TYPE' option to select the type of
Packit daac2c
system on which you are compiling the package.
Packit daac2c
Packit daac2c
Sharing Defaults
Packit daac2c
================
Packit daac2c
Packit daac2c
   If you want to set default values for `configure' scripts to share,
Packit daac2c
you can create a site shell script called `config.site' that gives
Packit daac2c
default values for variables like `CC', `cache_file', and `prefix'.
Packit daac2c
`configure' looks for `PREFIX/share/config.site' if it exists, then
Packit daac2c
`PREFIX/etc/config.site' if it exists.  Or, you can set the
Packit daac2c
`CONFIG_SITE' environment variable to the location of the site script.
Packit daac2c
A warning: not all `configure' scripts look for a site script.
Packit daac2c
Packit daac2c
Operation Controls
Packit daac2c
==================
Packit daac2c
Packit daac2c
   `configure' recognizes the following options to control how it
Packit daac2c
operates.
Packit daac2c
Packit daac2c
`--cache-file=FILE'
Packit daac2c
     Use and save the results of the tests in FILE instead of
Packit daac2c
     `./config.cache'.  Set FILE to `/dev/null' to disable caching, for
Packit daac2c
     debugging `configure'.
Packit daac2c
Packit daac2c
`--help'
Packit daac2c
     Print a summary of the options to `configure', and exit.
Packit daac2c
Packit daac2c
`--quiet'
Packit daac2c
`--silent'
Packit daac2c
`-q'
Packit daac2c
     Do not print messages saying which checks are being made.  To
Packit daac2c
     suppress all normal output, redirect it to `/dev/null' (any error
Packit daac2c
     messages will still be shown).
Packit daac2c
Packit daac2c
`--srcdir=DIR'
Packit daac2c
     Look for the package's source code in directory DIR.  Usually
Packit daac2c
     `configure' can determine that directory automatically.
Packit daac2c
Packit daac2c
`--version'
Packit daac2c
     Print the version of Autoconf used to generate the `configure'
Packit daac2c
     script, and exit.
Packit daac2c
Packit daac2c
`configure' also accepts some other, not widely useful, options.