From: Jarkko Hietaniemi Date: Wed, 15 Mar 2000 22:20:06 +0000 (+0000) Subject: cater for FreeBSD 5.* X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=eea0979600e7fdb254f40db7d04a1728a29d18f7;p=p5sagit%2Fp5-mst-13.2.git cater for FreeBSD 5.* p4raw-id: //depot/cfgperl@5756 --- diff --git a/hints/freebsd.sh b/hints/freebsd.sh index 2609261..94d1861 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 <&4 POSIX threads should be supported by FreeBSD $osvers --