anatoly techtonik
anatoly techtonik

Reputation: 20569

Inspect result of SCons Configure

How to access result of Configure check in SCons?

conf = env.Configure(**configure_args)
have_deps = conf.CheckLib("png") and conf.CheckLib("vorbisfile")
env = conf.Finish()

Is there anything that I can check in env to see if png library is available?

Upvotes: 0

Views: 44

Answers (1)

efficks
efficks

Reputation: 137

Save the result in the environment variables.

env["HAVE_DEPS"] = have_deps

Upvotes: 1

Related Questions