From 04fe7fdd9ebc736c5cf6cc18b024d714e64f656e Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 28 Jul 2016 12:18:25 +0200 Subject: [PATCH] configure.ac: - do not ignore CC an CXX --- configure.ac | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 5bbec2a..4d37547 100644 --- a/configure.ac +++ b/configure.ac @@ -112,9 +112,13 @@ AC_ARG_WITH( [VTK_PREFIX=$withval], []) # Determine a C/C++ compiler to use. -CC='' -CXX='' if test "x$ENABLE_PARALLEL" = "xyes"; then + if test "x$MPICC" != "x"; then + CC=$MPICC + fi + if test "x$MPICXX" != "x"; then + CXX=$MPICXX + fi c_compilers="mpicc cc" cxx_compilers="mpic++ CC" else