summaryrefslogtreecommitdiff
path: root/hints/freebsd.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-01-09 16:17:13 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-01-09 16:17:13 +0000
commitb691c02f8c79b7bac4a606da95849c0c7bcae239 (patch)
tree58e1c96422c191363218ef456d5221d698bafbdf /hints/freebsd.sh
parent11b8faa4b88ddb655238bb84b542f78345a7d7bb (diff)
downloadperl-b691c02f8c79b7bac4a606da95849c0c7bcae239.tar.gz
Move usethreads and use64bits logic from hints to Configure.
p4raw-id: //depot/cfgperl@2592
Diffstat (limited to 'hints/freebsd.sh')
-rw-r--r--hints/freebsd.sh36
1 files changed, 0 insertions, 36 deletions
diff --git a/hints/freebsd.sh b/hints/freebsd.sh
index 65ea8c5453..d6384628e7 100644
--- a/hints/freebsd.sh
+++ b/hints/freebsd.sh
@@ -130,42 +130,6 @@ problem. Try
EOM
-# XXX EXPERIMENTAL A.D. 03/09/1998
-# XXX This script UU/usethreads.cbu will get 'called-back' by Configure
-# XXX after it has prompted the user for whether to use threads.
-cat > UU/usethreads.cbu <<'EOSH'
-case "$usethreads" in
-$define)
- case "$osvers" in
- 3.0*) ldflags="-pthread $ldflags"
- ;;
- 2.2*) if [ ! -r /usr/lib/libc_r ]; then
- cat <<'EOM' >&4
-POSIX threads are not supported by default on FreeBSD $uname_r. Follow the
-instructions in 'man pthread' to build and install the needed libraries.
-EOM
- exit 1
- fi
- set `echo X "$libswanted "| sed -e 's/ c / c_r /'`
- shift
- libswanted="$*"
- # Configure will probably pick the wrong libc to use for nm
- # scan.
- # The safest quick-fix is just to not use nm at all.
- usenm=false
- ;;
- *) cat <<'EOM' >&4
-It is not known if FreeBSD $uname_r supports POSIX threads or not. Consider
-upgrading to the latest STABLE release.
-EOM
- exit 1
- ;;
- esac
- ;;
-esac
-EOSH
-# XXX EXPERIMENTAL --end of call-back
-
# From: Anton Berezin <tobez@plab.ku.dk>
# To: perl5-porters@perl.org
# Subject: [PATCH 5.005_54] Configure - hints/freebsd.sh signal handler type