build: New configure option --enable-run-gnupg-user-socket.
authorWerner Koch <wk@gnupg.org>
Tue, 12 Dec 2017 08:42:43 +0000 (09:42 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 12 Dec 2017 08:42:43 +0000 (09:42 +0100)
commit17efcd2a2acdc3b7f00711272aa51e5be2476921
treef8e65ab4f8accc0724c42a83892ff0c6783973f8
parent20b52be9ca29b0bc843fc68a279cb72728ede72f
build: New configure option --enable-run-gnupg-user-socket.

* configure.ac: (USE_RUN_GNUPG_USER_SOCKET): New ac_define.
* common/homedir.c (_gnupg_socketdir_internal): Add extra directories.
--

This allows to build GnuPG with an extra socketdir below /run.  See
https://lists.gnupg.org/pipermail/gnupg-devel/2017-November/033250.html
for a longer explanation why this is sometimes useful.

Suggested-by: Rainer Perske
Signed-off-by: Werner Koch <wk@gnupg.org>
common/homedir.c
configure.ac