From ef4e65bd2cea4744ea9c9e7119cfe53b3d3f08b4 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Thu, 6 Feb 2014 11:42:34 +0000 Subject: [PATCH] Very small configure.ac reorganization: * Move pid_t size check up to be with the other size checks * Move the MPI profiling setup to be below the Java setup This commit was SVN r30574. --- configure.ac | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/configure.ac b/configure.ac index 950f961410..6047fb5479 100644 --- a/configure.ac +++ b/configure.ac @@ -407,6 +407,8 @@ if test "$ac_cv_type_ptrdiff_t" = yes; then fi AC_CHECK_SIZEOF(wchar_t) +AC_CHECK_SIZEOF(pid_t) + # # Check for type alignments @@ -537,15 +539,6 @@ fi OPAL_CHECK_OFFSETOF -# Setup OMPI bindings (if we're building the OMPI project). Note that -# opal_wrapper.c has a hard-coded use of the OMPI_ENABLE_MPI_PROFILING -# macro, so we need to define it (to 0) even if we're not building the -# OMPI project. - -m4_ifdef([project_ompi], [OMPI_SETUP_MPI_PROFILING], - [AC_DEFINE([OMPI_ENABLE_MPI_PROFILING], [0], - [We are not building OMPI, so no profiling])]) - ################################## # C++ compiler characteristics @@ -578,6 +571,21 @@ OPAL_CHECK_COMPILER_VERSION_ID # Only needed for OMPI m4_ifdef([project_ompi], [OMPI_SETUP_JAVA_BINDINGS]) + +################################## +# MPI API profiling layer +################################## + +# Setup OMPI bindings (if we're building the OMPI project). Note that +# opal_wrapper.c has a hard-coded use of the OMPI_ENABLE_MPI_PROFILING +# macro, so we need to define it (to 0) even if we're not building the +# OMPI project. + +m4_ifdef([project_ompi], [OMPI_SETUP_MPI_PROFILING], + [AC_DEFINE([OMPI_ENABLE_MPI_PROFILING], [0], + [We are not building OMPI, so no profiling])]) + + ################################## # Assembler Configuration ################################## @@ -694,9 +702,6 @@ AC_CACHE_SAVE ompi_show_title "Type tests" -# Size of pid_t -AC_CHECK_SIZEOF(pid_t) - AC_CHECK_TYPES([socklen_t, struct sockaddr_in, struct sockaddr_in6, struct sockaddr_storage], [], [], [AC_INCLUDES_DEFAULT