mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
configure.ac: fix execinfo.h test (Debian #363218)
Define HAVE_EXECINFO_H as well as HAVE_BACKTRACE, when we find execinfo.h.
This commit is contained in:
committed by
Daniel Stone
parent
c4951e0a6b
commit
5a3488ccac
@@ -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])
|
||||
])]
|
||||
)
|
||||
|
||||
|
||||
@@ -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_ */
|
||||
|
||||
Reference in New Issue
Block a user