Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
8fee850f
Commit
8fee850f
authored
May 17, 2017
by
Uwe Schulzweida
Browse files
configure.ac: check pgc++ compiler version.
parent
c0e1541c
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure
View file @
8fee850f
...
...
@@ -17687,7 +17687,7 @@ done
# Check compiler version
case "$CXX" in
pgc
c
*) 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
pgc
c
*) 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`;;
...
...
configure.ac
View file @
8fee850f
...
...
@@ -82,7 +82,7 @@ AC_CHECK_FUNCS(gethostname)
# Check compiler version
case "$CXX" in
pgc
c
*) 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
pgc
c
*) 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`;;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment