AC_ARG_WITH(with_ldap, [ --with-ldap use OpenLDAP client library])
AC_ARG_WITH(with_libical, [ --with-libical use libical calendaring library])
AC_ARG_WITH(with_libsieve, [ --with-libsieve use libsieve mail sorting library])
+AC_ARG_WITH(with_expat, [ --with-expat use Expat XML parser])
if test "x$with_db" != xno -a "x$with_db" != xyes -a "$with_db"; then
db_dir="$with_db"
+dnl Checks for the Expat XML parser.
+if test "x$with_expat" != xno ; then
+ AC_CHECK_HEADERS(expat.h,
+ [AC_CHECK_LIB(expat, XML_ParserCreateNS,
+ [ok_expat=yes],,
+ )])
+fi
+
+if test "x$ok_expat" = xyes ; then
+ SERVER_LIBS="-lexpat $SERVER_LIBS"
+ AC_DEFINE(HAVE_EXPAT, [], [define this if you have the Expat XML parser available])
+fi
+
+
+
+
dnl Checks for the libical calendaring library.
if test "x$with_libical" != xno ; then
AC_CHECK_HEADERS(ical.h,
echo 'Calendar support: ' $ok_libical
echo 'LDAP support: ' $ok_ldap
echo 'Sieve mailbox filtering support: ' $ok_libsieve
+echo 'Expat XML parser present: ' $ok_expat
echo
echo 'Note: if you are not using Linux, make sure you are using GNU make'
echo '(gmake) to compile Citadel.'
disable_other_mta("dovecot");
disable_other_mta("exim");
disable_other_mta("exim4");
- disable_other_mta("hula");
disable_other_mta("imapd");
disable_other_mta("mta");
disable_other_mta("pop3d");
disable_other_mta("saslauthd");
disable_other_mta("sendmail");
disable_other_mta("vmailmgrd");
- disable_other_mta("zimbra");
#endif
/* Check for the 'db' nss and offer to disable it */