summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2022-08-10 00:51:59 +0200
committerBruno Haible <bruno@clisp.org>2022-08-10 00:53:44 +0200
commit62fa8fc7b2c9db14d8c24d6ec5beedecb27b4802 (patch)
treea9a6b6b66960a69c00ed74aaca0e18b63d7438a1 /ChangeLog
parentbc3d94bb2df6fa0c766f6226814c2fc2a55ee049 (diff)
downloadgnulib-62fa8fc7b2c9db14d8c24d6ec5beedecb27b4802.tar.gz
gnulib-tool.py: Finish implementing option --conditional-dependencies.
* gnulib-tool.py (main) Accept options --conditional-dependencies, --no-conditional-dependencies. * pygnulib/GLModuleSystem.py (GLModuleTable.addConditional): Use str(module), not module, as key. Fix logic bug. (GLModuleTable.getCondition): Simplify. (GLModuleTable.transitive_closure): Show a warning when there are duplicate dependencies. Fix logic bug. (GLModuleTable.transitive_closure_separately): Simplify. (GLModuleTable.add_dummy): Ignore tests modules. Cope with multiple lib_SOURCES augmentation lines. Cope with comments at the end of a lib_SOURCES augmentation line. Add the dummy module at the end of the modules list. * pygnulib/GLTestDir.py (GLTestDir.execute): Remove the code that forces the dummy module to the end of the list. * pygnulib/GLEmiter.py (GLEmiter.autoconfSnippets): Add code to terminate the shell functions. Add code for the dependencies from the unconditional to the conditional modules. Don't emit AM_CONDITIONAL for unconditional modules.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 642a7363e3..0dfcb7cdd7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,25 @@
2022-08-09 Bruno Haible <bruno@clisp.org>
+ gnulib-tool.py: Finish implementing option --conditional-dependencies.
+ * gnulib-tool.py (main) Accept options --conditional-dependencies,
+ --no-conditional-dependencies.
+ * pygnulib/GLModuleSystem.py (GLModuleTable.addConditional): Use
+ str(module), not module, as key. Fix logic bug.
+ (GLModuleTable.getCondition): Simplify.
+ (GLModuleTable.transitive_closure): Show a warning when there are
+ duplicate dependencies. Fix logic bug.
+ (GLModuleTable.transitive_closure_separately): Simplify.
+ (GLModuleTable.add_dummy): Ignore tests modules. Cope with multiple
+ lib_SOURCES augmentation lines. Cope with comments at the end of a
+ lib_SOURCES augmentation line. Add the dummy module at the end of the
+ modules list.
+ * pygnulib/GLTestDir.py (GLTestDir.execute): Remove the code that forces
+ the dummy module to the end of the list.
+ * pygnulib/GLEmiter.py (GLEmiter.autoconfSnippets): Add code to
+ terminate the shell functions. Add code for the dependencies from the
+ unconditional to the conditional modules. Don't emit AM_CONDITIONAL for
+ unconditional modules.
+
gnulib-tool.py: Don't do license replacements in the autoconf snippets.
* pygnulib/GLEmiter.py (GLEmiter.autoconfSnippet): Remove fileassistant
argument. Don't invoke the 'aux' transformer here. Don't produce Windows