mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[svn-r9836] Purpose:
Bug fix Description: Fix detection of C++ compiler version number. Platforms tested: Solaris 2.7 (arabica) w/C++ Solaris 2.8 (sol) w/C++ Does not require h5committest
This commit is contained in:
parent
a067f22345
commit
7b10edb121
@ -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.`
|
||||
|
Loading…
Reference in New Issue
Block a user