tools: Let watchgnupg determine the socket name via gpgconf.
* tools/watchgnupg.c: Include sys/wait.h. (GNUPG_DEF_COPYRIGHT_LINE): Add a default value for standalone building. (get_logname): New. (main): Use a default socket name and add option --homedir.
This is quite convenient and saves a lot of typing or shell alias
definitions.
- Signed-off-by: Werner Koch <wk@gnupg.org>