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 - Makefile sleeps for 3 seconds if configure is out of date
Summary: Makefile sleeps for 3 seconds if configure is out of date
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.0
Hardware: x86 Other
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-09 07:15 UTC by Ryan C. Gordon
Modified: 2017-08-09 23:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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