[asterisk-users] Skip ./configure when source directory has not changed

jg webaccounts at jgoettgens.de
Mon Mar 24 15:41:34 CDT 2014

> 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 ?
> Regards
You do not need to call ./configure when building the package fails. Just call "make", maybe 
"make --jobs=4".

If your build fails because of a missing library, then you may (need) to call configure again.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140324/68de2a22/attachment.html>

More information about the asterisk-users mailing list