From: Jarkko Hietaniemi Date: Tue, 12 Feb 2002 17:16:20 +0000 (+0000) Subject: (retracted by #14662) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2a421fdbf642d8802eb47592c9ed1f5013a62e2b;p=p5sagit%2Fp5-mst-13.2.git (retracted by #14662) p4raw-id: //depot/perl@14661 --- diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index f89842a..bf8f422 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -342,6 +342,9 @@ cat > UU/usethreads.cbu <<'EOCBU' # after it has prompted the user for whether to use threads. case "$usethreads" in $define|true|[yY]*) + case "$ccflags" in + *_REENTRANT*) ;; # Already been here, I presume. + *) ccflags="-D_REENTRANT $ccflags" # sched_yield is in -lposix4 up to Solaris 2.6, in -lrt starting with Solaris 2.7 @@ -385,7 +388,9 @@ for more information. EOM fi - ;; + ;; + esac + ;; esac EOCBU