This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Sun c99 ccversion.
authorJarkko Hietaniemi <jhi@iki.fi>
Tue, 5 Aug 2014 14:42:41 +0000 (10:42 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 5 Aug 2014 16:42:39 +0000 (12:42 -0400)
hints/solaris_2.sh

index 8dd2ce0..5266020 100644 (file)
@@ -340,7 +340,7 @@ EOM
        if $tryworkshopcc >/dev/null 2>&1; then
                cc_name=`$run ./try`
                if test "$cc_name" = "workshop"; then
-                       ccversion="`${cc:-cc} -V 2>&1|sed -n -e '1s/^[Cc][Cc]: //p'`"
+                       ccversion="`${cc:-cc} -V 2>&1|sed -n -e '1s/^[Cc][Cc9]9*: //p'`"
                fi
                if test "$cc_name" = "workshop CC"; then
                        ccversion="`${cc:-CC} -V 2>&1|sed -n -e '1s/^[Cc][C]: //p'`"