diff options
author | Bruno Haible <bruno@clisp.org> | 2011-05-03 23:32:50 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-05-03 23:38:19 +0200 |
commit | 99659bac7ac6b63b4f2d422df157aa4f582428d7 (patch) | |
tree | 5781874f169bb41d896a60b36a019f28315e4e53 /modules/mkostemp | |
parent | cc9b4bafbc4d712a483ce5b5b336ad80183edce3 (diff) | |
download | gnulib-99659bac7ac6b63b4f2d422df157aa4f582428d7.tar.gz |
Support for conditional dependencies.
* doc/gnulib.texi (Module description): Document the syntax of
conditional dependencies.
* gnulib-tool: New option --conditional-dependencies.
(func_usage): Document it.
(cond_dependencies): New variable.
(func_get_automake_snippet_conditional,
func_get_automake_snippet_unconditional): New functions, extracted from
func_get_automake_snippet.
(func_get_automake_snippet): Use them.
(sed_first_32_chars): New variable.
(func_module_shellfunc_name): New function.
(func_module_shellvar_name): New function.
(func_module_conditional_name): New function.
(func_uncond_add_module, func_conddep_add_module, func_cond_module_p,
func_cond_module_condition): New functions.
(func_modules_transitive_closure): Add support for conditional
dependencies.
(func_emit_lib_Makefile_am): For a conditional module, enclose the
conditional automake snippet in an automake conditional.
(func_emit_autoconf_snippets): Emit shell functions that contain the
code for conditional modules.
(func_import, func_create_testdir): Update specification.
Diffstat (limited to 'modules/mkostemp')
0 files changed, 0 insertions, 0 deletions