1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-21 20:23:50 +03:00
Commit Graph

147 Commits

Author SHA1 Message Date
Jelmer Vernooij
a59706f721 r18121: Simplify m4 code, hopefully fix Samba4 build problems.
(This used to be commit 1adf65b4d7)
2007-10-10 14:17:35 -05:00
Andrew Tridgell
e906cb5966 r18111: base inclusion of replacement printf fns on function existance, not
declaration. Otherwise _GNU_SOURCE and _BSD_SOURCE stuffs things up
(possibly fixable, but not now)
(This used to be commit 68caf1bba7)
2007-10-10 14:17:18 -05:00
Stefan Metzmacher
c91a27fd80 r18094: try to fix the samba4 build
metze
(This used to be commit 3c00983e2c)
2007-10-10 14:17:15 -05:00
Stefan Metzmacher
c2dfdbb64d r18093: check for the headers first and check all functions
metze
(This used to be commit 5bb8a5ce32)
2007-10-10 14:17:15 -05:00
Stefan Metzmacher
72c697167e r18088: sometimes autoconf picks up some old stuff:
- remove configure and config.h.in
- cleanup after autoconf and autoheader are done

metze
(This used to be commit c4f91114a3)
2007-10-10 14:17:14 -05:00
Andrew Tridgell
0dd630cfa7 r18085: using m4_include() instead of sinclude() means we get an error if the
include fails - thats better than the compile failing mysteriously
(This used to be commit b4df3c7391)
2007-10-10 14:17:13 -05:00
Andrew Tridgell
81fdc61c11 r18084: we don't need the double sinclude() any more
(This used to be commit 2dab7886c1)
2007-10-10 14:17:13 -05:00
Andrew Tridgell
b5c0202bff r18081: libreplace now uses config.h again
(This used to be commit 037196538a)
2007-10-10 14:17:13 -05:00
Andrew Tridgell
780b339656 r18079: fix for in-tree build with samba4 dir layout
(This used to be commit 8eccdc1cd1)
2007-10-10 14:17:12 -05:00
Andrew Tridgell
6e5beba866 r18078: these tests came from talloc
(This used to be commit 1e5e311233)
2007-10-10 14:17:12 -05:00
Andrew Tridgell
b383add7b0 r18075: with the new scheme, we now use config.h again (thanks jelmer!)
(This used to be commit c45c487861)
2007-10-10 14:17:11 -05:00
Andrew Tridgell
b70a7de802 r18074: config.m4 is now libreplace.m4
(This used to be commit b2e680500e)
2007-10-10 14:17:11 -05:00
Andrew Tridgell
a57365a2e6 r18073: next step in grab libreplace plan - see IRC logs for very detailed
discussion wity metze and jelmer!
(This used to be commit f18c913b6c)
2007-10-10 14:17:11 -05:00
Andrew Tridgell
8e9c4e83fa r18067: some tweaks for irix and hpux
this checks for -AC99 or -c99 to get C99 structure init to work. It's
based on a similar macro metze did for Samba4.

the double sinclude() is weird, but I can't see any other way to use a
common config.m4 between libreplace and all the projects that use it
(This used to be commit 8d80024976)
2007-10-10 14:17:10 -05:00
Andrew Tridgell
5d363fa0dd r18061: this should fix the libreplace build on us4 with gcc
(This used to be commit 71c0a0731c)
2007-10-10 14:17:10 -05:00
Andrew Tridgell
bd35940710 r18060: use gmake for libreplace if available
(This used to be commit 838de24dfe)
2007-10-10 14:17:10 -05:00
Andrew Tridgell
a41abfd514 r18059: another cpp error
(This used to be commit 64eff9d9d9)
2007-10-10 14:17:10 -05:00
Andrew Tridgell
09a4749a31 r18058: we don't actually need __VA_ARGS__ yet (its another C99 feature which
I don't think we use anywhere)
(This used to be commit bac8d5ce28)
2007-10-10 14:17:09 -05:00
Andrew Tridgell
3539b6ae7b r18057: fixed an #ifdef
(This used to be commit e4c3b9ea2f)
2007-10-10 14:17:09 -05:00
Andrew Tridgell
e057ef3c6f r18056: includes needed for O_CREAT
(This used to be commit 0b80ee8b3b)
2007-10-10 14:17:09 -05:00
Andrew Tridgell
a587277aa3 r18055: aix needs time.h for timegm.c to compile
(This used to be commit 1c91de687f)
2007-10-10 14:17:09 -05:00
Andrew Tridgell
d9319068f5 r18054: snprintf.c needs to use replace.h to get the rep_vasprintf and related
macros
(This used to be commit 3917436ff7)
2007-10-10 14:17:09 -05:00
Andrew Tridgell
474b74b345 r18053: the sig_atomic_t test needs to be in libreplace for getpass.c to
compile on hpux
(This used to be commit a0bd4f5c4a)
2007-10-10 14:17:08 -05:00
Andrew Tridgell
cbae8b2014 r18052: discard_const_p() isn't part of the libreplace API, so we can't use it
inside libreplace.
(This used to be commit 5745ecdd82)
2007-10-10 14:17:08 -05:00
Andrew Tridgell
a0202040e2 r18051: - add gcc warning flags
- fix piles of warnings and ftruncate bug in libreplace testsuite
(This used to be commit f5fc88f0c4)
2007-10-10 14:17:08 -05:00
Simo Sorce
62e6027413 r18046: Add 'z' specifier support and a configure test.
Jeremy should I backport this to samba3 too?
(This used to be commit dc689b5579)
2007-10-10 14:17:08 -05:00
Jelmer Vernooij
c13ea9b3a6 r18045: Update format, list "test" target as phony.
(This used to be commit 1f431dcd0a)
2007-10-10 14:17:07 -05:00
Andrew Tridgell
cb962c9373 r18044: timegm.c needs to be in a separate file
(This used to be commit 3ec1db7bd1)
2007-10-10 14:17:07 -05:00
Andrew Tridgell
73493a095a r18043: added strlcpy() test
(This used to be commit a68b339519)
2007-10-10 14:17:07 -05:00
Andrew Tridgell
eab9f6d102 r18042: testsuite needs to link to libreplace.a :-)
(This used to be commit d359dea98e)
2007-10-10 14:17:07 -05:00
Andrew Tridgell
4c4e6a9a1c r18041: started on the bodies of the testsuite functions for libreplace
(This used to be commit a2a6782ec7)
2007-10-10 14:17:07 -05:00
Jelmer Vernooij
c90a12781b r18040: Use only one strnlen implementation
(This used to be commit 9a421425d2)
2007-10-10 14:17:06 -05:00
Jelmer Vernooij
41ff8ad80e r18039: Include header with time_t if needed.
(This used to be commit b0cfdd24be)
2007-10-10 14:17:06 -05:00
Andrew Tridgell
6cf5528e20 r18038: make test fns static
(This used to be commit 2dda101a5f)
2007-10-10 14:17:06 -05:00
Andrew Tridgell
e67b1f21f6 r18037: added 'make installcheck' target
(This used to be commit 34f173d8cb)
2007-10-10 14:17:06 -05:00
Andrew Tridgell
63799e5c63 r18035: - fixed 'make clean' to remove test objects
- fixed 'make install' to create target dir

