Build: Set the default ctdb socket path at configure time
commit8cbf1a00c41e5029ef4a9e0ab1fcc93f9e9e2b38
authorDavid Disseldorp <ddiss@samba.org>
Thu, 18 Oct 2012 14:55:19 +0000 (18 16:55 +0200)
committerAmitay Isaacs <amitay@gmail.com>
Sat, 20 Oct 2012 14:39:08 +0000 (21 01:39 +1100)
tree8947502ffe190e5e754dbab1564d0be7ece012b8
parentd39fbd60b908013f8723c0167224288547833e95
Build: Set the default ctdb socket path at configure time

The ctdb socket path currently defaults to /tmp/ctdb.socket and can be
modified at runtime using the --socket=filename option, common to both
ctdb and ctdbd binaries.

This change allows the default path to be set at configure time using
the --with-socketpath=FILE argument. When not specified, the default
path remains /tmp/ctdb.socket, documentation remains unchanged as a
result.

Signed-off-by: David Disseldorp <ddiss@samba.org>
(This used to be ctdb commit f92b9c83a2f39fba9a141417a88de96fc8c592ff)
ctdb/Makefile.in
ctdb/configure.ac
ctdb/include/ctdb_protocol.h