]
)
AC_ARG_WITH(with_ldap, [ --with-ldap use OpenLDAP client library])
-dnl AC_ARG_WITH(with_libdspam, [ --with-libdspam use libdspam mail spam scanning library])
AC_ARG_WITH(with_gc, [ --with-gc use the Boehm-Demers-Weiser garbage collection library])
if test "x$with_db" != xno -a "x$with_db" != xyes -a "$with_db"; then
-dnl Checks for the libdspam mail spam scanning library.
-dnl if test "x$with_libdspam" != xno ; then
-dnl AC_CHECK_HEADERS(dspam/libdspam.h,
-dnl [AC_CHECK_LIB(dspam, dspam_init,
-dnl [ok_libdspam=yes],,
-dnl )])
-dnl fi
-dnl
-dnl if test "x$ok_libdspam" = xyes ; then
-dnl SERVER_LIBS="-ldspam $SERVER_LIBS"
-dnl AC_DEFINE(HAVE_LIBDSPAM, [], [(unfinished) define this if you have the libdspam mail spam scanning library available])
-dnl fi
-
-
-
dnl Checks for the Expat XML parser.
AC_CHECK_HEADER(expat.h,
[AC_CHECK_LIB(expat, XML_ParserCreateNS,
echo 'LDAP support: ' $ok_ldap
echo 'Character set conversion support:' $ok_iconv
echo 'Boehm-Demers-Weiser support: ' $ok_gc
-dnl echo 'DSpam Scanning support: ' $ok_libdspam
echo
echo 'Note: if you are not using Linux, make sure you are using GNU make'
echo '(gmake) to compile Citadel.'
/* all our directories */
extern char ctdl_bio_dir[PATH_MAX];
extern char ctdl_data_dir[PATH_MAX];
-extern char ctdl_dspam_dir[PATH_MAX];
extern char ctdl_file_dir[PATH_MAX];
extern char ctdl_shared_dir[PATH_MAX];
extern char ctdl_image_dir[PATH_MAX];
extern char file_chkpwd[PATH_MAX];
extern char file_base64[PATH_MAX];
extern char file_guesstimezone[PATH_MAX];
-extern char file_dpsam_conf[PATH_MAX];
-extern char file_dspam_log[PATH_MAX];
extern void calc_dirs_n_files(int relh, int home, const char *relhome, char *ctdldir, int dbg);
char ctdl_home_directory[PATH_MAX] = "";
char ctdl_bio_dir[PATH_MAX]="bio";
char ctdl_data_dir[PATH_MAX]="data";
-char ctdl_dspam_dir[PATH_MAX]="dspam";
char ctdl_file_dir[PATH_MAX]="files";
char ctdl_shared_dir[PATH_MAX]="";
char ctdl_image_dir[PATH_MAX]="images";
char file_chkpwd[PATH_MAX]="";
char file_base64[PATH_MAX]="";
char file_guesstimezone[PATH_MAX]="";
-char file_dpsam_conf[PATH_MAX] = "";
-char file_dspam_log[PATH_MAX] = "";
#endif
COMPUTE_DIRECTORY(ctdl_bio_dir);
COMPUTE_DIRECTORY(ctdl_data_dir);
- COMPUTE_DIRECTORY(ctdl_dspam_dir);
COMPUTE_DIRECTORY(ctdl_file_dir);
COMPUTE_DIRECTORY(ctdl_image_dir);
COMPUTE_DIRECTORY(ctdl_info_dir);
StripSlashes(ctdl_bio_dir, 1);
StripSlashes(ctdl_data_dir, 1);
- StripSlashes(ctdl_dspam_dir, 1);
StripSlashes(ctdl_file_dir, 1);
StripSlashes(ctdl_image_dir, 1);
StripSlashes(ctdl_info_dir, 1);
"%sguesstimezone.sh",
ctdl_utilbin_dir);
- snprintf(file_dpsam_conf,
- sizeof file_dpsam_conf,
- "%sdspam.conf",
- ctdl_etc_dir);
- StripSlashes(file_dpsam_conf, 0);
- snprintf(file_dspam_log,
- sizeof file_dspam_log,
- "%sdspam.log",
- ctdl_home_directory);
- StripSlashes(file_dspam_log, 0);
/*
* DIRTY HACK FOLLOWS! due to configs in the network dir in the
* legacy installations, we need to calculate ifdeffed here.
DBG_PRINT(ctdl_bio_dir);
DBG_PRINT(ctdl_data_dir);
- DBG_PRINT(ctdl_dspam_dir);
DBG_PRINT(ctdl_file_dir);
DBG_PRINT(ctdl_image_dir);
DBG_PRINT(ctdl_info_dir);