X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/52a236230220232fd632b5aa88eb9bb31dba346e..b2719c1d2bbfad9aea3c441e9e1996857490adf2:/config/config.c diff --git a/config/config.c b/config/config.c index 151f7fc2..a5cdfd9b 100644 --- a/config/config.c +++ b/config/config.c @@ -8,12 +8,11 @@ */ #include -#include #include #define nmhbindir(file) NMHBINDIR#file #define nmhetcdir(file) NMHETCDIR#file -#define nmhlibdir(file) NMHLIBDIR#file +#define nmhlibexecdir(file) NMHLIBEXECDIR#file /* @@ -144,7 +143,7 @@ char *nmhaccessftp = "nmh-access-ftp"; /* profile entry for external url access command */ char *nmhaccessurl = "nmh-access-url"; -char *mhlibdir = NMHLIBDIR; +char *mhlibexecdir = NMHLIBEXECDIR; char *mhetcdir = NMHETCDIR; /* @@ -157,15 +156,11 @@ char *mhetcdir = NMHETCDIR; char *context = "context"; /* - * Default name of file for public sequences. If NULL, - * then nmh will use private sequences by default, unless the - * user defines a value using the "mh-sequences" profile entry. + * Default name of file for public sequences. If "\0" (an empty + * "mh-sequences" profile entry), then nmh will use private sequences by + * default. */ -#ifdef NOPUBLICSEQ -char *mh_seq = NULL; -#else char *mh_seq = ".mh_sequences"; -#endif /* * nmh globals @@ -244,7 +239,7 @@ char *moreproc = NULL; * for "Bcc:" recipients. */ -char *mhlproc = nmhlibdir (/mhl); +char *mhlproc = nmhlibexecdir (/mhl); /* * This is the super handy BBoard reading program, which is @@ -264,14 +259,14 @@ char *packproc = nmhbindir (/packf); * deliver mail to users. This is the interface to the MTS. */ -char *postproc = nmhlibdir (/post); +char *postproc = nmhlibexecdir (/post); /* * This is program is called by slocal to handle * the action `folder' or `+'. */ -char *rcvstoreproc = nmhlibdir (/rcvstore); +char *rcvstoreproc = nmhlibexecdir (/rcvstore); /* * This program is called to remove a message by rmm or refile -nolink. @@ -301,7 +296,7 @@ char *showmimeproc = nmhbindir (/mhshow); * that such message not be filtered in any way. */ -char *showproc = nmhlibdir (/mhl); +char *showproc = nmhlibexecdir (/mhl); /* * This program is called by vmh as the back-end to the window management