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

Olivier oza.4h07 at gmail.com
Tue Mar 25 11:25:14 CDT 2014

2014-03-25 10:18 GMT+01:00 A J Stiles <asterisk_list at earthshod.co.uk>:

> On Monday 24 Mar 2014, Olivier wrote:
> > 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 ?
> That probably isn't what you really want to do.
> The most common reason why a build fails is because a -dev package is
> missing.
> Alternatively, some required component might be present, but located
> somewhere
> away from the usual search path.
> Once either of these situations is resolved, you are going to need to
> re-run
> the configure script anyway.

That's true but if you compare this with Makefile's ability to check files
last modification date ...

Maybe I'll just leave it to the man running the script to decide when to
run configure and it's not needed.

Thanks for sharing on this anyway.

> --
> Answers come *after* questions.
> --
> _____________________________________________________________________
> -- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140325/2ce4cb76/attachment.html>

More information about the asterisk-users mailing list