On Mon, 24 Mar 2014 21:20:45 +0100
Olivier <oza.4...@gmail.com> wrote:

> A silly question bouncing in my head for a long time :
> when I'm installing-configuring a new Asterisk system, I'm using a
> script that issue the usual ./configure, make and make install
> commands to install Asterisk from source.
> 
> When installation fails for any reason, I would re-run my installation
> script which in turn, among many things, would launch the
> above ./configure command.
> 
> Is there a smart way to accelerate things a bit and skip ./configure
> when source files have not changed since last configure command was
> previously run ?

You kind of have it backwards there.  You would only be able to
skip ./configure if you changed the source files but didn't change
anything else on the system (e.g., libraries or utilities).  But
there's no way for a build script to know if anything on the system
changed without running ./configure.  That's what ./configure does.  So
the only sensible thing to do is to run it every time.


-- 

C. Chad Wallace, B.Sc.
The Lodging Company
http://www.lodgingcompany.com/
OpenPGP Public Key ID: 0x262208A0


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to