Jelmer Vernooij
4ab73d6045
r15000: Move some more autoconf tests out of build/m4/rewrite.m4
...
Guarantee availability of __FUNCTION__ in libreplace
(This used to be commit 76b1576541210f2bb306ae17e0876b254e8dcead)
2007-10-10 14:04:00 -05:00
Jelmer Vernooij
4a61e4901e
r14999: Remove more unused autoconf code
...
Simplify va_copy() replacement code a bit
(This used to be commit a5c87360a7f14a90b831ea372277f4f89ee4c5f1)
2007-10-10 14:04:00 -05:00
Jelmer Vernooij
69979ddc6e
r14998: Remove unused autoconf test, move others to proper places
...
(This used to be commit bfa396a16056f54163c514da8b34aaf229653765)
2007-10-10 14:03:59 -05:00
Jelmer Vernooij
c50125f6ef
r14844: Support a stdbool.h replacement in lib/replace/
...
(This used to be commit bccfddcafa1fdb56392e2301bbd404964ad9f7c3)
2007-10-10 13:59:41 -05:00
Jelmer Vernooij
45e4982cca
r14816: Simplify test for comparison_fn_t
...
(This used to be commit 594215d1176b23596549fd4e4098d42ef41f7d0d)
2007-10-10 13:59:23 -05:00
Jelmer Vernooij
71b4fd9792
r14477: Remove the NOPROTO property - it's no longer used as proto.h is gone.
...
(This used to be commit 9c37f847d32d2f327a88c53a90af0c73126b76be)
2007-10-10 13:57:30 -05:00
Stefan Metzmacher
9eb691c4c5
r14445: add FILE_NOTIFY_CHANGE_STREAM_* flags from:
...
http://ubiqx.org/cifs/rfc-draft/draft-leach-cifs-v1-spec-02.html#s4.3.7
tridge: there's also the buffering documented...
metze
(This used to be commit f1bdca23838d23fbad7f1576c182688b7cd9b73d)
2007-10-10 13:57:26 -05:00
Jelmer Vernooij
7a121583b4
r14349: Kill proto.h!
...
Prototypes are now spread over multiple headers, usually one per subsystem.
This change is required to allow proper header dependencies later on,
without recompiling Samba each time the mtime of any source file changes.
(This used to be commit 3da79bf909f801386a52e6013db399c384d0401c)
2007-10-10 13:57:14 -05:00
Stefan Metzmacher
33647bd841
r14240: fix summary output (step 2)
...
we now need to explicit enable external libraries in
*.m4 files again...
metze
(This used to be commit ca809a7910b16a248fffddc640298bbe4cdedc01)
2007-10-10 13:57:06 -05:00
Simo Sorce
4b476ff4fb
r13592: Incredible how bugs like this can sweep in even after peer review and testing ...
...
(This used to be commit 8483f61a1df0c80f3385b1ab5a2628c2a97d41a2)
2007-10-10 13:51:58 -05:00
Jelmer Vernooij
595702c9fa
r13577: Move some (possibly system-defined) defines to replace.h
...
(This used to be commit 2b3d56e153b229119fddfa7b378f4d671ee0092c)
2007-10-10 13:51:57 -05:00
Andrew Tridgell
4c78d1bfa2
r13401: remove the rename of the snprintf functions that simo accidentially
...
included in his last commit
(This used to be commit 487b374b4359b2cb5f4e249e595c43bfa568a853)
2007-10-10 13:51:52 -05:00
Simo Sorce
b8a9bec662
r13374: new revision of the snprintf replace code
...
still missing a configure test to make us
substitute our snprintf to system one when
the system one does not have positional parameters support
(This used to be commit 398f989d6580587eb1fa4fec0b1ed858b5cbe8e1)
2007-10-10 13:51:51 -05:00
Stefan Metzmacher
073866887d
r12814: we need this here too, as we'll include replace.h for building heimdal/*
...
too, and for this we don't include includes.h
(hopefully) fix the build on AIX
metze
(This used to be commit 32f2cf433f65aaa9bcc5e33958d6f9c72c7f13d9)
2007-10-10 13:49:59 -05:00
Jelmer Vernooij
5c8447773f
r12801: Some more include/ cleanups (remove unused macros + move files
...
to specific dirs)
(This used to be commit 243cf760b077e155f5ac508aeebf819f7708a84e)
2007-10-10 13:49:57 -05:00
Jelmer Vernooij
46aa296cc9
r12592: Remove some useless dependencies
...
(This used to be commit ca8db1a0cd77682ac2c6dc4718f5d753a4fcc4db)
2007-10-10 13:49:00 -05:00
Jelmer Vernooij
d8e35f8828
r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
...
the difference between these at all, and in the future the
fact that INIT_OBJ_FILES include smb_build.h will be sufficient to
have recompiles at the right time.
(This used to be commit b24f2583edee38abafa58578d8b5c4b43e517def)
2007-10-10 13:47:45 -05:00
Stefan Metzmacher
64b611a18e
r12364: add UINT32_MAX and UINT64_MAX replacement defines
...
(hopefully fix the build on OpenBSD)
metze
(This used to be commit cbe06ade214bd29eab5c11fcd011a3c463bf78db)
2007-10-10 13:47:31 -05:00
Jelmer Vernooij
efe67458c1
r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headers
...
in build/smb_build/, remove unused pstring macros
(This used to be commit 432296207400636dd81d0929ec7b1b4cebbcaa62)
2007-10-10 13:47:19 -05:00
Jeremy Allison
931b1974a2
r11797: Added OpenSSH fix for "%.*s" format crash. From Darren Tucker
...
<dtucker@zip.com.au>
Jeremy.
(This used to be commit a2006c162833f8e0513c2f2744688960c04b7e67)
2007-10-10 13:46:29 -05:00
Jelmer Vernooij
a4e7bf3a89
r11382: Require number of required M4 macros
...
Make MODULE handling a bit more like BINARY, LIBRARY and SUBSYSTEM
Add some more PUBLIC_HEADERS
(This used to be commit 875eb8f4cc658e6aebab070029fd499a726ad520)
2007-10-10 13:45:29 -05:00
Jelmer Vernooij
10ec7dd61f
r11343: Remove dependency on DEBUG()
...
(This used to be commit 407b5e615f80ab2f7a3d10bafd9284de7f02fe60)
2007-10-10 13:45:21 -05:00
Jelmer Vernooij
4c5a4a7e02
r11244: Relative path names in .mk files
...
(This used to be commit 24e10300906c380919d2d631bfb3b8fd6b3f54ba)
2007-10-10 13:45:06 -05:00
Jelmer Vernooij
f4d590662e
r11214: Remove scons files (see http://lists.samba.org/archive/samba-technical/2005-October/043443.html )
...
(This used to be commit 7fffc5c9178158249be632ac0ca179c13bd1f98f)
2007-10-10 13:45:03 -05:00
Stefan Metzmacher
cffd522b5c
r11052: bring samba4 uptodate with the samba4-winsrepl branch,
...
before the bad merge
metze
(This used to be commit 471c0ca4abb17fb5f73c0efed195c67628c1c06e)
2007-10-10 13:44:43 -05:00
Stefan Metzmacher
2ecb46d595
r11037:
...
(This used to be commit 6913e338405a5aca5c70cf6e022532c596ed0a36)
2007-10-10 13:42:33 -05:00
Andrew Tridgell
1584f64920
r10896: added a strcasestr() replacement function
...
(This used to be commit 4483d275e12006e5acc72ae143c0a01da01bd00d)
2007-10-10 13:39:41 -05:00
Jelmer Vernooij
ecbf28630e
r10664: Include limits.h in replace.h for HOST_NAME_MAX
...
(This used to be commit dc3dc796746de672dbf3ad0e4715e8b30ae4afb7)
2007-10-10 13:39:15 -05:00
Jelmer Vernooij
5058f4b9e8
r10586: Add MergedObject() builder. Default to Library() rather
...
then StaticLibrary()
(This used to be commit b53313dc517986c69a4e4cb8fe3885b696f8faa1)
2007-10-10 13:39:08 -05:00
Andrew Tridgell
a2dffe109b
r10523: fixed timegm() to not depend on get_time_zone(), so it works in lib/replace/
...
the old timegm() replacement was also broken (it returned the wrong value)
(This used to be commit 342489a1d4d5cc4b16cf2e5ff7e671326f0cb3d5)
2007-10-10 13:39:00 -05:00
Jelmer Vernooij
691aff270b
r10521: Also check sys/socket.h for definition of socklen_t (needed for AIX)
...
(This used to be commit 42eb14060d53dbcbc381ecc781f121279190b08e)
2007-10-10 13:39:00 -05:00
Jelmer Vernooij
f801ad3592
r10510: Decrease the amount of data included by includes.h a bit
...
(This used to be commit 03647e1321cf6c9bd6ced3945265f635e9468973)
2007-10-10 13:38:58 -05:00
Jelmer Vernooij
e337caeed1
r10509: Some more sconscript fixes. Now getting to link stage for smbclient
...
(This used to be commit 6df956edbab7ad5e72b2f20e74ab0f0d62528932)
2007-10-10 13:38:58 -05:00
Jelmer Vernooij
3d4ea18d4d
r10478: More work on proto headers; we now generate a couple of smaller ones
...
that are then included by include/proto.h
(This used to be commit 703ffbaaaca11f3d8781cfe9e7542fcaa626d991)
2007-10-10 13:38:52 -05:00
Jelmer Vernooij
70b52b02a7
r10476: Move some more types to libreplace. Fix missing strndup errors
...
for heimdal
(This used to be commit e09ffdfb1dba289b79ac7e5a638bf5322d45ddc0)
2007-10-10 13:38:51 -05:00
Volker Lendecke
ebf0779608
r10472: Check for strndup
...
(This used to be commit 8335aa056fd8a414feaffa707dc0bc20ac27388f)
2007-10-10 13:38:51 -05:00
Jelmer Vernooij
4be0ae794e
r10456: More SCons fixes:
...
- Add framework for fallback generating code
- Move pread / pwrite replacement functions to libreplace
- Support pidl builds correctly
- Support asn1 builds correctly
- Move OS-specific checks to lib/replace/SConscript
(This used to be commit fbbfad0a1f7dedbf48e835a864f8285f283d72f3)
2007-10-10 13:38:48 -05:00
Jelmer Vernooij
da46c9252e
r10453: Fix the build
...
(This used to be commit 7be3ec4dbb919752477e1d995df9f7d295b67687)
2007-10-10 13:38:48 -05:00
Jelmer Vernooij
b85f7857dc
r10452: Couple of small scons updates - ignore .sconsign files
...
(This used to be commit b2d2b4f23393c727ae3feeaf4b4b65bc03a673f7)
2007-10-10 13:38:47 -05:00
Stefan Metzmacher
aba4d018b4
r10449: remove double copyright header
...
metze
(This used to be commit f6bd76fa154de6ed7f7ef3257be9572f13f3ec48)
2007-10-10 13:38:47 -05:00
Jelmer Vernooij
f3b412fbd6
r10438: Move portability functions to lib/replace/; replace now simply ensures
...
that a given set of (working) POSIX functions are available (without
prefixes to their names, etc). See lib/replace/README for a list.
Functions that behave different from their POSIX specification
(such as sys_select, sys_read, etc) have kept the sys_ prefix.
(This used to be commit 29919a71059b29fa27a49b1f5b84bb8881de65fc)
2007-10-10 13:38:45 -05:00
Tim Potter
d191c7d993
r10377: Save configuration stuff to sconf.cache so it isn't annoyingly run
...
at every single build. Run 'scons configure=1' or delete sconf.cache
to force checks to be re-run.
Jelmer, I think this stuff is cached in the .sconf_cache directory but
the message is still displayed and it looks like it caches the compiled
test object file not the actual result of the test.
(This used to be commit 9d001dc083937bbf5642af90bc8a8b1a27825de0)
2007-10-10 13:38:33 -05:00
Jelmer Vernooij
6812c73534
r10348: Add scons scripts for remaining subsystems. Most subsystems build now,
...
but final linking still fails (as does generating files asn1, et, idl and proto
files)
(This used to be commit 4f0d7f75b99c7f4388d8acb0838577d86baf68b5)
2007-10-10 13:38:30 -05:00
Jelmer Vernooij
5b02ee9b9d
r10336: Add sconscript for a couple more subsystems.
...
(This used to be commit 59d4450453c25f5cce9b67b808ff0c4433c1d194)
2007-10-10 13:38:29 -05:00
Jelmer Vernooij
fc411bed80
r9949: Portability fixes for mingw32
...
(This used to be commit 994093b08ee463066c6bae494b10374bd700b0b0)
2007-10-10 13:36:24 -05:00
Andrew Tridgell
3f260e2efe
r9374: HPUX is also missing setegid()
...
(This used to be commit 57e6bd61395e82064c72510dcc326b11b7bdf7fd)
2007-10-10 13:33:29 -05:00
Andrew Tridgell
4e21575ed2
r9370: need a configure test for setresuid()
...
(This used to be commit 5a38b9a10b3c5363cddc7acaaea2e1e9aceb254c)
2007-10-10 13:33:28 -05:00
Andrew Tridgell
5d899b8a35
r9369: an attempt to fix the build on HPUX. This is based on work by Don
...
McCall, but takes a slightly different approach that I hope will be
more generic
(This used to be commit e8260a81cf99be2ccae64135ca0572c8a6ae62ad)
2007-10-10 13:33:28 -05:00
Stefan Metzmacher
56c112bbbc
r9063: - don't pollute the global $LIBS variable with -ldl
...
- -lresolve seems to not being needed any more
(it's actually not used, and the build farm seem to happy with it)
- move socket and netif configure test to seperate files
- don't pollute the global $LIBS variable with -lsocket ...
- actually make use of the -lsocket when needed
(should fix the solaris build)
metze
(This used to be commit adebd56be6f62323d56b6666ca0e02f85a33438e)
2007-10-10 13:31:13 -05:00
Andrew Tridgell
dc4af82432
r8750: drat, on some systems dirfd() is a macro
...
(This used to be commit d974bf3589e1b0cd1d5661a21571b81e99350709)
2007-10-10 13:30:02 -05:00