Added hints about build/config.log and --config=force.

This commit is contained in:
Sergey Popov 2009-03-03 10:14:01 +00:00
parent c97e8f4944
commit 19c0d2eb3b

View file

@ -202,10 +202,6 @@ if not os.path.isabs(env["prefix"]):
# Check some preconditions
#
def Die(message):
print message
Exit(1)
def Warning(message):
print message
return False
@ -224,9 +220,9 @@ if env["prereqs"]:
conf.CheckBoostIostreamsGZip() and \
conf.CheckBoost("smart_ptr", header_only = True) and \
conf.CheckSDL(require_version = '1.2.7') and \
conf.CheckSDL('SDL_net') or Die("Base prerequisites are not met.")
conf.CheckSDL('SDL_net') or Warning("Base prerequisites are not met.")
have_client_prereqs = \
have_client_prereqs = have_server_prereqs and \
conf.CheckPango("cairo") and \
conf.CheckPKG("fontconfig") and \
conf.CheckBoost("regex") and \
@ -266,6 +262,9 @@ if env["prereqs"]:
#
# env["have_boost_asio"] = have_boost_asio;
print "If any config checks fail, look in build/config.log for details"
print "If a check fails spuriously due to caching, use --config=force to force its rerun"
else:
have_client_prereqs = True
have_X = False