diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2002-10-04 10:16:27 +0000 |
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2002-10-04 10:16:27 +0000 |
| commit | 067010f7faf6c2a00cc9d9e235c12d8da46d7d4f (patch) | |
| tree | 58d814a4950e6095fba07351d41c24c45540a274 /configure.in | |
| parent | 154040994dbecc1040cdd13ba846968004ce3377 (diff) | |
| download | cpython-git-067010f7faf6c2a00cc9d9e235c12d8da46d7d4f.tar.gz | |
Patch #618347: Work around Solaris pthread.h bug.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.in b/configure.in index bf2959b937..1e942481fc 100644 --- a/configure.in +++ b/configure.in @@ -1170,6 +1170,14 @@ pthread_create (NULL, NULL, start_routine, NULL)], [ OSF1) LDLAST=-threads;; esac fi + + if test "$posix_threads" = yes -a \ + "$ac_sys_system" = "SunOS" -a \ + "$ac_sys_release" = "5.6"; then + AC_DEFINE(HAVE_PTHREAD_DESTRUCTOR, 1, + [Defined for Solaris 2.6 bug in pthread header.]) + fi + fi # Check for enable-ipv6 |
