Reversed the order of mpicxx and mpiCC so that the "right" compilers get chosen

on both the mac and 'zeus'.
This commit is contained in:
falgout 2007-12-12 23:58:10 +00:00
parent c9d3b725b7
commit 2094ea31f0
2 changed files with 2 additions and 2 deletions

View File

@ -810,7 +810,7 @@ then
then
AC_CHECK_PROGS(CXX, [xlC xlc g++ gcc pgCC pgcc icpc icc CC cc KCC kcc], [""])
else
AC_CHECK_PROGS(CXX, [mpxlC mpCC mpicxx mpiCC mpiicpc mpipgCC], [""])
AC_CHECK_PROGS(CXX, [mpxlC mpCC mpiCC mpicxx mpiicpc mpipgCC], [""])
fi
if test "x$CXX" = "x"

2
configure vendored
View File

@ -2918,7 +2918,7 @@ done
test -n "$CXX" || CXX=""""
else
for ac_prog in mpxlC mpCC mpicxx mpiCC mpiicpc mpipgCC
for ac_prog in mpxlC mpCC mpiCC mpicxx mpiicpc mpipgCC
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2