summaryrefslogtreecommitdiffstats
path: root/config/solaris2.x
diff options
context:
space:
mode:
Diffstat (limited to 'config/solaris2.x')
-rw-r--r--config/solaris2.x6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/solaris2.x b/config/solaris2.x
index cea71bd..08bda66 100644
--- a/config/solaris2.x
+++ b/config/solaris2.x
@@ -116,7 +116,7 @@ fi
case $CC in
*cc*)
cc_version_info=`$CC $CFLAGS $H5_CFLAGS -V 2>&1 | grep 'Sun' |\
- sed 's/.*\(Sun.*\)/\1 /'`
+ sed 's/.*\(Sun .*\)/\1 /'`
;;
*)
@@ -129,7 +129,7 @@ case $FC in
# The PGI and Intel compilers are automatically detected below
*f90*)
fc_version_info=`$FC $FCFLAGS $H5_FCFLAGS -V 2>&1 | grep 'Sun' |\
- sed 's/.*\(Sun.*\)/\1 /'`
+ sed 's/.*\(Sun .*\)/\1 /'`
;;
*)
@@ -142,7 +142,7 @@ echo "Fortran compiler '$FC' is $fc_version_info"
case $CXX in
*CC*)
cxx_version_info=`$CXX $CXXFLAGS $H5_CXXFLAGS -V 2>&1 | grep 'Sun' |\
- sed 's/.*\(Sun.*\)/\1 /'`
+ sed 's/.*\(Sun .*\)/\1 /'`
;;
*)