Michael Orlitzky
2021-Aug-01 20:44 UTC
Timo - is the v2.3.15 GCC limitation really necessarily or it's just a bug?
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.
Aki Tuomi
2021-Aug-01 21:24 UTC
Timo - is the v2.3.15 GCC limitation really necessarily or it's just a bug?
> 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