[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] fix build with --disable-client
From: |
Alexey Mahotkin |
Subject: |
[PATCH] fix build with --disable-client |
Date: |
Sun, 11 May 2003 01:14:41 +0400 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i386-debian-linux) |
All those CLIENT_SUPPORT and AUTH_CLIENT_SUPPORT is a mess. For now,
fix case of configure --disable-client.
src/ChangeLog | 5 +++++
src/log-buffer.c | 4 ++++
src/rsh-client.c | 4 ++++
src/socket-client.c | 3 +++
4 files changed, 16 insertions(+)
--- ccvs/src/log-buffer.c~no-client-server-fixes Sun May 11 00:56:25 2003
+++ ccvs-alexm/src/log-buffer.c Sun May 11 01:03:45 2003
@@ -17,6 +17,8 @@
#include "cvs.h"
#include "buffer.h"
+#ifdef CLIENT_SUPPORT
+
/* We want to be able to log data sent between us and the server. We
do it using log buffers. Each log buffer has another buffer which
handles the actual I/O, and a file to log information to.
@@ -220,3 +222,5 @@ setup_logfiles (to_server_p, from_server
free (buf);
}
}
+
+#endif /* CLIENT_SUPPORT */
--- ccvs/src/rsh-client.c~no-client-server-fixes Sun May 11 01:04:47 2003
+++ ccvs-alexm/src/rsh-client.c Sun May 11 01:06:58 2003
@@ -13,6 +13,9 @@
#include <config.h>
#include "cvs.h"
+#include "buffer.h"
+
+#ifdef CLIENT_SUPPORT
#include "rsh-client.h"
@@ -193,3 +196,4 @@ start_rsh_server (root, to_server_p, fro
#endif /* NO_EXT_METHOD */
+#endif /* CLIENT_SUPPORT */
--- ccvs/src/socket-client.c~no-client-server-fixes Sun May 11 01:07:55 2003
+++ ccvs-alexm/src/socket-client.c Sun May 11 01:07:16 2003
@@ -15,6 +15,8 @@
#include "cvs.h"
#include "buffer.h"
+#ifdef CLIENT_SUPPORT
+
#include "socket-client.h"
@@ -272,3 +274,4 @@ socket_buffer_shutdown (buf)
#endif /* NO_SOCKET_TO_FD */
+#endif /* CLIENT_SUPPORT */
--- ccvs/src/ChangeLog~no-client-server-fixes Sun May 11 01:11:59 2003
+++ ccvs-alexm/src/ChangeLog Sun May 11 01:12:40 2003
@@ -1,3 +1,8 @@
+2003-05-11 Alexey Mahotkin <alexm@hsys.msk.ru>
+
+ * log-buffer.c, rsh-client.c, socket-client.c: Allow compilation
+ with --disable-client.
+
2003-05-09 Derek Price <derek@ximbiot.com>
* client.c: #ifdef inclusion of gssapi-client.h.
_
--alexm
- [PATCH] fix build with --disable-client,
Alexey Mahotkin <=