SCons User Guide 0.96 | ||
---|---|---|
<<< Previous | Multi-Platform Configuration (Autoconf Functionality) | Next >>> |
Check for the availability of a specific function using the CheckFunc method:
env = Environment() conf = Configure(env) if not conf.CheckFunc('strcpy'): print 'Did not find strcpy(), using local version' conf.env.Append('-Dstrcpy=my_local_strcpy') env = conf.Finish() |
<<< Previous | Home | Next >>> |
Checking for the Existence of Header Files | Up | Checking for the Availability of a Library |