summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-10-04 07:21:24 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-10-04 07:21:24 (GMT)
commita7a76d3d9eb77b4dd3129d34ba8df636ce2e6014 (patch)
tree0cc2558cbe36eed85ac9a84cd304a856c9977f8c /configure
parent3d61a06aa288f2fc64f33c6b09c0778ac4083861 (diff)
downloadcpython-a7a76d3d9eb77b4dd3129d34ba8df636ce2e6014.zip
cpython-a7a76d3d9eb77b4dd3129d34ba8df636ce2e6014.tar.gz
cpython-a7a76d3d9eb77b4dd3129d34ba8df636ce2e6014.tar.bz2
Patch #618347: Work around Solaris 2.6 pthread.h bug. Will backport to 2.2.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 12 insertions, 1 deletions
diff --git a/configure b/configure
index 9c995c3..181c983 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 1.348 .
+# From configure.in Revision: 1.349 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53.
#
@@ -10885,6 +10885,17 @@ fi
OSF1) LDLAST=-threads;;
esac
fi
+
+ if test "$posix_threads" = yes -a \
+ "$ac_sys_system" = "SunOS" -a \
+ "$ac_sys_release" = "5.6"; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_PTHREAD_DESTRUCTOR 1
+_ACEOF
+
+ fi
+
fi
# Check for enable-ipv6