[tldistro] kpathsea/c-auto.h should be installed

Ken Brown kbrow1i at gmail.com
Tue Mar 14 17:16:56 CET 2017


I build a libkpathsea-devel package for Cygwin, as I'm sure most other 
distro maintainers do.  I just discovered that the current build system 
produces an unusable kpathsea/kpathsea.h header.  That's because the 
latter includes config.h, which includes c-auto.h, which is not installed.

The following patch seems to fix the problem:

--- Build/source/texk/kpathsea/Makefile.am      (revision 43495)
+++ Build/source/texk/kpathsea/Makefile.am      (working copy)
@@ -114,7 +114,7 @@
         kpathsea.h \
         paths.h

-kpseinclude_HEADERS = config.h $(direct_headers) $(indirect_headers)
+kpseinclude_HEADERS = config.h c-auto.h $(direct_headers) 
$(indirect_headers)

  kpselibdir = ${libdir}/kpathsea


It's possible that Makefile.am needs some further tweaks to go along 
with this, but I don't know enough about Automake to be sure.

Ken

P.S.  I discovered this issue while doing a standalone build of dvisvgm. 
  I'm surprised no one else has been bitten by this.


More information about the tldistro mailing list