How can I check the specified header file in Waf?

I use waf to create a C program. I want to check for a specific header file at the configuration stage. Is there any way to do this?

+4
source share
1 answer

And, a little search query found the answer to my question: you can use the check method for configuration objects, for example:

 def configure(conf): conf.check(header_name="stdbool.h") 
+5
source

All Articles