summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-02-12 17:16:20 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-02-12 17:16:20 +0000
commit2a421fdbf642d8802eb47592c9ed1f5013a62e2b (patch)
treef4986ce2742a1297e00e6bddc60f6fb67d70c01d /hints
parentc638b697499e3d6f006463304b34efb0ca2bfa95 (diff)
downloadperl-2a421fdbf642d8802eb47592c9ed1f5013a62e2b.tar.gz
(retracted by #14662)
p4raw-id: //depot/perl@14661
Diffstat (limited to 'hints')
-rw-r--r--hints/solaris_2.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index f89842a646..bf8f422a2b 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