compositor: check for execinfo.h

Some systems may not have execinfo.h. Add a configure test for it, and
if it is not found, make the backtrace() call a no-operation.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
Pekka Paalanen
2012-05-30 15:53:42 +03:00
committed by Kristian Høgsberg
parent 51aaf646db
commit 200019c0c6
3 changed files with 12 additions and 1 deletions
-1
View File
@@ -42,7 +42,6 @@
#include <dlfcn.h>
#include <signal.h>
#include <setjmp.h>
#include <execinfo.h>
#include <wayland-server.h>
#include "compositor.h"