+2007-07-13 Bruno Haible <bruno@clisp.org>
+
+ * gnulib-tool (func_import): Treat LGPLv2 as synonymous to LGPL.
+ (func_create_testdir): Handle copying terms "GPLv2+" and "LGPLv2+".
+
2007-07-12 Bruno Haible <bruno@clisp.org>
* doc/gnulib-intro.texi (Copyright): Clarify the license abbreviations
progname=$0
package=gnulib
-cvsdatestamp='$Date: 2007-07-10 12:25:38 $'
+cvsdatestamp='$Date: 2007-07-13 01:17:00 $'
last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
nl='
for module in $modules; do
license=`func_get_license $module`
case $license in
- LGPL | 'GPLed build tool') ;;
+ LGPL | LGPLv2+ | 'GPLed build tool') ;;
'public domain' | 'unlimited' | 'unmodifiable license text') ;;
*) func_fatal_error "incompatible license on module $module: $license" ;;
esac
func_modules_transitive_closure
for module in $modules; do
license=`func_get_license "$module"`
- case $license in
- LGPL | 'GPLed build tool') ;;
+ case "$license" in
+ 'GPLed build tool') ;;
'public domain' | 'unlimited' | 'unmodifiable license text') ;;
- *) echo "warning: module $requested_module depends on a module with an incompatible license: $module" 1>&2 ;;
+ *)
+ case "$requested_license" in
+ GPLv2+)
+ case "$license" in
+ GPLv2+ | LGPLv2+) ;;
+ *) echo "warning: module $requested_module depends on a module with an incompatible license: $module" 1>&2 ;;
+ esac
+ ;;
+ LGPL)
+ case "$license" in
+ LGPL | LGPLv2+) ;;
+ *) echo "warning: module $requested_module depends on a module with an incompatible license: $module" 1>&2 ;;
+ esac
+ ;;
+ LGPLv2+)
+ case "$license" in
+ LGPLv2+) ;;
+ *) echo "warning: module $requested_module depends on a module with an incompatible license: $module" 1>&2 ;;
+ esac
+ ;;
+ esac
+ ;;
esac
done
fi