diff options
Diffstat (limited to 'hints')
-rw-r--r-- | hints/openbsd.sh | 10 |
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 |