Andrew Tridgell
61104953c8
r18604: fixed shell syntax
2007-10-10 14:18:55 -05:00
Andrew Tridgell
13878b7e7e
r18600: - fix shell syntax in tests for libraries
...
- add library test for libpopt
2007-10-10 14:18:55 -05:00
Andrew Tridgell
9f45f970f7
r18594: fail the configure step if the required library is not found for tdb,
...
talloc or libreplace
2007-10-10 14:18:54 -05:00
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
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
025b142ff2
r18400: move MAP_FAILED define to lib/replace/system/shmem.h
2007-10-10 14:18:23 -05:00
Andrew Tridgell
eba6c84eff
r18301: I discovered how to load the warnings from a build farm build into
...
emacs compile mode (hint, paste to a file, and compile as "cat
filename").
This allowed me to fix nearly all the warnings for a IA_64 SuSE build
very quickly.
2007-10-10 14:18:04 -05:00
Andrew Tridgell
007da6115a
r18285: tdb now needs install-sh
2007-10-10 14:18:01 -05:00
Andrew Tridgell
4860d02565
r18280: more portability tidyups, ensuring we use libreplace everywhere
2007-10-10 14:18:00 -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
Andrew Tridgell
57cd0ca176
r18160: - pread and pwrite replacements need to be non-static
...
- replacing rename() is pointless - all platforms have it (and the
#define of rename breaks some code)
- use system/locale.h in snprintf.c
- fix passwd.h for initgroups
- stdlib is in replace.h, not needed elsewhere
- fix the initgroups replacement
- fix mapping of dl functions to rep_*
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
Stefan Metzmacher
477c83c983
r18149: fix make *clean
...
metze
2007-10-10 14:17:42 -05:00
Stefan Metzmacher
67cb692a48
r18148: - use PHONY for test
...
- don't try to install with make test
- add make distclean and realdistclean
metze
2007-10-10 14:17:41 -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
Andrew Tridgell
2f6cd41f40
r18131: fixed tdb subsystem to use right tdb.h
...
fixed LIBREPLACE dep in lib/charset
2007-10-10 14:17:37 -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
Andrew Tridgell
05521650c6
r18108: move tdb to use the same build methods
2007-10-10 14:17:18 -05:00
Stefan Metzmacher
816fa197a7
r18098: use m4_include() instead of sinclude()
...
this breaks ./autogen.sh in lib/ldb/, but the ldb build is broken
anyway
metze
2007-10-10 14:17:16 -05:00
Stefan Metzmacher
5753107443
r18090: 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
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
Stefan Metzmacher
18b4ae591a
r17960: try to use gmake if present on IRIX
...
metze
2007-10-10 14:16:57 -05:00
Jelmer Vernooij
f7afa1cb77
r17930: Merge noinclude branch:
...
* Move dlinklist.h, smb.h to subsystem-specific directories
* Clean up ads.h and move what is left of it to dsdb/
(only place where it's used)
2007-10-10 14:16:54 -05:00
Stefan Metzmacher
bbe641f236
r17781: fix compiler warning
...
metze
2007-10-10 14:16:41 -05:00
Andrew Tridgell
aca417c6b1
r17737: fixed a 'declaration in code' error
2007-10-10 14:16:34 -05:00
Andrew Tridgell
01b76c7aa1
r17686: tdb.pc is in the build directory
2007-10-10 14:16:24 -05:00
Andrew Tridgell
3a22b28f2b
r17684: and we need -Iinclude for tdb
2007-10-10 14:16:23 -05:00
Andrew Tridgell
a81a3874e1
r17680: make standalone tdb support building and testing in a different
...
directory to source
2007-10-10 14:16:23 -05:00
Stefan Metzmacher
af08e56442
r17532: merge from SAMBA_3_0 Revision: 17460
...
First step at fixing the build breakage with the groupmapping test. On Linux,
F_RDLCK is defined to 0, for example NetBSD has it at 1.
Still does not work fully though. Still investigating.
metze
2007-10-10 14:15:34 -05:00
Simo Sorce
941f680453
r17507: pread and pwrite depends on HAVE_PREAD/HAVE_PWRITE not HAVE_PREAD_DECL/HAVE_PWRITE_DECL
...
and common/io.h already defines pread and pwrite as static if they are not.
remove unneded defines
2007-10-10 14:15:30 -05:00
Stefan Metzmacher
fa04ef88e5
r17114: print some sizes for debugging
...
metze
2007-10-10 14:10:14 -05:00
Stefan Metzmacher
5c1e6c08c7
r17113: build tdb and ldb standalone with the same sizes of 'off_t' as from samba
...
metze
2007-10-10 14:10:13 -05:00
Andrew Bartlett
d0ed7cd241
r16938: Fix breakage of TDB on VOS (declaration after statement)
...
Andrew Bartlett
2007-10-10 14:10:02 -05:00
Andrew Bartlett
a6e0846d9b
r16917: Fix compile errors found by the testing of tdb on the build farm.
...
Andrew Bartlett
2007-10-10 14:10:00 -05:00
Andrew Bartlett
5d5503e8d8
r16916: Implement metze's proposed changes to the tdb logging API.
...
This clearly links the log function with its private pointer, and
makes the argument list for tdb_open_ex a bit shorter.
Andrew Bartlett
2007-10-10 14:09:59 -05:00
Stefan Metzmacher
249bf24a40
r16776: fix typo
...
metze
2007-10-10 14:09:45 -05:00
Andrew Bartlett
58898092c1
r16774: This patch modifies the tdb API to allow the logging function to be used
...
as part of ldb.
This allows tdb failures to be passed all the way up to Samba's DEBUG
system, which allowed easier debugging.
Unfortunately I had to extend the tdb API, as the logging function
didn't have a context pointer.
I've worked over the 'debug levels' in TDB. Most of them were 0,
which didn't seem right, as some were trace-like messages. We didn't
see any of these previously, except when accessing TDB directly.
Andrew Bartlett
2007-10-10 14:09:45 -05:00
Simo Sorce
2898df2cee
r16043: Fix error message
2007-10-10 14:08:52 -05:00
Jelmer Vernooij
aa6d66fda6
r15573: Fix build of systems that have iconv headers in non-standard locations
...
Split of system/locale.h header from system/iconv.h
Previously, iconv wasn't being used on these systems
2007-10-10 14:05:58 -05:00
Tim Potter
4d8fff5236
r15339: Signature for tdb_reopen_all() has changed.
2007-10-10 14:05:18 -05:00
Jelmer Vernooij
0654739166
r15301: Use static libraries internally. This required a few hacks in the build
...
system - these should be removed later on.
2007-10-10 14:05:07 -05:00
Jelmer Vernooij
d9f1c19f58
r15300: Only enable SWIG shared libs if python is available
2007-10-10 14:05:04 -05:00
Jelmer Vernooij
adc8a019b6
r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
...
for REQUIRED_SUBSYSTEMS.
2007-10-10 14:04:18 -05:00
James Peach
9140a2d266
r15143: Pull in GNU extensions right at the start of the configure process. This
...
prevents a warning on comparison_fn_t redefinition every time replace.h
is included.
2007-10-10 14:04:11 -05:00
Volker Lendecke
0476715671
r15120: Minimize the diff between Samba3 and Samba4 tdb: In Samba3 we don't allow C++
...
keywords. Change "private" -> "private_data".
Volker
2007-10-10 14:04:10 -05:00
Volker Lendecke
5f1d52f232
r15100: Port the bugfix for #3569 to Samba4
2007-10-10 14:04:09 -05:00
Tim Potter
983321f769
r15090: Since we wrap the swig wrapper in another layer of Python, there isn't
...
much point in doing lots of %rename calls in tdb.i so get rid of them.
2007-10-10 14:04:07 -05:00
Andrew Tridgell
9b867d2acf
r14972: fix an uninitialised warning from ibm checker
2007-10-10 14:00:48 -05:00
Tim Potter
5e14e79489
r14970: Add configure stuff for Python to tdb and ldb standalone builds.
2007-10-10 14:00:48 -05:00