[dovecot-cvs] dovecot/src/lib-dict Makefile.am, 1.3, 1.4 dict-client.h, 1.1, 1.2

cras at dovecot.org cras at dovecot.org
Sat Jan 14 16:01:43 EET 2006


Update of /var/lib/cvs/dovecot/src/lib-dict
In directory talvi:/tmp/cvs-serv30928/lib-dict

Modified Files:
	Makefile.am dict-client.h 
Log Message:
Don't use hardcoded /var/run/dovecot in dict-server path, but
PKG_RUNDIR/dict-server.



Index: Makefile.am
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-dict/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Makefile.am	30 Dec 2005 22:09:03 -0000	1.3
+++ Makefile.am	14 Jan 2006 14:01:40 -0000	1.4
@@ -3,6 +3,7 @@
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/src/lib \
 	-I$(top_srcdir)/src/lib-sql \
+	-DPKG_RUNDIR=\""$(rundir)"\" \
 	$(SQL_CFLAGS)
 
 libdict_a_SOURCES = \

Index: dict-client.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-dict/dict-client.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- dict-client.h	30 Dec 2005 23:08:07 -0000	1.1
+++ dict-client.h	14 Jan 2006 14:01:40 -0000	1.2
@@ -1,7 +1,7 @@
 #ifndef __DICT_CLIENT_H
 #define __DICT_CLIENT_H
 
-#define DEFAULT_DICT_SERVER_SOCKET_PATH "/var/run/dovecot/dict-server"
+#define DEFAULT_DICT_SERVER_SOCKET_PATH PKG_RUNDIR"/dict-server"
 
 #define DICT_CLIENT_PROTOCOL_MAJOR_VERSION 1
 #define DICT_CLIENT_PROTOCOL_MINOR_VERSION 0



More information about the dovecot-cvs mailing list