summaryrefslogtreecommitdiff
path: root/hints/sco.sh
diff options
context:
space:
mode:
author0000-Admin (0000) <root@devsys0.zenez.com>1999-09-21 05:07:46 -0600
committerJarkko Hietaniemi <jhi@iki.fi>1999-09-21 21:08:43 +0000
commit0337d152b9552f2bf363ab0ee8b322eac87f3c9d (patch)
treee7e33c9c50599a9e8119b163063715714d98a384 /hints/sco.sh
parent231ab6d13e7b024930a1ce6bc1ab2943c85287a3 (diff)
downloadperl-0337d152b9552f2bf363ab0ee8b322eac87f3c9d.tar.gz
Reply-To: gerberb@zenez.com
To: perl5-porters@perl.org Subject: [ID 19990921.004] Changes for SCO OpenServer and UnixWare 7 Message-Id: <199909211707.LAA23611@devsys0.zenez.com> (Snipped away the last lines of svr5.sh a la change #3725) p4raw-link: @3725 on //depot/cfgperl: 5cf1d1f16c1401220ecaa7b3127343c7c6c095d2 p4raw-id: //depot/cfgperl@4214
Diffstat (limited to 'hints/sco.sh')
-rw-r--r--hints/sco.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/hints/sco.sh b/hints/sco.sh
index eb598452a1..1c70a4d540 100644
--- a/hints/sco.sh
+++ b/hints/sco.sh
@@ -9,6 +9,8 @@
# Mostly rewritten on
# Tue Jan 19 23:00:00 CET 1999
# by Francois Desarmenien <desar@club-internet.fr>
+# Modified by Boyd Gerber <gerberb@zenez.com>
+# Tue Sep 21 1999
###############################################################
#
# To use cc, use sh Configure
@@ -82,6 +84,7 @@ case `/bin/uname -X | egrep '3\.2v'` in
echo "" >&4
echo "" >&4
echo " For UnixWare, use svr4.sh hints instead" >&4
+ echo " For UnixWare 7.*, use svr5.sh hints instead" >&4
echo "" >&4
echo "***********************************************************" >&4
exit
@@ -102,7 +105,7 @@ if test "$scorls" = "3"
then
dlext=''
case "$cc" in
- gcc) optimize='-O2' ;;
+ *gcc*) optimize='-O2' ;;
*) ccflags="$ccflags -W0 -quiet"
optimize='-O' ;;
esac
@@ -114,7 +117,7 @@ else
###############################################################
# In Release 5, always compile ELF objects
case "$cc" in
- gcc)
+ *gcc*)
ccflags="$ccflags -melf"
optimize='-O2'
;;
@@ -139,7 +142,7 @@ else
if test "$usedl" != "n"; then
ld='ld'
case "$cc" in
- gcc)
+ *gcc*)
ccdlflags='-Xlinker -Bexport -L/usr/local/lib'
cccdlflags='-fpic'
lddlflags='-G -L/usr/local/lib'