diff options
author | Mathieu PARENT <math.parent@gmail.com> | 2009-02-04 00:15:57 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-02-04 00:19:22 +0100 |
commit | f0d585217e452052da59b68e6e59bfa2df5d3963 (patch) | |
tree | 2c52579582b149d866a6b048a3deece5da956b5a /ctdb/Makefile.in | |
parent | 62f27d0cb38184d82b2377b86f5e93135f614484 (diff) | |
download | samba-f0d585217e452052da59b68e6e59bfa2df5d3963.tar.gz samba-f0d585217e452052da59b68e6e59bfa2df5d3963.tar.xz samba-f0d585217e452052da59b68e6e59bfa2df5d3963.zip |
build: Make log-directory configurable indepently of VARDIR
This adds a new configure option "--with-logdir".
logdir defaults to "${localstatedir}/log" .
It is important to have logdir configurable for debian systems,
where localstatedir is set to "/var/lib" and not "/var".
Signed-off-by: Michael Adam <obnox@samba.org>
(This used to be ctdb commit b0c6854d1e886456fabdc8f1c3bd21c89311c601)
Diffstat (limited to 'ctdb/Makefile.in')
-rwxr-xr-x | ctdb/Makefile.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/Makefile.in b/ctdb/Makefile.in index 0002da5f14..a15e7b6457 100755 --- a/ctdb/Makefile.in +++ b/ctdb/Makefile.in @@ -12,6 +12,7 @@ bindir = @bindir@ sbindir = @sbindir@ mandir = @mandir@ localstatedir = @localstatedir@ +logdir = @LOGDIR@ VPATH = @srcdir@:@tdbdir@:@tallocdir@:@libreplacedir@:@poptdir@ srcdir = @srcdir@ etcdir = @sysconfdir@ @@ -30,6 +31,7 @@ IPQ_LIBS = @IPQ_LIBS@ CFLAGS=-g -I$(srcdir)/include -Iinclude -Ilib -Ilib/util -I$(srcdir) \ -I@tallocdir@ -I@tdbdir@/include -I@libreplacedir@ \ -DVARDIR=\"$(localstatedir)\" -DETCDIR=\"$(etcdir)\" \ + -DLOGDIR=\"$(logdir)\" \ -DUSE_MMAP=1 @CFLAGS@ $(POPT_CFLAGS) LIB_FLAGS=@LDFLAGS@ -Llib @LIBS@ $(POPT_LIBS) @INFINIBAND_LIBS@ @CTDB_PCAP_LDFLAGS@ |