From a553c3444a464c7ad659d2dfcdb9091b69b4dea2 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Wed, 24 May 2006 10:56:47 +0000 Subject: [PATCH] This has bugged me for a long time: make the "want libltdl" output like the rest of the output (i.e., "yes" / "no" vs. "1" / "0"). This commit was SVN r10039. --- ompi/tools/ompi_info/param.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ompi/tools/ompi_info/param.cc b/ompi/tools/ompi_info/param.cc index 4f422d1fce..1db4cb8035 100644 --- a/ompi/tools/ompi_info/param.cc +++ b/ompi/tools/ompi_info/param.cc @@ -346,6 +346,7 @@ void ompi_info::do_config(bool want_all) const string paramcheck(0 == MPI_PARAM_CHECK ? "never" : 1 == MPI_PARAM_CHECK ? "always" : "runtime"); string threads; + const string want_libltdl(OMPI_WANT_LIBLTDL ? "yes" : "no"); if (OMPI_HAVE_SOLARIS_THREADS || OMPI_HAVE_POSIX_THREADS) { threads = OMPI_HAVE_SOLARIS_THREADS ? "solaris" : @@ -574,5 +575,5 @@ void ompi_info::do_config(bool want_all) out("MPI parameter check", "option:mpi-param-check", paramcheck); out("Memory profiling support", "option:mem-profile", memprofile); out("Memory debugging support", "option:mem-debug", memdebug); - out("libltdl support", "option:dlopen", OMPI_WANT_LIBLTDL); + out("libltdl support", "option:dlopen", want_libltdl); }