mirror of https://github.com/python/cpython
gh-96398: Fix mpicc check in configure.ac (#117857)
This commit is contained in:
parent
56ed979d04
commit
3095d02642
|
@ -6129,7 +6129,7 @@ EOF
|
|||
|
||||
if $CPP $CPPFLAGS conftest.c >conftest.out 2>/dev/null; then
|
||||
ac_cv_cc_name=`grep -v '^#' conftest.out | grep -v '^ *$' | tr -d ' '`
|
||||
if $(expr "//$CC" : '.*/\(.*\)') = "mpicc"; then
|
||||
if test $(expr "//$CC" : '.*/\(.*\)') = "mpicc"; then
|
||||
ac_cv_cc_name="mpicc"
|
||||
fi
|
||||
else
|
||||
|
|
|
@ -1011,7 +1011,7 @@ EOF
|
|||
|
||||
if $CPP $CPPFLAGS conftest.c >conftest.out 2>/dev/null; then
|
||||
ac_cv_cc_name=`grep -v '^#' conftest.out | grep -v '^ *$' | tr -d ' '`
|
||||
if $(expr "//$CC" : '.*/\(.*\)') = "mpicc"; then
|
||||
if test $(expr "//$CC" : '.*/\(.*\)') = "mpicc"; then
|
||||
ac_cv_cc_name="mpicc"
|
||||
fi
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue