summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-02-12 12:03:48 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-02-12 12:03:48 +0000
commit619ffc2be66f166b301c5b0d14a8bbba728675bc (patch)
tree39dafaff61f31c383ce4f2ac796283ec2c118e32 /hints
parenta48abc44380b16821695ec705c8c8f3bfb09db6c (diff)
downloadperl-619ffc2be66f166b301c5b0d14a8bbba728675bc.tar.gz
Configure update: OpenBSD thread-awareness, SCO ODT/OSR osvers.
p4raw-id: //depot/cfgperl@2899
Diffstat (limited to 'hints')
-rw-r--r--hints/openbsd.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/hints/openbsd.sh b/hints/openbsd.sh
index 4c98ec8587..e9d8ea483d 100644
--- a/hints/openbsd.sh
+++ b/hints/openbsd.sh
@@ -48,4 +48,14 @@ d_suidsafe='define'
# Allow a command-line override, such as -Doptimize=-g
test "$optimize" || optimize='-O2'
+# 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]*)
+ # any openbsd version dependencies with pthreads?
+ libswanted="$libswanted pthread"
+esac
+EOCBU
+
# end