I'm using waf to build a C program. I'd like to check for the existence of a particular header file during the configuration phase. Is there a way to do that?
Ah, a bit of googling found the answer to my question: You can use the check
method on Configuration objects, like so:
def configure(conf):
conf.check(header_name="stdbool.h")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With