From 85edfb8279ae6b6f34f6228843f6372d9d7ca1dc Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Mon, 17 Aug 2020 07:46:01 -0600 Subject: [PATCH] removed more unneeded pre-processor stuff --- configure.ac | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index 1b5e7e4b720..da60e1afe21 100644 --- a/configure.ac +++ b/configure.ac @@ -117,6 +117,7 @@ test "x$enable_timing" = xyes || enable_timing=no AC_MSG_RESULT([$enable_timing]) if test "x$enable_timing" = xyes; then AC_DEFINE([TIMING], 1, [If true, use GPTL timing library.]) + AC_DEFINE([HAVE_MPI], [1], [required by GPTL timing library]) fi AM_CONDITIONAL(USE_GPTL, [test "x$enable_timing" = xyes]) @@ -224,14 +225,6 @@ if test "x$enable_docs" = xyes; then AC_CONFIG_FILES([doc/Doxyfile]) fi -AC_MSG_NOTICE([setting flags]) - -# We must have MPI to build PIO. -AC_DEFINE([HAVE_MPI], [1], [defined by CMake build]) - -# Define to solve intel compiler warning. -AC_DEFINE([_GNU_SOURCE], [1], [solve strnlen declared implicitly warning on intel compiler]) - AC_MSG_NOTICE([finding libraries]) # Check for netCDF library.