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

          • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
            • ... Gavin Smith
              • ... Patrice Dumas
              • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
              • ... Gavin Smith
              • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
              • ... Gavin Smith
              • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
              • ... Gavin Smith
              • ... Patrice Dumas
              • ... Gavin Smith
              • ... Patrice Dumas
              • ... Gavin Smith
          • ... Patrice Dumas
            • ... Raymond Toy
  • info... G. Branden Robinson
    • ... G. Branden Robinson
    • ... Gavin Smith
      • ... Gavin Smith
        • ... G. Branden Robinson

Reply via email to