Commit Graph

3 Commits

Author SHA1 Message Date
Alexandre "kAworu" Perrin 3961a2ee31 use CMake check_function_exists() for execinfo
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-11 22:52:00 +02:00
Alexandre "kAworu" Perrin 56f0c84240 test for __builtin_clz() and fallback to an inline implementation.
__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>
2010-10-11 20:41:44 +02:00
Alexandre "kAworu" Perrin 23d5b27206 awesomeConfig: test for execinfo.h/backtrace()
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>
2010-10-11 16:42:08 +02:00