should be ready to go into the build farm as a standalone build now?
(This used to be commit 5feaeaf1dc)
2007-10-10 14:17:05 -05:00
Andrew Tridgell
7e97a15fa0 r18034: fixed build of libreplace outside of source directory
(This used to be commit 8c07569227)
2007-10-10 14:17:05 -05:00
Andrew Tridgell
f3cf9d4ef6 r18033: added install-sh, needed for standalone libreplace build
(This used to be commit 652c11e4b8)
2007-10-10 14:17:05 -05:00
Andrew Tridgell
e8b3da023a r18032: added a 'make distclean'
(This used to be commit e83ea30b72)
2007-10-10 14:17:05 -05:00
Jelmer Vernooij
38fdde5d9b r18031: Merge my replace fixes:
* libreplace can now build stand-alone
 * add stub testsuite for libreplace
 * make talloc/tdb/ldb use libreplace
(This used to be commit fe7ca4b145)
2007-10-10 14:17:05 -05:00
Volker Lendecke
515067a02e r18018: Fix the build on OpenBSD. No license problem this time, I've written strnlen
from scratch.

Volker
(This used to be commit 2a7cdf52e4)
2007-10-10 14:17:03 -05:00
Andrew Tridgell
0bb1c2da0e r17992: reverted r17842
This needs more consideration, as the patch removed the copyright
notice and license from the timegm.c code.

Volker, when you get a minute can you let me know what problem this
patch fixed so I can find a different approach?
(This used to be commit 5b9b9dd530)
2007-10-10 14:17:02 -05:00
Volker Lendecke
6f7dd6ca07 r17884: Shape up the snprintf fix after Metzes comments
(This used to be commit 66b6456eee)
2007-10-10 14:16:51 -05:00
Volker Lendecke
1bdf669209 r17849: Next round for RPC-SAMBA3-SHARESEC
(This used to be commit e17371b7f9)
2007-10-10 14:16:48 -05:00
Volker Lendecke
6e9097045f r17842: After talking to Simo, apply the next attempt to resolve the strnlen
problem. Timegm is the same. Simo says this is just a workaround, but it helps
for now. Feel free to revert.

Volker
(This used to be commit fd166ca0c0)
2007-10-10 14:16:47 -05:00
Volker Lendecke
a0d6264b90 r17841: Revert 17840, libldb.a defines strnlen. Sorry for the noise
(This used to be commit 1de3459082)
2007-10-10 14:16:47 -05:00
Volker Lendecke
d3c55f028e r17840: A step towards building on Solaris which appears not to have strnlen.
Volker
(This used to be commit ebf75c6196)
2007-10-10 14:16:47 -05:00
Stefan Metzmacher
1d8fa3ccac r17790: replace uses -ldl and should directly depend on it
metze
(This used to be commit 560a3058e5)
2007-10-10 14:16:43 -05:00
Stefan Metzmacher
168e9ec231 r17789: remove compiler warnings
metze
(This used to be commit dec228be4d)
2007-10-10 14:16:43 -05:00
Andrew Tridgell
fe791078b7 r17763: moved setenv to ldb/replace/
(This used to be commit ed2dbc4dfe)
2007-10-10 14:16:38 -05:00