[dovecot-cvs] dovecot configure.in,1.148,1.149
cras at procontrol.fi
cras at procontrol.fi
Sun Sep 21 21:55:38 EEST 2003
Update of /home/cvs/dovecot
In directory danu:/tmp/cvs-serv318
Modified Files:
configure.in
Log Message:
Added support for Boehm GC. However it seems to be crashing for some reason
with me..
Index: configure.in
===================================================================
RCS file: /home/cvs/dovecot/configure.in,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -d -r1.148 -r1.149
--- configure.in 24 Aug 2003 12:43:53 -0000 1.148
+++ configure.in 21 Sep 2003 17:55:36 -0000 1.149
@@ -160,6 +160,19 @@
)
AC_SUBST(ssldir)
+AC_ARG_WITH(gc,
+[ --with-gc Use Boehm garbage collector (currently broken)],
+ if test x$withval = xyes; then
+ want_gc=yes
+ else
+ if test "x$withval" = xno; then
+ want_gc=no
+ else
+ want_gc=yes
+ fi
+ fi,
+ want_gc=no)
+
AC_ARG_WITH(pop3d,
[ --with-pop3d Build POP3 server (default)],
if test x$withval = xno; then
@@ -837,6 +850,20 @@
if test "$have_ssl" != "no"; then
AC_DEFINE(HAVE_SSL,, Build with SSL/TLS support)
+fi
+
+dnl **
+dnl ** Garbage Collector
+dnl **
+
+if test "$want_gc" = "yes"; then
+ AC_CHECK_LIB(gc, GC_malloc, [
+ AC_CHECK_HEADERS(gc/gc.h gc.h)
+ AC_DEFINE(USE_GC,, Define if you want to use Boehm GC)
+ LIBS="$LIBS -lgc"
+ ], [
+ want_gc=no
+ ])
fi
dnl **
More information about the dovecot-cvs
mailing list