@title{Cygnus Configure}
@author{K. Richard Pixley, rich@cygnus.com
}
@author{Cygnus Support}
Copyright (C) 1991, 1992 Cygnus Support
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.
Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by Cygnus Support.
configure
prepares source directories for building working
programs. A program cannot be built until its source has been
configured. When configure runs, it does the following things.
configure
with the
-srcdir=
option, it uses the current directory as build
directory, creating under it a directory tree that parallels the
directory structure under the source directory. (See section Invoking).
configure
places definitions for a number of standard makefile macros at the
beginning of the output file. If -prefix=
or -exec_prefix
were specified on the configure
command line, corresponding
makefile variables are set accordingly. If host, target, or site
specific makefile fragments exist, these are inserted into the output
file. (See section `Makefiles' in Makefiles.)
dir
commands and
a source
command, which will cause the `.gdbinit' file from
the source directory to be read by GDB, and will allow GDB to find
source files in either the source directory or the build directory.
(see section `Command Files' in Command Files.)
configure
runs cannot support symbolic links, hard links are used
instead.
configure
creates a shell script named `config.status' in
the build directory. This shell script, when run from the build
directory, will reconfigure the build directory (but not its
subdirectories). This is most often used to have a Makefile
update
itself automatically if a new source directory is available.
configure
is called for each.