Configure script: Difference between revisions

Content deleted Content added
No edit summary
Line 1:
{{Lowercase title}}
[[Image:Autoconf-automake-process.svg|thumb|400px320px|Flow diagram including configure, [[autoconf]] and [[automake]], three tools in the GNU Build System]]
A '''configure script''' is an executable script designed to aid in developing a [[computer program|program]] to be run on a wide number of different computers. It matches the [[Library (computer science)|libraries]] on the user's computer, with those required by the program before [[compiler|compiling]] it from its [[source code]].
 
Line 20:
<source lang="sh">
./configure --libs="-lmpfr -lgmp"
./configure --prefix=/home/user/programslocal
</source>
 
The first line includes the <code>mpfr</code> and <code>gmp</code> libraries. The second line tells <code>[[make (software)|make]]</code> to install the final version in <code>/home/user/programslocal</code>. TheOften, <code>INSTALL</code>there is a file containscontaining instructions should the prescribed steps fail. This file is commonly named <code>INSTALL</code>.
 
== Generating <code>configure</code> ==