develooper Front page | perl.perl5.porters | Postings from July 2009

Re: any 5.10.1 showstoppers?

Thread Previous | Thread Next
From:
Andy Dougherty
Date:
July 25, 2009 12:44
Subject:
Re: any 5.10.1 showstoppers?
Message ID:
alpine.DEB.2.00.0907251541220.16653@fractal.phys.lafayette.edu
On Sat, 25 Jul 2009, The Doctor wrote:

> For the BSD/OS hints file  , please place
> 
> # This script UU/usethreads.cbu will get 'called-back' by Configure
> # after it has prompted the user for whether to use threads.
> cat > UU/usethreads.cbu <<'EOCBU'
> case "$usethreads" in
> $define|true|[yY]*)
>         case "$osvers" in
>         3.*|4.*)        ccflags="-D_REENTRANT -D_THREAD_SAFE -pthread $ccflags"
>             ;;
>         *)   cat <<EOM >&4  
> 

I assume you mean apply the following patch:

diff --git a/hints/bsdos.sh b/hints/bsdos.sh
index ab56f99..65eaf7f 100644
--- a/hints/bsdos.sh
+++ b/hints/bsdos.sh
@@ -120,7 +120,7 @@ cat > UU/usethreads.cbu <<'EOCBU'
 case "$usethreads" in
 $define|true|[yY]*)
 	case "$osvers" in 
-	3.*|4.*)	ccflags="-D_REENTRANT $ccflags"	
+	3.*|4.*)        ccflags="-D_REENTRANT -D_THREAD_SAFE -pthread $ccflags"
 	    ;;
 	*)   cat <<EOM >&4
 I did not know that BSD/OS $osvers supports POSIX threads.

-- 
    Andy Dougherty		doughera@lafayette.edu

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About