Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #3007

Re: configure

Newsgroups comp.programming
Date 2013-02-12 12:25 +0100
From Alessandro Pellegrini <alessandro.pellegrini@tin.it>
Subject Re: configure
Message-ID <alpine.BSF.2.00.1302121222290.57272@localhost> (permalink)
References <4389fcd5-6ea0-40d2-8748-dd217a8a6ff2@googlegroups.com>
Organization TIN.IT (http://www.tin.it)

Show all headers | View raw


On Tue, 18 Dec 2012, bob wrote:

> Is there some kind of automated utility that generates these things?


As someone else said, these scripts are automatically generated from 
'autotools' [1].

The configure / make / make install set of command is an attempt to 
generalize the way of distributing software on *nix boxes.
The bulky script basically tries to 'discover' whats on your machine and 
produce makefiles which are going to successfully build the executable(s) 
on the current architecture, starting from the same source code.

With autotools, you specify some rules (in a file usually called 
configure.ac) which describe what is going to be needed for creating the 
executable, and then the configure script is created automatically, 
tryingto abstract what you requested for every architecture/distro you are 
going to build the executable on.

This in a very short and simplyfied way.

Bye,
Alessandro


[1] 
http://www.gnu.org/savannah-checkouts/gnu/automake/manual/html_node/Autotools-Introduction.html

Back to comp.programming | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

configure bob <bob@coolfone.comze.com> - 2012-12-18 08:46 -0800
  Re: configure Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2012-12-18 19:40 +0200
  Re: configure Rui Maciel <rui.maciel@gmail.com> - 2012-12-18 22:17 +0000
  Re: configure Alessandro Pellegrini <alessandro.pellegrini@tin.it> - 2013-02-12 12:25 +0100

csiph-web