diff --git a/configure.ac b/configure.ac index 46b128059..dce4f3211 100644 --- a/configure.ac +++ b/configure.ac @@ -174,6 +174,7 @@ dnl glibc backtrace support check (hw/xfree86/common/xf86Events.c) AC_CHECK_HEADER([execinfo.h],[ AC_CHECK_LIB(c, backtrace, [ AC_DEFINE(HAVE_BACKTRACE, 1, [Has backtrace support]) + AC_DEFINE(HAVE_EXECINFO_H, 1, [Have execinfo.h]) ])] ) diff --git a/include/xorg-config.h.in b/include/xorg-config.h.in index e43d1d13f..4a64522a7 100644 --- a/include/xorg-config.h.in +++ b/include/xorg-config.h.in @@ -109,4 +109,7 @@ /* Name of the period field in struct kbd_repeat */ #undef LNX_KBD_PERIOD_NAME +/* Have execinfo.h */ +#undef HAVE_EXECINFO_H + #endif /* _XORG_CONFIG_H_ */