https://github.com/python/cpython/commit/3095d026424f11714f0b7a828c61dc741d4e716b
commit: 3095d026424f11714f0b7a828c61dc741d4e716b
branch: main
author: Erlend E. Aasland <[email protected]>
committer: erlend-aasland <[email protected]>
date: 2024-04-13T21:22:06Z
summary:

gh-96398: Fix mpicc check in configure.ac (#117857)

files:
M configure
M configure.ac

diff --git a/configure b/configure
index 799c9e98dc599b..11bdd861d8ec37 100755
--- a/configure
+++ b/configure
@@ -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
diff --git a/configure.ac b/configure.ac
index 6769ab2bfe1e59..285ba0fdfeefad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to