1 2 3 4 5
conf.CHECK_HEADERS('execinfo.h') # backtrace could be in libexecinfo or in libc conf.CHECK_FUNCS_IN('backtrace', 'execinfo', checklibc=True)