[INN-COMMITTERS] inn/storage (Makefile)

Jeffrey M. Vinocur jeff at litech.org
Mon Mar 4 01:55:49 UTC 2002


On Sun, 3 Mar 2002, Russ Allbery wrote:

> Jeffrey M Vinocur <jeff at litech.org> writes:
>
> > Hrm.  `make depend` in storage/ovdb, with USE_BERKELEY_DB undefined,
> > removes ovdb-private.h from the dependencies for ovdb.c
>
> Yeah, and make depend in nnrpd without USE_SSL defined doesn't pick up all
> of the right dependencies.  I wonder if we should reorder things in those
> files a bit to make dependency tracking a bit easier.

Will that help?


> Anyway, I hacked up a partial solution for the ovdb frontend programs in
> frontends; will that same approach work in ovdb?  (Basically, always pass
> -DUSE_BERKELEY_DB to gcc when generating dependencies.)

I think it will.

Wait, I'm an idiot.  Should have thought of this earlier.  Why don't we
push the #ifdef back into the included files, so that the dependency
always shows up from gcc's point of view (but the included file is empty
if appropriate).


-- 
Jeffrey M. Vinocur
jeff at litech.org



More information about the inn-workers mailing list