Added hints about build/config.log and --config=force.
This commit is contained in:
parent
c97e8f4944
commit
19c0d2eb3b
1 changed files with 5 additions and 6 deletions
11
SConstruct
11
SConstruct
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue