CVS update: samba/source

Andrew Tridgell tridge at samba.anu.edu.au
Fri May 22 16:40:18 EST 1998


> I don't see the purpose of this at all.  Why not just
> 
> #include "../includes.h"
> 
> ??
> 
> Having the ifdef around it doesn't do anything.  Can you give me some 
> idea of the purpose of this?

you suggested using an #ifdef so that the ubiqx code could compile as
is when not part of Samba. 

What I put in is not exactly what you suggested, what you suggested
was:

> Here's a thought:  I could put in something like:
> 
> #ifdef PKG_INCLUDE
> #include PKG_INCLUDE
> #endif

unfortunately that isn't legal as cpp doesn't like macros being used
for include file names. I tried a couple of varients on this to see if
it could be done and ended up with what I put in as the closest
thing. If it isn't compiled as part of Samba then it gets null from
other places.

Andrew


More information about the samba-cvs mailing list