Leo Baltus:
> Hi,
>
> Our Linux compile environment has changed so that db.h is not in a
> standard place any more.
>
> However makedefs seem to insist that is should be in /usr/include
>
> My initial make reads something like so:
>
> make -f Makefile.init makefiles CCARGS="-DHAS_DB -I$db/include" \
> AUXLIBS="-L$db/lib -ldb"
>
> Like http://www.postfix.org/DB_README.html tells me.
>
> Attached patch detects '-DHAS_DB' and just skips further tests.
>
> Would that be acceptable for future releases?
I agree. There needs to be a way for you to specify the location
of Berkeley DB include and library files, and to have the makedefs
script not find those locations for you.
Wietse