From 701fafe448f81324431c36ba268dfacd83d762d6 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 16 Mar 2024 12:21:35 +0100 Subject: [PATCH] gnulib-tool.py: Don't lose the gl_LGPL value from gnulib-cache.m4. Reported by Simon Josefsson in . * pygnulib/GLConfig.py (GLConfig.default): For the 'lgpl' property, return None, not False. --- ChangeLog | 8 ++++++++ pygnulib/GLConfig.py | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9f54e3dadd..0769f4983e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2024-03-16 Bruno Haible + + gnulib-tool.py: Don't lose the gl_LGPL value from gnulib-cache.m4. + Reported by Simon Josefsson in + . + * pygnulib/GLConfig.py (GLConfig.default): For the 'lgpl' property, + return None, not False. + 2024-03-15 Bruno Haible gnulib-tool.py: Don't lose the gl_LOCAL_DIR value from gnulib-cache.m4. diff --git a/pygnulib/GLConfig.py b/pygnulib/GLConfig.py index ce34de8aec..049fe35a2c 100644 --- a/pygnulib/GLConfig.py +++ b/pygnulib/GLConfig.py @@ -285,10 +285,10 @@ class GLConfig(object): elif key in ['localpath', 'modules', 'avoids', 'tests', 'incl_test_categories', 'excl_test_categories']: return list() - elif key in ['libtool', 'lgpl', 'gnu_make', 'automake_subdir', 'conddeps', 'symbolic', + elif key in ['libtool', 'gnu_make', 'automake_subdir', 'conddeps', 'symbolic', 'lsymbolic', 'libtests', 'dryrun']: return False - elif key == 'vc_files': + elif key in ['lgpl', 'vc_files']: return None elif key == 'errors': return True -- 2.39.5