Timo - is the v2.3.15 GCC limitation really necessarily or it's just a bug?

Aki Tuomi aki.tuomi at open-xchange.com
Mon Aug 2 00:24:09 EEST 2021


> On 01/08/2021 23:44 Michael Orlitzky <michael at 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


More information about the dovecot mailing list