From f922fcea08e0f2d0a7c2423150787712269eca18 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Tue, 12 Feb 2013 15:24:40 +0000 Subject: [PATCH] Due to this thread: http://www.open-mpi.org/community/lists/users/2013/02/21356.php and a helpful tip from Dave Goodell, set the precious variables for compilers to "no" that we don't want. Libtool's m4 configry will interpret this as "I won't be using this language; don't bother setting it up." This commit was SVN r28047. --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configure.ac b/configure.ac index 3e6608aa60..7f5ec905ea 100644 --- a/configure.ac +++ b/configure.ac @@ -1096,6 +1096,15 @@ if test "x$ompi_cv_c_compiler_vendor" = "xsun"; then solaris_use_stlport4="yes" fi +# Due to this thread: +# http://www.open-mpi.org/community/lists/users/2013/02/21356.php and +# a helpful tip from Dave Goodell, set the precious variables for +# compilers to "no" that we don't want. Libtool's m4 configry will +# interpret this as "I won't be using this language; don't bother +# setting it up." +AS_IF([test "$OMPI_WANT_FORTRAN_BINDINGS" != "1"],[F77=no FC=no]) +AS_IF([test "$WANT_MPI_CXX_SUPPORT" != "1"],[CXX=no]) + dnl Not all versions of LT set the PACKAGE_VERSION m4_ifdef([LT_PACKAGE_VERSION], [], [m4_define([LT_PACKAGE_VERSION], [1.5.22])])