summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/solaris2.x2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/solaris2.x b/config/solaris2.x
index 1cf1505..760ce6f 100644
--- a/config/solaris2.x
+++ b/config/solaris2.x
@@ -80,7 +80,7 @@ fi
#. $srcdir/config/gnu-flags
cxx_version="`$CXX -V 2>&1 |grep 'WorkShop' |\
- sed 's/.*WorkShop.*C\+\+ \([0-9\.]*\).*/\1/'`"
+ sed 's/.*WorkShop.*C++ \([0-9\.]*\).*/\1/'`"
cxx_vers_major=`echo $cxx_version | cut -f1 -d.`
cxx_vers_minor=`echo $cxx_version | cut -f2 -d.`