Merge pull request #4 from jamesjer/master

test: use python 3 compatible print statements.
This commit is contained in:
Tatsuhiko Kubo 2019-09-29 23:15:45 +09:00 committed by GitHub
commit 1bcddbf879
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,13 +16,13 @@ env = Environment(
conf = Configure(env);
if not conf.CheckCXX():
print "c++ compiler is not installed!"
print("c++ compiler is not installed!")
Exit(1)
libs = ['stdc++', 'pthread', 'gtest']
for lib in libs:
if not conf.CheckLib(lib):
print "library " + lib + " not installed!"
print("library " + lib + " not installed!")
Exit(1)
conf.Finish()