CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
`VPATH'
variable, such as GNU `make'. `cd'
to the
directory where you want the object files and executables to go and run
the `configure' script. `configure'
automatically checks for the
source code in the directory that `configure' is in and in `..'.`VPATH'
variable, you have to compile the package for one architecture at a time
in the source code directory. After you have installed the package for
one architecture, use `make distclean'
before reconfiguring for another
architecture.`/usr/local/bin'
, `/usr/local/man'
, etc. You can specify an
installation prefix other than `/usr/local' by giving `configure'
the
option `--prefix=PATH'
.`configure'
the option `--exec-prefix=PATH'
, the package will use
PATH
as the prefix for installing programs and libraries.
Documentation and other data files will still use the regular prefix.`configure'
the
option `--program-prefix=PREFIX'
or `--program-suffix=SUFFIX'.
`--enable-FEATURE'
options to
`configure'
, where FEATURE
indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE'
options, where PACKAGE
is something like `gnu-as'
or `x'
(for the X Window System). The
`README' should mention any `--enable-'
and `--with-'
options that the
package recognizes.`configure'
options `--x-includes=DIR'
and
`--x-libraries=DIR'
to specify their locations.`configure'
can not figure out
automatically, but needs to determine by the type of host the package
will run on. Usually `configure' can figure that out, but if it prints
a message saying it can not guess the host type, give it the
`--host=TYPE'
option. TYPE can either be a short name for the system
type, such as `sun4'
, or a canonical name with three fields:CPU-COMPANY-SYSTEM
`--target=TYPE'
option to select the type of system they will
produce code for and the `--build=TYPE'
option to select the type of
system on which you are compiling the package.`CC', `cache_file', and `prefix'
.
`configure'
looks for `PREFIX/share/config.site'
if it exists, then
`PREFIX/etc/config.site'
if it exists. Or, you can set the
`CONFIG_SITE'
environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.`configure'
recognizes the following options to control how it
operates.`--cache-file=FILE'
`--help'
`--quiet'
`--silent'
`-q'
`--srcdir=DIR'
`--version'
previous page | Top | next page |