We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3733

Summary: Makefile sleeps for 3 seconds if configure is out of date
Product: SDL Reporter: Ryan C. Gordon <icculus>
Component: buildAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: x86   
OS: Other   

Description Ryan C. Gordon 2017-08-09 07:15:28 UTC
All these years I thought this was an autoconf bug.  :)

We sleep for three seconds if configure.in is out of date...

https://hg.libsdl.org/SDL/file/714324c6dd1f/Makefile.in#l128

...but it's extremely likely that Mercurial will write this file with a newer timestamp than configure when cloning or updating, triggering this sleep even though the file isn't _actually_ out of date.

Can we leave the warning message but remove this sleep call? It's annoying when iterating on code and each "make" sleeps longer than the build takes when I forget a semicolon.

--ryan.
Comment 1 Sam Lantinga 2017-08-09 23:20:31 UTC
Fixed!
https://hg.libsdl.org/SDL/rev/946452867513