1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00

Bug#50409 Solaris 8 compatibility broken by assumption about

printstack() being present

When Bug#47391 was fixed, no assumption was made that support
for Solaris 8 was needed. Solaris 8 lacks printstack(), and 
the build breaks because of this.

This patch adds a test for the presence of printstack() to
configure.in for 5.0, and uses HAVE_PRINTSTACK to make
decisions rather than the __sun define.
This commit is contained in:
Staale Smedseng
2010-01-27 11:38:50 +01:00
parent 7fe315483c
commit 694d50c71e
3 changed files with 3 additions and 3 deletions

View File

@@ -227,7 +227,7 @@ stack trace is much more helpful in diagnosing the problem, so please do \n\
resolve it\n");
}
#elif defined(__sun)
#elif defined(HAVE_PRINTSTACK)
/* Use Solaris' symbolic stack trace routine. */
#include <ucontext.h>