summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure b/configure
index 65210e8..027ef83 100755
--- a/configure
+++ b/configure
@@ -6110,7 +6110,9 @@ then :
else $as_nop
cat > conftest.c <<EOF
-#if defined(__INTEL_COMPILER) || defined(__ICC)
+#if defined(__EMSCRIPTEN__)
+ emcc
+#elif defined(__INTEL_COMPILER) || defined(__ICC)
icc
#elif defined(__ibmxl__) || defined(__xlc__) || defined(__xlC__)
xlc
@@ -6127,6 +6129,9 @@ 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
+ ac_cv_cc_name="mpicc"
+ fi
else
ac_cv_cc_name="unknown"
fi