From 3d7400b154d094e885d8c85b5ac6f477c6d50b71 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Sun, 28 Jun 2015 13:30:53 -0700 Subject: [PATCH] When building --no-ompi, we don't run setup_cxx and hence sizeof_bool never gets set. So set it in configure.ac so everyone always has it --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 89cc75f5b4e..2dd52a026d0 100644 --- a/configure.ac +++ b/configure.ac @@ -375,6 +375,11 @@ AC_CHECK_TYPES(ptrdiff_t) # Check for type sizes # +# need the C++ language real quick to get the sizeof_bool +AC_LANG_PUSH(C++) +AC_CHECK_SIZEOF(bool) +AC_LANG_POP(C++) + AC_CHECK_SIZEOF(char) AC_CHECK_SIZEOF(short) AC_CHECK_SIZEOF(int)