gpgconf: Take care of --homedir when reading/updating options.
* tools/gpgconf-comp.c (gpg_agent_runtime_change): Remove unused var. (scdaemon_runtime_change): Ditto. (dirmngr_runtime_change): Ditto. (gc_component_check_options): Pass --homedir if needed. (retrieve_options_from_program): Take care of --homedir.
This is related to bug 4882 but different due all the code changes.
This is a backport from master (2.3).
- GnuPG-bug-id: T4882
- Signed-off-by: Werner Koch <wk@gnupg.org>