Re: config.h outdated

Patrice Dumas <[email protected]>
Newsgroups gmane.comp.tex.texinfo.bugs
Message-ID <[email protected]>
On Sun, Jan 18, 2026 at 12:04:25PM +0000, Gavin Smith wrote:
> Thanks.  I moved config.h to the top-level directory (i.e. tta/, which
> has its own configure.ac).  I'd rather config.h.in be updated automatically,
> as there is more than one person committing to the repository and it wouldn't
> be obvious what had had happened when the build breaks in strange ways (as
> in this case) and running "make distclean" would be required.

I think that in tta/C/Makefile.am, the following line was there to find
config.h:

  AM_CPPFLAGS = -I$(srcdir)


I had a look at the build flags to understand how config.h was found,
and I think that it is because in DEFAULT_INCLUDES there is
-I$(top_builddir).  I do not know if it is something we should rely on,
in which case we could replace by

  AM_CPPFLAGS =

or if we want to to add ourselves, like

  AM_CPPFLAGS = -I$(srcdir)/..

-- 
Pat
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.