mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
b0a495c7d0
re: PR https://github.com/Unidata/netcdf-c/pull/2139 re: PR https://github.com/Unidata/netcdf-c/pull/2169 re: PR https://github.com/Unidata/netcdf-c/pull/2146 re: Issue https://github.com/Unidata/netcdf-c/issues/2119 Found the product tinyxml2 at https://github.com/leethomason/tinyxml2.git and replaced ezxml with it. Tinyxml2 is about twice the LOC of ezxml, but at least is it still being maintained, and I can use it out of the box. It is C++ rather than C, but we seem to have reached the point that we can include C++ code with only minor compile flag changes. Untested on Mac OS. Added instructions to the end of libncxml/Makefile.am on how to upgrade to a later version of tinyxml2. This PR obsoletes the use of ezxml (re PRs https://github.com/Unidata/netcdf-c/pull/2146 and https://github.com/Unidata/netcdf-c/issue/2119).
25 lines
592 B
Plaintext
25 lines
592 B
Plaintext
# This is part of the netCDF package.
|
|
# Copyright 2018 University Corporation for Atmospheric Research/Unidata
|
|
# See COPYRIGHT file for conditions of use.
|
|
#
|
|
# Assemble the CPPFLAGS and LDFLAGS that point to all the needed
|
|
# libraries for netCDF-4.
|
|
#
|
|
|
|
AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include
|
|
AM_LDFLAGS =
|
|
|
|
if USE_DAP
|
|
AM_CPPFLAGS += -I${top_srcdir}/oc2
|
|
endif
|
|
|
|
if ENABLE_S3_SDK
|
|
AM_LDFLAGS += -lstdc++
|
|
endif
|
|
if ! ENABLE_LIBXML2
|
|
# => tinyxml2
|
|
AM_LDFLAGS += -lstdc++
|
|
endif
|
|
|
|
AM_TESTS_ENVIRONMENT = export TOPSRCDIR=${abs_top_srcdir}; export TOPBUILDDIR=${abs_top_builddir};
|