When not testing for prerequisites let have_X depend on the platform.

This commit is contained in:
Mark de Wever 2008-07-12 09:32:27 +00:00
parent c88e37bcfa
commit f3962c61f0

View file

@ -219,7 +219,9 @@ if env["prereqs"]:
env["python"] = (float(sys.version[:3]) >= 2.4) and conf.CheckPython() or Warning("Python >= 2.4 not found. Python extensions will be disabled.")
else:
have_client_prereqs = True
have_X = True
have_X = False
if env["PLATFORM"] != "win32":
have_X = True
have_server_prereqs = True
have_test_prereqs = True