Solaris hints tweaks.
Jarkko Hietaniemi [Mon, 20 Nov 2000 15:22:17 +0000 (15:22 +0000)]
p4raw-id: //depot/perl@7775

hints/solaris_2.sh

index 5a17cb3..237efea 100644 (file)
@@ -425,13 +425,21 @@ EOM
                cat >&4 <<EOM
 
 I do not see the 64-bit libc, $libc.
-(You are either in an old sparc or in an x86.)
+(You are either in an old Sparc or in an x86.)
 Cannot continue, aborting.
 
 EOM
                exit 1
            fi 
-           . ./UU/workshoplibpth.cbu
+
+           if test -f UU/workshoplibpth.cbu; then
+               . ./UU/workshoplibpth.cbu
+           else
+               if test -f workshoplibpth.cbu; then
+                       . ./workshoplibpth.cbu
+               fi
+           fi
+
            case "$cc -v 2>/dev/null" in
            *gcc*)
                echo 'main() { return 0; }' > try.c
@@ -439,7 +447,10 @@ EOM
                *"m64 is not supported"*)
                    cat >&4 <<EOM
 
-Full 64-bit build not supported by this gcc configuration.
+Full 64-bit build is not supported by this gcc configuration.
+Check http://gcc.gnu.org/ for the latest news of availability
+of gcc for 64-bit Sparc.
+
 Cannot continue, aborting.
 
 EOM
@@ -485,7 +496,6 @@ case "$use64bitall" in
                fi
        fi
        ;;
-       ;;
 esac
 
 cat > UU/uselongdouble.cbu <<'EOCBU'