Hi Bruno,

On Mon, Oct 4, 2010 at 12:55 PM, Bruno Haible <[email protected]> wrote:
> $ for m in `./posix-modules` ; do ./gnulib-tool --extract-link-directive $m ; 
> done
[...]
> $(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise

It seems that ``--extract-link-directive'' thinks it is sending output
to a human.
Obviously, I can parse this output, but if it presumes a human reader,
someone could change the output in unpredictable ways.

Perhaps pay attention to "--libtool" and "--no-libtool" for it?
Such that this works for my purpose:

for m in $(posix-modules)
do gnulib-tool --libtool --extract-link-directive $m
done > libadd-list

It should also not be necessary to remove empty lines.

Reply via email to