X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fmacro_predef.c;h=86be52f542c0f2ee1fda557c6cacf2ace36d26f0;hb=b66fecb428871a3eb274d9370671f1eaf8c5ccec;hp=0a22eec2f4c9987d97d41c71bcf2bd309b344e9c;hpb=12263aa86a56d5d6a8aa6a9daaf285e24ca2a448;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/macro_predef.c b/src/src/macro_predef.c index 0a22eec2f..86be52f54 100644 --- a/src/src/macro_predef.c +++ b/src/src/macro_predef.c @@ -70,7 +70,6 @@ void options_from_list(optionlist * opts, unsigned nopt, const uschar * section, uschar * group) { -int i; const uschar * s; uschar buf[64]; @@ -81,7 +80,7 @@ of the macros list is in reverse-alpha (we prepend them) - so longer macros that have substrings are always discovered first during expansion. */ -for (i = 0; i < nopt; i++) if (*(s = US opts[i].name) && *s != '*') +for (int i = 0; i < nopt; i++) if (*(s = US opts[i].name) && *s != '*') { if (group) spf(buf, sizeof(buf), CUS"_OPT_%T_%T_%T", section, group, s); @@ -198,8 +197,8 @@ due to conflicts with other common macros. */ #ifdef EXPERIMENTAL_DSN_INFO builtin_macro_create(US"_HAVE_DSN_INFO"); #endif -#ifdef EXPERIMENTAL_REQUIRETLS - builtin_macro_create(US"_HAVE_REQTLS"); +#ifdef EXPERIMENTAL_PIPE_CONNECT + builtin_macro_create(US"_HAVE_PIPE_CONNECT"); #endif #ifdef LOOKUP_LSEARCH @@ -220,6 +219,9 @@ due to conflicts with other common macros. */ #ifdef LOOKUP_IBASE builtin_macro_create(US"_HAVE_LOOKUP_IBASE"); #endif +#ifdef LOOKUP_LDAP + builtin_macro_create(US"_HAVE_LOOKUP_JSON"); +#endif #ifdef LOOKUP_LDAP builtin_macro_create(US"_HAVE_LOOKUP_LDAP"); #endif @@ -285,6 +287,9 @@ options_routers(); options_transports(); options_auths(); options_logging(); +#if defined(SUPPORT_TLS) && !defined(USE_GNUTLS) +options_tls(); +#endif } static void