> On 01/08/2021 23:44 Michael Orlitzky <mich...@orlitzky.com> wrote: > > > On Sun, 2021-08-01 at 21:53 +0300, Mart Pirita wrote: > > > > As Docvecot does not support INC_PATH= and ignores --includedir= option, > > You can try CPPFLAGS="-I<path>" in the future. I don't know how a > normal person would ever figure it out, but that's the "correct" way to > include headers from a non-default directory.
That's a feature of autoconf, documented in e.g. https://www.gnu.org/software/autoconf/manual/autoconf-2.63/html_node/Preset-Output-Variables.html. You can use ./configure ... EXTRA_CFLAGS or CPPFLAGS. The EXTRA_CFLAGS is dovecot specific. Aki