[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] Re: Relicense exit.h under LGPL?
From: |
Simon Josefsson |
Subject: |
[Bug-gnulib] Re: Relicense exit.h under LGPL? |
Date: |
Mon, 04 Oct 2004 16:01:40 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
Simon Josefsson <address@hidden> writes:
> I have the same problem in GnuTLS too. I think the proper solution is
> to fix gnulib-tool --import, to support several gnulib instantiations
> from the same configure.ac. Something like:
>
> gl_MODULES(strdup xalloc, lgl/, lgl/m4/, LGPL)
> gl_MODULES(error progname, gl/, gl/m4/)
Sigh, I liked this idea, but it wouldn't work. The reason is that
many gnulib modules use AC_REPLACE_FUNCS, so you can't have more than
one directory that use @LTLIBOBJS@ without adding the same file to
every such directory. The AC_REPLACE_FUNCS interface is inflexible,
IMHO.
Having two configure.ac is a solution, but for libidn, where the
library consists of maybe 10 files, and the command line tool maybe 3
files, it seem rather wasteful. Running two configure.ac is really
slow, and causes other problems as well (like generating two config.h
files -- sometimes you need settings from two config.h...).
Ideas appreciated,
Simon