From 712bf9b0cc4ed34f4bf33b437f8b0e45853b93ce Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 6 Nov 2001 02:45:46 +0000 Subject: [PATCH] 1105. [port] OpenUNIX 8 enable threads by default. [RT #1970] --- CHANGES | 2 ++ configure.in | 13 ++++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 8fe616e60a..1f473e0397 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ +1105. [port] OpenUNIX 8 enable threads by default. [RT #1970] + 1104. [bug] Invalid arguments to the transfer-format option could cause an assertion failure. [RT #1995] diff --git a/configure.in b/configure.in index b1ca9bf803..502ba94352 100644 --- a/configure.in +++ b/configure.in @@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl esyscmd([sed "s/^/# /" COPYRIGHT])dnl AC_DIVERT_POP()dnl -AC_REVISION($Revision: 1.309 $) +AC_REVISION($Revision: 1.310 $) AC_INIT(lib/dns/name.c) AC_PREREQ(2.13) @@ -469,9 +469,12 @@ case $host in use_threads=true ;; *-sgi-irix*) use_threads=true ;; -*-sco-sysv*uw*|*-*-sysv*UnixWare*|*-*-sysv*OpenUNIX*) +*-sco-sysv*uw*|*-*-sysv*UnixWare*) # UnixWare use_threads=false ;; +*-*-sysv*OpenUNIX*) + # UnixWare + use_threads=true ;; *-netbsd*) # Socket I/O optimizations introduced in 9.2 expose a # bug in unproven-pthreads; see PR #12650 @@ -671,10 +674,14 @@ then *-ibm-aix*) STD_CDEFINES="$STD_CDEFINES -D_THREAD_SAFE" ;; - *-sco-sysv*uw*|*-*-sysv*UnixWare*|*-*-sysv*OpenUNIX*) + *-sco-sysv*uw*|*-*-sysv*UnixWare*) CC="$CC -Kthread" CCOPT="$CCOPT -Kthread" ;; + *-*-sysv*OpenUNIX*) + CC="$CC -Kpthread" + CCOPT="$CCOPT -Kpthread" + ;; esac fi ALWAYS_DEFINES="-D_REENTRANT"