On 29 March 2017 at 13:38, Reuben Thomas <[email protected]> wrote: > > On 29 March 2017 at 13:32, Reuben Thomas <[email protected]> wrote: > >> >> >> I cannot see how relocatable.c is treated specially (i.e. included >> directly, as it needs to be, rather than just via libgnu.la). >> m4/relocatable-lib.m4 doesn't seem to mention it, and >> modules/relocatable-lib-lgpl doesn't seem to do anything special with the >> relocatable.[ch] files, just mentions them as deps. >> > > OK, this happens by means of AC_LIBOBJ([relocatable]) in configure.ac, > as mandated by the relocatable documentation. >
Further, neither gettext nor hello calls AC_LIBOBJ in configure.ac. I can find some code that parses the Makefile include lines in /usr/share/aclocal-1.15/depend.m4, but I can't find where they are generated (looking in automake, aclocal and autoconf). I'm now just floundering around in the sources without a very clear idea, a long way from any documentation, so I shall back up and try to create a minimal failing example. -- http://rrt.sc3d.org
