From bba037efb05960869893b8958a0ac7b9ee2cf3cd Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 23 Oct 2020 20:02:07 -0700 Subject: [PATCH] stop shipping strcasecmp.h The header strcasecmp.h is a portability shim that was introduced in cadb72d6157603338a990be4e27a599c7b96b214. However, no installed Graphviz headers #include this header, so we do not need to install it. It is cleaner not to clutter the shipped Graphviz include directory with an internal shim like this. Note that there is no changelog entry for this change and this is not an API break because there has not yet been a release since this header was added. --- lib/cgraph/CMakeLists.txt | 2 +- lib/cgraph/Makefile.am | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cgraph/CMakeLists.txt b/lib/cgraph/CMakeLists.txt index 8c1d22990..4d188459b 100644 --- a/lib/cgraph/CMakeLists.txt +++ b/lib/cgraph/CMakeLists.txt @@ -56,7 +56,7 @@ install( # Specify headers to be installed install( - FILES cgraph.h strcasecmp.h + FILES cgraph.h DESTINATION ${HEADER_INSTALL_DIR} ) diff --git a/lib/cgraph/Makefile.am b/lib/cgraph/Makefile.am index 0a7527c43..1d229679b 100644 --- a/lib/cgraph/Makefile.am +++ b/lib/cgraph/Makefile.am @@ -8,8 +8,8 @@ pkgconfigdir = $(libdir)/pkgconfig AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_srcdir)/lib/cdt -pkginclude_HEADERS = cgraph.h strcasecmp.h -noinst_HEADERS = agxbuf.h cghdr.h +pkginclude_HEADERS = cgraph.h +noinst_HEADERS = agxbuf.h cghdr.h strcasecmp.h noinst_LTLIBRARIES = libcgraph_C.la lib_LTLIBRARIES = libcgraph.la pkgconfig_DATA = libcgraph.pc -- 2.40.0