Content deleted Content added
Stevebroshar (talk | contribs) →History: More encylopedic |
Stevebroshar (talk | contribs) Organize the info; increase intro size; move more detailed info to sub-sections; keep intro high level |
||
Line 3:
[[Image:Autoconf-automake-process.svg|thumb|280px|Flow diagram including configure, [[autoconf]] and [[automake]], three tools in the GNU Build System]]
As generated by the [[GNU Build System]], a '''configure script''' is
Obtaining a software
== Use ==▼
▲Obtaining software directly from the source code is a common procedure on [[Unix]] and [[Unix-like]] environements. It generally involves the following steps:
# Generate
#
# Install the result to an accessible ___location
A configure script accomplishes the first step
▲== Use ==
After navigating a terminal to the directory that contains the source code, the following commands are typically executed:<ref>{{cite web |url=http://www.control-escape.com/linux/lx-swinstall-tar.html |title=Compiling Linux Software from Source Code |publisher=Control-Escape's Linux Help Engine |access-date=20 November 2010}}</ref>▼
▲After navigating a
<syntaxhighlight lang="sh">
Line 23:
</syntaxhighlight>
The configure script logs status and errors to file ''config.log''.
Command <code>./configure --help</code> outputs command line help information.
Often, a document with instructions is included; often in a file named <code>INSTALL</code>. This can be helpful if <code>configure</code> fails.▼
▲Often, a document with instructions is included with the codebase; often in a file named <code>INSTALL</code>.
== Generating ==
[[GNU Build System]] simplifies some of the
== Dependency checking ==
In new development, library dependency checking has been done in great part using [[pkg-config]] via the [[M4 (computer language)|m4]] macro, PKG_CHECK_MODULES. Before pkg-config gained popularity, separate m4 macros were created to locate files known to be included in the distribution of libraries depended upon.
|