Simon Josefsson wrote:
> I have tried variations of this before, but always ran into some
> problem, e.g., the GPL module AC_REQUIRE some LGPL module that runs
> AC_LIBOBJ or similar that fails in a split setup.

That would be a bug in gnulib: An AC_REQUIREd macro is allowed only to
set variables which don't depend on ${macro_prefix_arg}. It is not allowed
to do AC_LIBOBJ.

But a module dependency from a GPL module to an LGPL module is allowed.
To avoid it (this is useful if both directories produce a shared library),
you have to use --avoid for the modules which you know are being linked in
from the LGPLed directory.

Bruno



Reply via email to