diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-03-15 22:20:06 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-03-15 22:20:06 +0000 |
commit | eea0979600e7fdb254f40db7d04a1728a29d18f7 (patch) | |
tree | 73c7cbb15c69b8e64321604800c517d217b61a4d | |
parent | 521fa0bb891e5ba08b4c7665151d080be4968077 (diff) | |
download | perl-eea0979600e7fdb254f40db7d04a1728a29d18f7.tar.gz |
cater for FreeBSD 5.*
p4raw-id: //depot/cfgperl@5756
-rw-r--r-- | hints/freebsd.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hints/freebsd.sh b/hints/freebsd.sh index 2609261fa6..94d1861412 100644 --- a/hints/freebsd.sh +++ b/hints/freebsd.sh @@ -99,7 +99,7 @@ esac case "$osvers" in 0.*|1.0*) ;; -3.*|4.0*) +3.*|4.*|5.*) objformat=`/usr/bin/objformat` if [ x$objformat = xelf ]; then libpth="/usr/lib /usr/local/lib" @@ -122,8 +122,8 @@ case "$osvers" in esac case "$osvers" in -4.0*) - if /usr/bin/file /usr/lib/libc.so.3 | /usr/bin/grep -vq "not stripped" ; then +4.*|5.*) + if /usr/bin/file -L /usr/lib/libc.so | /usr/bin/grep -vq "not stripped" ; then usenm=false fi esac @@ -173,7 +173,7 @@ case "$usethreads" in $define|true|[yY]*) lc_r=`/sbin/ldconfig -r|grep ':-lc_r'|awk '{print $NF}'|tail -1` case "$osvers" in - 2.2.8*|3.*|4.*) + 2.2.8*|3.*|4.*|5.*) if [ ! -r "$lc_r" ]; then cat <<EOM >&4 POSIX threads should be supported by FreeBSD $osvers -- |