+ # If --lgpl, check the license of modules are compatible.
+ if test -n "$lgpl"; then
+ for module in $modules; do
+ license=`sed -n -e "/^License$sed_extract_prog" < "$gnulib_dir/modules/$module"`
+ if test $license != LGPL; then
+ func_fatal_error \
+ "incompatible license on module \`$module\`: $license"
+ fi
+ done
+ fi
+