[dovecot-cvs] dovecot acconfig.h,1.10,1.11 configure.in,1.39,1.40
cras at procontrol.fi
cras at procontrol.fi
Mon Oct 28 11:46:04 EET 2002
Update of /home/cvs/dovecot
In directory danu:/tmp/cvs-serv13502
Modified Files:
acconfig.h configure.in
Log Message:
Added --enable-asserts (default) and fixed some warnings when building
without. Added i_unreached() to indicate supposedly unreachable code block
and changed a existing i_assert(0) calls to it. Removed return_if_fail() and
return_val_if_fail() macros, they're not useful.
Index: acconfig.h
===================================================================
RCS file: /home/cvs/dovecot/acconfig.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- acconfig.h 28 Oct 2002 09:31:40 -0000 1.10
+++ acconfig.h 28 Oct 2002 09:46:02 -0000 1.11
@@ -1,6 +1,9 @@
/* Build with extra debugging checks */
#undef DEBUG
+/* Disable asserts */
+#undef DISABLE_ASSERTS
+
/* Build with SSL/TLS support */
#undef HAVE_SSL
Index: configure.in
===================================================================
RCS file: /home/cvs/dovecot/configure.in,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- configure.in 28 Oct 2002 09:31:40 -0000 1.39
+++ configure.in 28 Oct 2002 09:46:02 -0000 1.40
@@ -34,6 +34,12 @@
AC_DEFINE(DEBUG)
fi)
+AC_ARG_ENABLE(asserts,
+[ --enable-asserts Enable asserts (default)],
+ if test x$enableval = xno; then
+ AC_DEFINE(DISABLE_ASSERTS)
+ 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)],
More information about the dovecot-cvs
mailing list