Mercurial > hg > octave-nkf > gnulib-hg
comparison gnulib-tool @ 6464:d4112cb80f32
Accept GPLed build tool modules when --lgpl is given.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 02 Dec 2005 13:37:34 +0000 |
parents | 1a35941d29ab |
children | f8abe8d41137 |
comparison
equal
deleted
inserted
replaced
6463:e0434cf9e69d | 6464:d4112cb80f32 |
---|---|
20 # This program is meant for authors or maintainers which want to import | 20 # This program is meant for authors or maintainers which want to import |
21 # modules from gnulib into their packages. | 21 # modules from gnulib into their packages. |
22 | 22 |
23 progname=$0 | 23 progname=$0 |
24 package=gnulib | 24 package=gnulib |
25 cvsdatestamp='$Date: 2005-11-04 18:25:19 $' | 25 cvsdatestamp='$Date: 2005-12-02 13:37:34 $' |
26 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'` | 26 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'` |
27 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'` | 27 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'` |
28 | 28 |
29 # You can set AUTOCONFPATH to empty if autoconf 2.57 is already in your PATH. | 29 # You can set AUTOCONFPATH to empty if autoconf 2.57 is already in your PATH. |
30 AUTOCONFPATH= | 30 AUTOCONFPATH= |
936 # If --lgpl, check the license of modules are compatible. | 936 # If --lgpl, check the license of modules are compatible. |
937 if test -n "$lgpl"; then | 937 if test -n "$lgpl"; then |
938 for module in $modules; do | 938 for module in $modules; do |
939 license=`func_get_license $module` | 939 license=`func_get_license $module` |
940 case $license in | 940 case $license in |
941 LGPL | 'public domain' | 'unlimited') ;; | 941 LGPL | 'GPLed build tool' | 'public domain' | 'unlimited') ;; |
942 *) func_fatal_error "incompatible license on module $module: $license" ;; | 942 *) func_fatal_error "incompatible license on module $module: $license" ;; |
943 esac | 943 esac |
944 done | 944 done |
945 fi | 945 fi |
946 | 946 |