Hi Gary,

> * gnulib-tool (func_emit_lib_Makefile_am): transform hard-coded
> `libgnu.a' in Makefile.am snippets to be either `$libname.a' or
> `$libname.la', depending on whether --libtool/--no-libtool options
> were given.

Here it's clear that we need a way to combine the module description
of 'pt_chown' with information that only gnulib-tool knows. But rather
than having a magic token 'libgnu.a', I would prefer to make it more
extensible. In particular, I would change modules/pt_chown so that it
does
   pt_chown_LDADD = ${gl_libname}.${gl_libext}
and have gnulib-tool recognize the two magic tokens
  ${gl_libname}
  ${gl_libext}

It already replaces ${gl_m4_base} in the configure.ac section of a
module description (albeit through a different mechanism).

And, please, in gnulib code, we don't use tabs any more, except in pieces
of Makefiles and ChangeLog. See the section "Indent with spaces, not TABs"
of gnulib/README.

Bruno

Reply via email to