[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] Re: gnulib-tool --lgpl
From: |
Simon Josefsson |
Subject: |
[Bug-gnulib] Re: gnulib-tool --lgpl |
Date: |
Wed, 29 Sep 2004 01:56:03 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
Paul Eggert <address@hidden> writes:
> Thanks; I installed that.
Great. I noticed a minor problem, fix below.
I discovered another problem when trying to use it in GnuTLS, because
GnuTLS need both LGPL and GPL modules. I'm not sure how to solve it.
Perhaps gnulib-tool support for a configure.ac content like:
gl_LGPL_SOURCE_BASE(lgl)
gl_LGPL_M4_BASE(lgl/m4)
gl_LGPL_LIB(liblgl)
gl_LGPL_MODULES(strdup dummy)
gl_SOURCE_BASE(gl)
gl_M4_BASE(gl/m4)
gl_LIB(libgl)
gl_MODULES(getopt progname exit error getpass-gnu getaddrinfo)
gl_INIT
I'll see if I can come up with something...
Thanks.
Index: gnulib-tool
===================================================================
RCS file: /cvsroot/gnulib/gnulib/gnulib-tool,v
retrieving revision 1.20
diff -u -p -u -w -r1.20 gnulib-tool
--- gnulib-tool 28 Sep 2004 23:43:38 -0000 1.20
+++ gnulib-tool 28 Sep 2004 23:52:36 -0000
@@ -726,7 +726,7 @@ case $mode in
if test -n "$lgpl"; then
opt_lgpl="--lgpl"
fi
- actioncmd="gnulib-tool --import --dir=$destdir --lib=$libname
--source-base=$sourcebase --m4-base=$m4base $opt_libtool $lgpl `echo $modules`"
+ actioncmd="gnulib-tool --import --dir=$destdir --lib=$libname
--source-base=$sourcebase --m4-base=$m4base $opt_libtool $opt_lgpl `echo
$modules`"
# Create lib/Makefile.am.
echo "Creating $destdir/$sourcebase/Makefile.am..."