diff options
author | Andy Dougherty <doughera@lafcol.lafayette.edu> | 1996-02-28 16:49:33 -0800 |
---|---|---|
committer | Andy Dougherty <doughera@lafcol.lafayette.edu> | 1996-02-28 16:49:33 -0800 |
commit | a5f75d667838e8e7bb037880391f5c44476d33b4 (patch) | |
tree | 5005e888355c1508bc47da697efe119c1615b123 /hints/sco.sh | |
parent | 2920c5d2b358b11ace52104b6944bfa0e89256a7 (diff) | |
download | perl-a5f75d667838e8e7bb037880391f5c44476d33b4.tar.gz |
perl 5.002perl-5.002
[editor's note: changes seem to be mostly module updates,
documentation changes and some perl API macro additions]
Diffstat (limited to 'hints/sco.sh')
-rw-r--r-- | hints/sco.sh | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/hints/sco.sh b/hints/sco.sh index 5e8a6b0939..307e27e4db 100644 --- a/hints/sco.sh +++ b/hints/sco.sh @@ -1,7 +1,19 @@ # sco_3.sh # Courtesy of Joel Rosi-Schwartz <joel@ftechne.co.uk> -# To use gcc, do Configure -Dcc=gcc -# +# Additional SCO version info from +# Peter Wolfe <wolfe@teloseng.com> +# Last revised +# Tue Feb 13 09:09:10 EST 1996 + +# To use gcc, use sh Configure -Dcc=gcc + +# figure out what SCO version we are: +case `uname -X | egrep '^Release'` in +*3.2v4.2) scorls=3 ;; +*3.2v5.*) scorls=5 ;; +*) scorls=3 ;; # this probabaly shouldn't happen +esac + # Try to use libintl.a since it has strcoll and strxfrm libswanted="intl $libswanted" # Try to use libdbm.nfs.a since it has dbmclose. @@ -12,11 +24,11 @@ fi set X $libswanted shift libswanted="$*" -# + # We don't want Xenix cross-development libraries glibpth=`echo $glibpth | sed -e 's! /usr/lib/386 ! !' -e 's! /lib/386 ! !'` xlibpth='' -# + case "$cc" in gcc) ccflags="$ccflags -U M_XENIX" @@ -24,10 +36,12 @@ gcc) ;; scocc) ;; -*) - # Apparently, SCO's cc gives rather verbose warnings +*) # Apparently, SCO's cc gives rather verbose warnings # Set -w0 to turn them off. - ccflags="$ccflags -w0 -U M_XENIX" + case $scorls in + 3) ccflags="$ccflags -W0 -quiet -U M_XENIX" ;; + 5) ccflags="$ccflags -w0 -U M_XENIX" ;; + esac ;; esac i_varargs=undef |