__builtin_clz() is not defined by gcc prior to 3.4 and maybe not for some other compiler vendors. Signed-off-by: Uli Schlachter <psychon@znc.in>
add a test for execinfo.h and backtrace() function which are defined by GNU libc. If it fails, require libexecinfo. Signed-off-by: Julien Danjou <julien@danjou.info>