svn commit: samba r17738 - in branches/SAMBA_4_0/source/lib/ldb: . ldb_tdb

tridge at samba.org tridge at samba.org
Fri Aug 25 01:27:05 GMT 2006


Jelmer,

 > There already is a Samba libreplace. The discussion here is merely
 > about whether it's contents should be spread out over various subsystems in 
 > Samba.

yep, and I agree with you that it is better in one place. I'll try a
couple of different varients and see if I put together something that
can be reasonably used by all the different components. You're
suggestion to use rep_XXX everywhere is worth a try I think.

We should probably also move a lot of the system dependent configure
code in there as well. For example, I notice that we have some m4 to
set the -c99 flag on the IRIX compiler in the Samba4 build. If I moved
that into libreplace and it was used by ldb, tdb etc, then it might
solve the problem of C99 initialisers on IRIX.

The trick will be to do this without depending on m4 macros which are
specific to the Samba4 build system. The Samba4 build system has a lot
of advantages, but I don't think we want it for the standalone ldb and
tdb builds.

Cheers, Tridge


More information about the samba-technical mailing list