diff options
author | Gary V. Vaughan <gary@gnu.org> | 2011-11-16 12:43:53 +0700 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2011-11-16 12:43:53 +0700 |
commit | de4c35b8109cd06aae1e1b125dbbbca397111fd0 (patch) | |
tree | 0902a8acb9e45c7ebae1dcc40597a3099982708f /gnulib | |
parent | a5ef08182ce0fb80b8adcff5872f190afd915908 (diff) | |
download | libtool-de4c35b8109cd06aae1e1b125dbbbca397111fd0.tar.gz |
options-parser: provide a saner pluggable API.
It's much too easy to forget that the functions you hook into
the option parser need to return unconsumed options in the
variable `func_run_hooks_result'; better to follow the
convention used in the rest of bootstrap and return results in a
variable named after the function with `_result' appended.
* libltdl/config/options-parser (func_run_hooks): implement this
new API.
(Option parsing): Update the example in the header comment for
this section to reflect the changes.
* bootstrap (bootstrap_options_prep, bootstrap_parse_options)
(bootstrap_validate_options): Adjust.
* bootstrap.conf (libtool_options_prep, libtool_parse_options)
(libtool_validate_options): Ditto.
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Diffstat (limited to 'gnulib')
0 files changed, 0 insertions, 0 deletions