Andrew Tridgell
5a8becb1be
r18539: 'make distclean' should delete config.cache
2007-10-10 14:18:43 -05:00
Andrew Tridgell
823cd3ab35
r18535: move the AC_CANONICAL_HOST and host specific flag tests into
...
libreplace. This should fix the standalone build of tdb on HPUX, where
we need to blacklist mmap.
Unfortunately this requires that we have a copy of config.guess and
config.sub in each of our project subdirectories. I tried to find a
way to use something like AC_CONFIG_AUX_DIR($libreplacedir) and just
put config.{guess,sub} in the lib/replace/ directory, but I couldn't
figure out how to do that in a way that kept autoconf happy for each
of our separate builds. Any autoconf guru out there see a way to do
this?
2007-10-10 14:18:42 -05:00
Andrew Tridgell
9b9f058edb
r18521: implement volkers suggestion for avoiding the type punning warnings
2007-10-10 14:18:41 -05:00
Stefan Metzmacher
95d33e4d71
r18485: include libreplace.m4 in the aclocal.m4 files
...
and use the macros in configure.ac
metze
2007-10-10 14:18:36 -05:00
Andrew Tridgell
254cbf09de
r18439: 2nd try at a talloc_move() api. This type with the ** ptr interface
...
exposed.
Unfortunately this generates a large number of type punning
warnings. We'll have to find some magic to hide those.
2007-10-10 14:18:29 -05:00
Andrew Tridgell
200756017e
r18435: added a function talloc_move() which is like talloc_steal(), but is
...
meant for moving pointers between structures. The difference is that
talloc_move() will zero the source pointer, thus ensuring you don't
reference the pointer in the old context.
talloc_move() is appropriate in some, but not all cases where we use
talloc_steal() now. The interface came out of a discussion with
Jeremy.
2007-10-10 14:18:29 -05:00
Andrew Tridgell
03f9c67c06
r18283: libreplace.m4 needs to be early in configure.ac in other packages too
2007-10-10 14:18:01 -05:00
Stefan Metzmacher
135d096776
r18213: don't list LIBREPLACE depdendecies explicit and
...
always at it as first private dependencies
metze
2007-10-10 14:17:50 -05:00
Jelmer Vernooij
6f5e7df6f2
r18163: Remove defines for BOOL, False and True
2007-10-10 14:17:44 -05:00
Stefan Metzmacher
38f9e90a12
r18152: move our AC macros into lib/replace/libreplace_macros.m4
...
and include them from there
metze
2007-10-10 14:17:43 -05:00
Andrew Tridgell
a4d1f1d222
r18143: the 'showflags' convention from Samba is useful for the other packages
2007-10-10 14:17:40 -05:00
Stefan Metzmacher
c8342c9ae5
r18142: add make distclean to talloc build
...
metze
2007-10-10 14:17:39 -05:00
Andrew Tridgell
77d1a468e0
r18129: moved the system includes into libreplace - this gives much more
...
isolation of our portability environment from the main code, and also
simplifies the includes system (no separate #ifdef _SAMBA_BUILD for
tdb. ldb etc now)
2007-10-10 14:17:36 -05:00
Stefan Metzmacher
357882e6ec
r18100: actually make usage of libreplace :-)
...
metze
2007-10-10 14:17:16 -05:00
Stefan Metzmacher
b787259365
r18096: try to make tcc happy and don't the same struct names in a global and
...
a local scope
metze
2007-10-10 14:17:16 -05:00
Stefan Metzmacher
8246d8ecd2
r18089: sometimes autoconf picks up some old stuff:
...
- remove configure and config.h.in
- cleanup after autoconf and autoheader are done
metze
2007-10-10 14:17:14 -05:00
Andrew Tridgell
e485b25a39
r18086: here too
2007-10-10 14:17:14 -05:00
Andrew Tridgell
9bc583cf6c
r18083: i should sleep more ....
2007-10-10 14:17:13 -05:00
Andrew Tridgell
7f7c85fa2f
r18082: bring talloc in line with new conventions
2007-10-10 14:17:13 -05:00
Andrew Tridgell
1185dd044b
r18080: added distclean target to talloc
2007-10-10 14:17:12 -05:00
Andrew Tridgell
b5d519eb1e
r18077: move some configure tests out of talloc that are now in libreplace
2007-10-10 14:17:12 -05:00
Andrew Tridgell
968a4e97cf
r18076: convert talloc to the new libreplace system
2007-10-10 14:17:12 -05:00
Stefan Metzmacher
c60deff667
r18064: merge from samba3
...
metze
2007-10-10 14:17:10 -05:00
Jelmer Vernooij
fe7ca4b145
r18031: Merge my replace fixes:
...
* libreplace can now build stand-alone
* add stub testsuite for libreplace
* make talloc/tdb/ldb use libreplace
2007-10-10 14:17:05 -05:00
Volker Lendecke
cd495d8931
r18027: Fix some 64-bit warnings
2007-10-10 14:17:04 -05:00
Stefan Metzmacher
2493f670d3
r17966: remove all generated files
...
metze
2007-10-10 14:16:58 -05:00
Stefan Metzmacher
64ba7ffdb8
r17965: make talloc build more portable
...
metze
2007-10-10 14:16:58 -05:00
Stefan Metzmacher
87d88b3a47
r17964: try to support sun* hosts
...
metze
2007-10-10 14:16:58 -05:00
Stefan Metzmacher
161f2c04f7
r17963: fix install logic for talloc.3
...
metze
2007-10-10 14:16:58 -05:00
Stefan Metzmacher
18b4ae591a
r17960: try to use gmake if present on IRIX
...
metze
2007-10-10 14:16:57 -05:00
Stefan Metzmacher
d1dd3df5e4
r17958: as talloc_init() enabled null tracking, we should avoid to use it
...
in smbtorture, and in the LOCAL-TALLOC we should reset the null tracking
also make bin/smbtorture //url/foo LOCAL-TALLOC LOCAL-TALLOC possible
metze
2007-10-10 14:16:57 -05:00
Stefan Metzmacher
23c6c7a27c
r17957: don't try to use an internet connection when generating the manpage
...
and only install the manpage if we build it
metze
2007-10-10 14:16:57 -05:00
Stefan Metzmacher
ff8d044c2e
r17952: merge changes from samba3
...
metze
2007-10-10 14:16:56 -05:00
Stefan Metzmacher
5697841e29
r17950: sync talloc with samba3
...
metze
2007-10-10 14:16:56 -05:00
Stefan Metzmacher
b199557b35
r17907: - add a generic talloc_report_depth_cb() function which takes a callback
...
to do the actual report.
- make the talloc_report_depth_file() a wrapper of it
- and talloc_report() and talloc_report_full() are wrapper of
talloc_report_depth_file()
metze
2007-10-10 14:16:54 -05:00
Stefan Metzmacher
972a84f220
r17905: fix c++ warnings
...
metze
2007-10-10 14:16:53 -05:00
Stefan Metzmacher
933d1b47ad
r17895: - talloc_increase_ref_count() can fail
...
- make talloc_reference() typesafe when gcc >= 3 is used
metze
2007-10-10 14:16:53 -05:00
Stefan Metzmacher
7cab4285b1
r17893: add a function to disable the null_context
...
metze
2007-10-10 14:16:52 -05:00
Stefan Metzmacher
6955ffe454
r17892: fix the last talloc c++ warning
...
metze
2007-10-10 14:16:52 -05:00
Stefan Metzmacher
fb73ce8d43
r17891: remove c++ warnings from talloc
...
metze
2007-10-10 14:16:52 -05:00
Stefan Metzmacher
bfca83c91e
r17886: add talloc_ptrtype() and talloc_array_ptrtype(),
...
see the manpage what they do:-)
metze
2007-10-10 14:16:51 -05:00
Stefan Metzmacher
155cd6b882
r17885: use _TALLOC_TYPEPF() consitently
...
metze
2007-10-10 14:16:51 -05:00
Stefan Metzmacher
bb79542edb
r17883: check if talloc_asprintf() works correct
...
metze
2007-10-10 14:16:50 -05:00
Stefan Metzmacher
669d1e5f92
r17712: fix compiler warning
...
metze
2007-10-10 14:16:29 -05:00
Andrew Tridgell
14a8faa164
r17685: talloc.pc is in the build directory
2007-10-10 14:16:24 -05:00
Andrew Tridgell
07401300ff
r17683: to pick up config.h we need -I. as well for talloc
2007-10-10 14:16:23 -05:00
Andrew Tridgell
c137a7049e
r17681: fixed standalone talloc build to support building in a separate
...
directory
2007-10-10 14:16:23 -05:00
Andrew Tridgell
8236a0ac5e
r17645: gcc 4.1.x has started producing "value computed is not used" warnings
...
in very annoying ways for talloc_steal. This rather strange looking
cpp approach avoids these warnings. It's really a problem in gcc, but
better to do this than put up with the huge flood of warnings.
2007-10-10 14:16:19 -05:00
Andrew Tridgell
662f01f8ba
r17578: in standalone talloc build ensure we get intptr_t if available (which
...
makes the discard_const stuff nicer)
2007-10-10 14:15:38 -05:00
Stefan Metzmacher
3be930b81d
r17413: add a new case for the this:
...
top->level1->level2->level3
level3 has a deny destructor
talloc_free(level1)
result: top->level3
metze
2007-10-10 14:15:22 -05:00