Commit 8fee850f authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

configure.ac: check pgc++ compiler version.

parent c0e1541c
......@@ -17687,7 +17687,7 @@ done
 
# Check compiler version
case "$CXX" in
pgcc*) CXX_VERSION=`$CXX -V | head -2 | tail -n 1`;;
pgc*) CXX_VERSION=`$CXX -V | head -2 | tail -n 1`;;
*gcc*) CXX_VERSION=`$CXX --version | head -n 1`;;
g++*) CXX_VERSION=`$CXX --version | head -n 1`;;
clang*) CXX_VERSION=`$CXX --version | head -n 1`;;
......@@ -17698,7 +17698,7 @@ case "$CXX" in
esac
 
case "$CC" in
pgcc*) C_VERSION=`$CC -V | head -2 | tail -n 1`;;
pgc*) C_VERSION=`$CC -V | head -2 | tail -n 1`;;
*gcc*) C_VERSION=`$CC --version | head -n 1`;;
g++*) C_VERSION=`$CC --version | head -n 1`;;
clang*) C_VERSION=`$CC --version | head -n 1`;;
......
......@@ -82,7 +82,7 @@ AC_CHECK_FUNCS(gethostname)
# Check compiler version
case "$CXX" in
pgcc*) CXX_VERSION=`$CXX -V | head -2 | tail -n 1`;;
pgc*) CXX_VERSION=`$CXX -V | head -2 | tail -n 1`;;
*gcc*) CXX_VERSION=`$CXX --version | head -n 1`;;
g++*) CXX_VERSION=`$CXX --version | head -n 1`;;
clang*) CXX_VERSION=`$CXX --version | head -n 1`;;
......@@ -93,7 +93,7 @@ case "$CXX" in
esac
case "$CC" in
pgcc*) C_VERSION=`$CC -V | head -2 | tail -n 1`;;
pgc*) C_VERSION=`$CC -V | head -2 | tail -n 1`;;
*gcc*) C_VERSION=`$CC --version | head -n 1`;;
g++*) C_VERSION=`$CC --version | head -n 1`;;
clang*) C_VERSION=`$CC --version | head -n 1`;;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment