xserver: Branch 'master'

Daniel Stone daniels at kemper.freedesktop.org
Sat Aug 12 19:25:11 EEST 2006


 configure.ac             |    1 +
 include/xorg-config.h.in |    3 +++
 2 files changed, 4 insertions(+)

New commits:
diff-tree 5a3488ccac8e5dabd9fc98bc41ef178ead1b2faf (from c4951e0a6b6cf3eeee710cc5cda1d9bc929ee3d7)
Author: Daniel Stone <daniel at fooishbar.org>
Date:   Sat Aug 12 19:25:06 2006 +0300

    configure.ac: fix execinfo.h test (Debian #363218)
    Define HAVE_EXECINFO_H as well as HAVE_BACKTRACE, when we find execinfo.h.

diff --git a/configure.ac b/configure.ac
index 46b1280..dce4f32 100644
--- a/configure.ac
+++ b/configure.ac
@@ -174,6 +174,7 @@ dnl glibc backtrace support check (hw/xf
 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 e43d1d1..4a64522 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_ */



More information about the xorg-commit mailing list