diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-08-02 20:47:47 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-08-02 20:47:47 +0000 |
commit | 3d0d95004c65cd3a29c94fec99e13ab7fdc19c7c (patch) | |
tree | 90d656e71b419bb9a8d981cfee0a25926eb85e93 | |
parent | bb5258a21d9efbb7d8b4226a44bd5738eb46d32a (diff) |
Add check for walkcontext() to enable stack trace dumper on Solaris
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | include/xorg-config.h.in | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index d29ab2220..072abb7c3 100644 --- a/configure.ac +++ b/configure.ac @@ -68,7 +68,7 @@ AC_TYPE_PID_T # Checks for library functions. AC_FUNC_VPRINTF -AC_CHECK_FUNCS([geteuid getuid link memmove memset mkstemp strchr strrchr strtol getopt getopt_long]) +AC_CHECK_FUNCS([geteuid getuid link memmove memset mkstemp strchr strrchr strtol getopt getopt_long walkcontext]) AC_FUNC_ALLOCA # Find the math libary diff --git a/include/xorg-config.h.in b/include/xorg-config.h.in index ebc3d12c8..cc880d792 100644 --- a/include/xorg-config.h.in +++ b/include/xorg-config.h.in @@ -66,4 +66,8 @@ /* Solaris 8 or later? */ #undef __SOL8__ +/* Define to 1 if you have the `walkcontext' function (used on Solaris for + xorg_backtrace in hw/xfree86/common/xf86Events.c */ +#undef HAVE_WALKCONTEXT + #endif /* _XORG_CONFIG_H_ */ |