scons: print sentence is not available in python3.

This commit is contained in:
Tatsuhiko Kubo 2021-04-04 02:42:21 +09:00
parent 831aeecf1f
commit ab0b64b43a

View File

@ -15,13 +15,13 @@ if os.sys.platform != "win32":
conf = Configure(env); conf = Configure(env);
if not conf.CheckCXX(): if not conf.CheckCXX():
print "The C++ compiler is not installed!" print("The C++ compiler is not installed!")
Exit(1) Exit(1)
libs = ['stdc++'] libs = ['stdc++']
for lib in libs: for lib in libs:
if not conf.CheckLib(lib): if not conf.CheckLib(lib):
print "library " + lib + " not installed!" print("library " + lib + " not installed!")
Exit(1) Exit(1)
conf.Finish() conf.Finish()