]> granicus.if.org Git - graphviz/commitdiff
stop shipping strcasecmp.h
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 24 Oct 2020 03:02:07 +0000 (20:02 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 30 Oct 2020 03:44:39 +0000 (20:44 -0700)
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
lib/cgraph/Makefile.am

index 8c1d22990f2e02ee3a36826db6a3aad8fdb08b06..4d188459b8538154de5a380eaaafe7b749521d46 100644 (file)
@@ -56,7 +56,7 @@ install(
 
 # Specify headers to be installed
 install(
-    FILES cgraph.h strcasecmp.h
+    FILES cgraph.h
     DESTINATION ${HEADER_INSTALL_DIR}
 )
 
index 0a7527c4393d2709cd08d622e279dbec36ab2d33..1d229679b5b0d8788df95a43d249dd06c4fda70b 100644 (file)
@@ -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