hints/freebsd.sh - reflect the birth of version 4.0
Anton Berezin [Thu, 21 Jan 1999 17:07:28 +0000 (18:07 +0100)]
To: perl5-porters@perl.org
Message-ID: <86emood2yn.fsf@lion.plab.ku.dk>

p4raw-id: //depot/cfgperl@2669

hints/freebsd.sh

index 96df283..e341de4 100644 (file)
@@ -99,7 +99,8 @@ esac
 case "$osvers" in
 0.*|1.0*) ;;
 
-3.0*)   objformat=`/usr/bin/objformat`
+3.*|4.0*)
+        objformat=`/usr/bin/objformat`
         if [ x$objformat = xelf ]; then
             libpth="/usr/lib /usr/local/lib"
             glibpth="/usr/lib /usr/local/lib"
@@ -145,7 +146,7 @@ cat > UU/usethreads.cbu <<'EOCBU'
 case "$usethreads" in
 $define|true|[yY]*)
         case "$osvers" in  
-        [34].*) ldflags="-pthread $ldflags"
+        3.*|4.0*) ldflags="-pthread $ldflags"
               ;;
         2.2*) if [ ! -r /usr/lib/libc_r ]; then
               cat <<'EOM' >&4