Do not test for GnuPG version and use gpgconf to find it.
* configure.ac: Remove all tests for GPGSM and GPG_CONNECT_AGENT. * src/agent.c (agent_connect): Change to use gpgconf. * src/get-path.c (get_gpg_connect_agent_path): Rename to ... (get_gpgconf_path): this. (get_bindir): New. (get_gpgsm_path): Implement using get_bindir.
gpgconf is the suggested way to test for gnupg and to find properties
of the installation.
- Signed-off-by: Werner Koch <wk@gnupg.org>