Hello, Currently in gnutls we used gnulib for the main library (LGPLv3) and the applications (GPLv3). In the main library we use only modules that are lgpl and the applications use few gpl modules as well. However it is not easy to make sure that only LGPL modules of gnulib are used in the library, thus I'd like to ask if there a recommended way to separate those modules in order to avoid accidental usage of a GPL module in an LGPL library?
btw. --add-import --lgpl=3 reports the GPL modules included in gnutls's gnulib being: gettime,timespec,progrname. However glimpsing the sources I found out that: vasprintf: modules/vasprintf lists LGPLv2+ but vasprintf.c is GPLv2 argp: modules/argp lists LGPL but argp-*.c are GPL opendir: modules/opendir lists LGPL but opendir.c is GPL It seems they're pretty numerous (vfprintf-posix,time_r,strndup,sockets,socket,strcase,mempcpy,sleep and more). What is the actual license of the modules? The one in the file or in modules/ description? regards, Nikos