[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnulib-tool-py] regex: gl_LGPL in comparison
From: |
Bruno Haible |
Subject: |
Re: [gnulib-tool-py] regex: gl_LGPL in comparison |
Date: |
Fri, 18 May 2012 01:36:54 +0200 |
User-agent: |
KMail/4.7.4 (Linux/3.1.10-1.9-desktop; KDE/4.7.4; x86_64; ; ) |
Hi Dmitriy,
> Looking through the code of gnulib-tool, I've found that there is an
> interesting part of regex (lines 4200-4204):
>
> /gl_LGPL(/ {
> s,^.*gl_LGPL([[ ]*\([^]"$`\\)]*\).*$,cached_lgpl="\1",p
> }
> /gl_LGPL/ {
> s,^.*$,cached_lgpl=yes,p
>
> Why we don't have the same two lines for some other variables, e.g., for
> gl_LIBTOOL?
While the presence of gl_LIBTOOL is a boolean:
--libtool Use libtool rules.
--no-libtool Don't use libtool rules.
# - libtool true if --libtool was given, false if --no-libtool was
# given, blank otherwise
the gl_LGPL attribute has more than two possible values:
--lgpl[=2|=3] Abort if modules aren't available under the LGPL.
Also modify license template from GPL to LGPL.
The version number of the LGPL can be specified;
the default is currently LGPLv3.
# - lgpl yes or a number if --lgpl was given, blank otherwise
Bruno