diff options
author | Eugene Sandulenko | 2011-08-08 12:38:29 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2011-08-08 20:01:03 +0100 |
commit | 53ea7bfe3477ab53d772d53d9b43e971296597d4 (patch) | |
tree | 1d2db76b36f2e96c0b42ba6c81baed1c7e5b9a55 | |
parent | 6a7c87b4a472c8fe7b3ddbaab992f25320f6a14c (diff) | |
download | scummvm-rg350-53ea7bfe3477ab53d772d53d9b43e971296597d4.tar.gz scummvm-rg350-53ea7bfe3477ab53d772d53d9b43e971296597d4.tar.bz2 scummvm-rg350-53ea7bfe3477ab53d772d53d9b43e971296597d4.zip |
CONFIGURE: Add more verbosity for slow shell environments like mingw
-rwxr-xr-x | configure | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -3454,6 +3454,15 @@ _engines_built_static="" _engines_built_dynamic="" _engines_skipped="" +# Show a message if looping over engines takes longer than 5 secs +sh -c " + touch config.gnomes + sleep 5 + if test -f config.gnomes; then + printf 'Employing little gnomes...' + rm -f config.gnomes + fi" 2>/dev/null & + for engine in $_engines; do if test "`get_engine_sub $engine`" = "no" ; then # It's a main engine @@ -3518,6 +3527,14 @@ done add_to_config_h_if_yes `get_var _tainted_build` '#define TAINTED_BUILD' +# Complete the message on slow systems +if test -f config.gnomes ; then + # Kill does not work well here as it produces nasty 'Killed' message + rm -rf config.gnomes +else + echo " work is done" +fi + # # Show which engines ("frontends") are to be built # |