#define MHPARAM_SWITCHES \
X("components", 0, COMPSW) \
#define MHPARAM_SWITCHES \
X("components", 0, COMPSW) \
-char *sbackup = BACKUP_PREFIX;
-
-char *lockmethod =
-#if defined FCNTL_LOCKING
- "fcntl"
-#elif defined FLOCK_LOCKING
- "flock"
-#elif defined LOCKF_LOCKING
- "lockf"
-#elif defined DOT_LOCKING
- "dot"
-#else
- "none"
-#endif
- ;
+static char *sbackup = BACKUP_PREFIX;
+
+static char *datalocking = "fcntl";
+static char *localmbox = "";
+static int localmbox_primed = 0;
+
+extern char *spoollocking;
{ "mimeencodingproc", &mimeencodingproc },
{ "moreproc", &moreproc },
{ "msgprot", &msgprot },
{ "mimeencodingproc", &mimeencodingproc },
{ "moreproc", &moreproc },
{ "msgprot", &msgprot },
{ "packproc", &packproc },
{ "postproc", &postproc },
{ "rmmproc", &rmmproc },
{ "packproc", &packproc },
{ "postproc", &postproc },
{ "rmmproc", &rmmproc },
{ "showmimeproc", &showmimeproc },
{ "showproc", &showproc },
{ "version", &version_num },
{ "showmimeproc", &showmimeproc },
{ "showproc", &showproc },
{ "version", &version_num },
{ "whatnowproc", &whatnowproc },
{ "whomproc", &whomproc },
{ "etcdir", &mhetcdir },
{ "libdir", &mhlibdir },
{ "whatnowproc", &whatnowproc },
{ "whomproc", &whomproc },
{ "etcdir", &mhetcdir },
{ "libdir", &mhlibdir },
- { "lockmethod", &lockmethod },
+ { "datalocking", &datalocking },
+ { "spoollocking", &spoollocking },
+ { "iconv", &iconv },
+ /* Need to see if datalocking was set in profile. */
+ if ((cp = context_find("datalocking"))) { datalocking = cp; }
+
+ /* Also set localmbox here */
+ if (! localmbox_primed) {
+ localmbox = getlocalmbox();
+ localmbox_primed = 1;
+ }
+