I wanted to add the Gnulib closeout module to Hello. So I ran gnulib-tool --import closeout
It seemed to run fine (importing lots of other modules as dependencies), however, closeout.c did not get added to the gnulib Makefile.am (or Makefile.in or Makefile), apparently because gl_CLOSEOUT from closeout.m4 is not being invoked -- although closeout is recorded in the gl_MODULES list in gnulib-cache.m4 and is in gl_INIT in gnulib-comp.m4. Seems likely it's because aclocal.m4 asks for gnulib/m4/gnulib.m4 (gnulib/m4 is my m4-base), and the gl_INIT in gnulib.m4 only has gl_GETOPT from my initial gnulib-tool invocation (months ago), without gl_CLOSEOUT. (I see no reference to gnulib-comp or -cache anywhere.) I tried rerunning aclocal/automake/autoconf/configure/make/etc. Several times, to no avail. Before I dig deeper, I thought I'd ask and see if I was doing something obviously wrong. How is this is supposed to work? Here's the full invocation as recorded by gnulib-tool, FWIW: # Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib/lib --m4-base=gnulib/m4 --doc-base=doc --aux-dir=build-aux --macro-prefix=gl closeout gettext The sources as I have them are in savannah CVS: http://savannah.gnu.org/projects/hello (This was the last thing I wanted to do before finally starting a release cycle for Hello.) Thanks, karl
