summaryrefslogtreecommitdiffstats
path: root/src/aclocal.m4
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2009-11-09 06:13:34 +0000
committerKen Raeburn <raeburn@mit.edu>2009-11-09 06:13:34 +0000
commit70e96202ed342a2241ef5f14f55ce32e24679adf (patch)
treeed8fce8b15d07fc9d980167390dfe2ead1b46ce7 /src/aclocal.m4
parent2b4dfde357e61f8eac1f4f9e0cb95698baceab7e (diff)
downloadkrb5-70e96202ed342a2241ef5f14f55ce32e24679adf.tar.gz
krb5-70e96202ed342a2241ef5f14f55ce32e24679adf.tar.xz
krb5-70e96202ed342a2241ef5f14f55ce32e24679adf.zip
quoting bug causes solaris pre-10 thread handling bugs
Quoting problems in pattern matching on the OS name cause Solaris versions up through 9 to not be properly recognized in the thread-system configuration setup. This causes our libraries to make the erroneous assumption that valid thread support routines are available on all Solaris systems, rather than just assuming it for Solaris 10 and later. The result is assertion failures like this one reported by Meraj Mohammed and others: Assertion failed: k5int_i->did_run != 0, file krb5_libinit.c, line 63 Thanks to Tom Shaw for noticing the cause of the problem. The bug may be present in the 1.6.x series as well. ticket: 6579 target_version: 1.7.1 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23144 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/aclocal.m4')
-rw-r--r--src/aclocal.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/src/aclocal.m4 b/src/aclocal.m4
index 77ad1660fd..ef4b210f9d 100644
--- a/src/aclocal.m4
+++ b/src/aclocal.m4
@@ -205,7 +205,9 @@ if test "$enable_thread_support" = yes; then
# don't exclude CFLAGS when linking. *sigh*
PTHREAD_CFLAGS="-D_REENTRANT -D_THREAD_SAFE -D_POSIX_C_SOURCE=199506L"
;;
+changequote(<<,>>)
solaris2.[1-9])
+changequote([,])
# On Solaris 10 with gcc 3.4.3, the autoconf archive macro doesn't
# get the right result. XXX What about Solaris 9 and earlier?
if test "$GCC" = yes ; then