From 038b3a7e89de2386f991c9dc6ddbc2b3a83384c9 Mon Sep 17 00:00:00 2001 From: Jim Edwards Date: Tue, 9 Jun 2020 09:20:27 -0600 Subject: [PATCH] Correct -D_PNETCDF flag --- set_flags.am | 2 +- src/flib/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/set_flags.am b/set_flags.am index 438deee610d..08efa30db22 100644 --- a/set_flags.am +++ b/set_flags.am @@ -9,7 +9,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/flib -D_NETCDF # Is the user building with pnetcdf? if BUILD_PNETCDF -AM_CPPFLAGS += -D_PETCDF +AM_CPPFLAGS += -D_PNETCDF endif # Is the user building with netCDF-4 parallel I/O? diff --git a/src/flib/Makefile.am b/src/flib/Makefile.am index 8c23c8033e5..0a7966636f3 100644 --- a/src/flib/Makefile.am +++ b/src/flib/Makefile.am @@ -7,7 +7,7 @@ # The library we are building. lib_LTLIBRARIES = libpiof.la -AM_CPPFLAGS = -D_NETCDF -D_NETCDF4 -D_PETCDF +AM_CPPFLAGS = -D_NETCDF -D_NETCDF4 -D_PNETCDF # These linker flags specify libtool version info. # See http://www.gnu.org/software/libtool/manual/libtool.html#Libtool-versioning