+2007-10-29 Bruno Haible <bruno@clisp.org>
+
+ * gnulib-tool (func_import): When --lgpl is not specified, set
+ sed_transform_lib_file to convert LGPL and GPLv2+ copyright headers to
+ GPLv3.
+ Reported by Simon Josefsson.
+
2007-10-28 Bruno Haible <bruno@clisp.org>
* lib/math.in.h: Test REPLACE_ISFINITE instead of HAVE_DECL_ISFINITE.
;;
*) func_fatal_error "invalid value lgpl=$lgpl" ;;
esac
+ else
+ # Update license.
+ sed_transform_lib_file=$sed_transform_lib_file'
+ s/GNU Lesser General/GNU General/g
+ s/GNU Library General/GNU General/g
+ s/version \(2\|2\.1\)\([ ,]\)/version 3\2/g
+ '
fi
fi