[dovecot-cvs] dovecot configure.in,1.38,1.39 acconfig.h,1.9,1.10

cras at procontrol.fi cras at procontrol.fi
Mon Oct 28 11:31:42 EET 2002


Update of /home/cvs/dovecot
In directory danu:/tmp/cvs-serv13128

Modified Files:
	configure.in acconfig.h 
Log Message:
Added --enable-debug. Currently it just forces file locks so that index
files can't be written to when not holding exclusive lock. Also main index
file can't be even read if we're unlocked (other files don't get
notification of unlock, so they don't do this at least yet).



Index: configure.in
===================================================================
RCS file: /home/cvs/dovecot/configure.in,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- configure.in	28 Oct 2002 03:43:13 -0000	1.38
+++ configure.in	28 Oct 2002 09:31:40 -0000	1.39
@@ -28,6 +28,12 @@
 	fi,
 	want_ipv6=yes)
 
+AC_ARG_ENABLE(debug,
+[  --enable-debug          Enable some extra checks for debugging],
+	if test x$enableval = xyes; then
+		AC_DEFINE(DEBUG)
+	fi)
+
 AC_ARG_WITH(file-offset-size,
 [  --with-file-offset-size=BITS  Set size of file offsets. Usually 32 or 64.
                           (default: 64 if available)],

Index: acconfig.h
===================================================================
RCS file: /home/cvs/dovecot/acconfig.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- acconfig.h	28 Oct 2002 03:35:05 -0000	1.9
+++ acconfig.h	28 Oct 2002 09:31:40 -0000	1.10
@@ -1,3 +1,6 @@
+/* Build with extra debugging checks */
+#undef DEBUG
+
 /* Build with SSL/TLS support */
 #undef HAVE_SSL
 




More information about the dovecot-cvs mailing list