summaryrefslogtreecommitdiff
path: root/hints/solaris_2.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-09-01 18:17:54 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-09-01 18:17:54 +0000
commit6b356c8efb963846940ef92952cf77e5b86bd65e (patch)
tree82aab24c903fb5c32b16e57ad6f095d823430eec /hints/solaris_2.sh
parent301e812593b886ce092a67093cee831022be6f82 (diff)
downloadperl-6b356c8efb963846940ef92952cf77e5b86bd65e.tar.gz
Rename the PRIElfbl, PRIX64, etc, to be PRIEUfldbl, PRIXU64,
so that case-ignoring systems like DCL can tell them from PRIefldbl and PRIx64. Apply Merijn's ccversion patches. p4raw-id: //depot/perl@6982
Diffstat (limited to 'hints/solaris_2.sh')
-rw-r--r--hints/solaris_2.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index 6809d4cdf9..22a0324ebf 100644
--- a/hints/solaris_2.sh
+++ b/hints/solaris_2.sh
@@ -45,7 +45,11 @@ case "$archname" in
;;
esac
-test -z "`${cc:-cc} -V 2>&1|grep -i workshop`" || ccname=workshop
+ccversion="`${cc:-cc} -V 2>&1|sed 's/^cc: //'`"
+case "$ccversion" in
+*WorkShop*) ccname=workshop ;;
+*) ccversion='' ;;
+esac
cat >UU/workshoplibpth.cbu<<'EOCBU'
case "$workshoplibpth_done" in