X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/46f35e659f3bc3e808a70263bea0ec72624c8a08..fec552f6734a6d549a388193ca52204328723eed:/uip/mhparam.c?ds=sidebyside diff --git a/uip/mhparam.c b/uip/mhparam.c index acb416c7..f6daf9a5 100644 --- a/uip/mhparam.c +++ b/uip/mhparam.c @@ -29,6 +29,7 @@ DEFINE_SWITCH_ENUM(MHPARAM); DEFINE_SWITCH_ARRAY(MHPARAM, switches); #undef X +extern char *mhbindir; extern char *mhetcdir; extern char *mhlibexecdir; @@ -75,6 +76,13 @@ static char *iconv = ""; #endif +static char *oauth = +#ifdef OAUTH_SUPPORT + "oauth"; +#else + ""; +#endif + struct proc { char *p_name; char **p_field; @@ -104,6 +112,7 @@ static struct proc procs [] = { { "version", &version_num }, { "whatnowproc", &whatnowproc }, { "whomproc", &whomproc }, + { "bindir", &mhbindir }, { "etcdir", &mhetcdir }, { "libdir", &mhlibexecdir }, { "libexecdir", &mhlibexecdir }, @@ -112,6 +121,7 @@ static struct proc procs [] = { { "datalocking", &datalocking }, { "spoollocking", &spoollocking }, { "iconv", &iconv }, + { "oauth", &oauth }, { "sasl", &sasl }, { "tls", &tls }, { NULL, NULL },