summaryrefslogtreecommitdiff
path: root/source4/build/m4/rewrite.m4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r5917: First step in using the new cli_credentials structure. This patchJelmer Vernooij1-16/+0
puts support for it into popt_common, adds a few utility functions (in lib/credentials.c) and the callback functions for the command-line (lib/cmdline/credentials.c). Comments are welcome :-) (This used to be commit 1d49b57c50fe8c2683ea23e9df41ce8ad774db98)
2007-10-10r5906: Fix the usage of the internal popt (make proto should ignore it)Jelmer Vernooij1-1/+1
Updated included popt to 1.7. (This used to be commit d60cb643e8a46771f3d836307ea45b869f34dc9b)
2007-10-10r5197: moved events code to lib/events/ (suggestion from metze)Andrew Tridgell1-3/+0
(This used to be commit 7f54c8a339f36aa43c9340be70ab7f0067593ef2)
2007-10-10r5194: added support for using epoll instead of select() on systems that haveAndrew Tridgell1-0/+3
it. epoll is much more scalable than select(), but only exists on some systems (such as Linux with the 2.6.x kernel). The code detects any epoll system call failures at runtime and falls back to select() if there is a problem, so it should be safe to compile this on a 2.6 kernel and run it on a 2.4.x kernel. The speedup is quite large. It gains 20% in packet rate in the BENCH-NBT test, on top of another 20% gain from the better timer handling I added earlier. The really big gain will be when we are dealing with large numbers of file descriptors. With epoll we can handle hundreds of file descriptors all O(1), whereas with select it is O(n). (This used to be commit 26aa1aa69377e43da2942a42d137b95801e9fa1a)
2007-10-10r5043: this broke more systems than it helped. Remove it and try to workAndrew Tridgell1-9/+0
around broken solaris headers some other way. (This used to be commit 1333522a6beea8d474aa36390acbd265b63413d3)
2007-10-10r5042: another attempt to get solaris10 buildingAndrew Tridgell1-1/+1
(This used to be commit 11277ddb4ca8a2917565f4e211816cbba431b90d)
2007-10-10r5040: attempt to get solaris10 building by defining _XOPEN_SOURCEAndrew Tridgell1-0/+9
(This used to be commit d9c1bf10608ecc3d6a4aace44fb0dce3547c5f53)
2007-10-10r4800: proper fix for the _GNU_SOURCE problem with comparison_fn_tAndrew Tridgell1-11/+1
(This used to be commit 4181b38fac426cfc786e52cdd43fdeddbc26651f)
2007-10-10r4799: comparison_fn_t is under __USE_GNU on GNU systems, therefore, we need ↵Alexander Bokovoy1-0/+5
_GNU_SOURCE defined in the test (This used to be commit b4200a462354cb605eb6af41427027147798de6e)
2007-10-10r4794: - disabled the ntacl command line utilities until they are rewritten ↵Andrew Tridgell1-604/+20
to use the same acl format as we use in pvfs (and hopefully use common code too) - removed a lot of old cruft from our autoconf tests. This may well break some builds, but then we can fix them properly instead of the "if solaris version 5.1.2" crap This was prompted by someone sending me solaris 10 patches that patched the configure script with if statements for several more versions of solaris to check for and do special stuff. That is just silly. (This used to be commit 1ea59d1146f041e9befbb435e901c6d7d497c52c)
2007-10-10r4717: fixed our usage of VA_COPY to be more standards compliantAndrew Tridgell1-3/+13
(This used to be commit 48b52584ab7db747feaf7ad4382bd3877935ee26)
2007-10-10r4363: value "none required" is set if no library is needed (autoconf does ↵Jelmer Vernooij1-1/+7
this the same way) (This used to be commit 8cf15704101e5957e15a0401e4832faf1346f12e)
2007-10-10r4362: dlopen() doesn't imply -ldlJelmer Vernooij1-1/+1
Should fix the build on several *BSD systems that have dlopen() in libc (This used to be commit 6d2b8e71c177d1d35a8b975cd5f24089aaa2bb49)
2007-10-10r4124: include locale.h to get LC_ALL in include/system/iconv.hAndrew Tridgell1-1/+1
(This used to be commit 573230ea99136bd66d00bac18effd28b1e5ba76f)
2007-10-10r4123: set locale to C to ensure ascii string functions workAndrew Tridgell1-0/+2
thanks to Bjoern JACKE <samba@j3e.de> for pointing this out (This used to be commit 53c4d0a7d83181afbe01bbbb0840cb2a086b45da)
2007-10-10r3733: More build system fixes/features:Jelmer Vernooij1-1/+1
- Use .mk files directly (no need for a SMB_*_MK() macro when adding a new SUBSYSTEM, MODULE or BINARY). This allows addition of new modules and subsystems without running configure - Add support for generating .dot files with the Samba4 dependency tree (as used by the graphviz and springgraph utilities) (This used to be commit 64826da834e26ee0488674e27a0eae36491ee179)
2007-10-10r3726: More simplifications/fixes in the build systemJelmer Vernooij1-8/+0
(This used to be commit e32f87fdea3070ea715ef547f2a406aa63ab775f)
2007-10-10r3691: Use packagesJelmer Vernooij1-1/+1
(This used to be commit 975f06b626a3cc25e69bbe95dcfa04dc78e3dc92)
2007-10-10r3545: initial support for using extended attributes to hold extended dos ↵Andrew Tridgell1-10/+0
attributes of files. I decided to use IDL/NDR to encode the attribute, as it gives us a simple way to describe and extend the saved attributes. The xattr code needs to hook into quite a few more places in the pvfs code, but this at least gets the basics done. I will start encoding alternate data streams streams, DOS EAs etc soon using the same basic mechanism. I'll probably stick to "version 1" for the xattr.idl for quite a while even though it will be changing, as I don't expect anyone to be deploying this in production just yet. Once we have production users we will need to keep compatibility by supporting all the old version numbers in xattr.idl. (This used to be commit c54253ed1b7dce1d14f43e747da61089aea87094)
2007-10-10r3448: some systems don't have stdint.hAndrew Tridgell1-0/+1
(This used to be commit 8afc2b3bc19c627f7b970ee6ce0480039ed5d3cb)
2007-10-10r3443: the next stage in the include files re-organisation.Andrew Tridgell1-3/+6
I have created the include/system/ directory, which will contain the wrappers for the system includes for logical subsystems. So far I have created include/system/kerberos.h and include/system/network.h, which contain all the system includes for kerberos code and networking code. These are the included in subsystems that need kerberos or networking respectively. Note that this method avoids the mess of #ifdef HAVE_XXX_H in every C file, instead each C module includes the include/system/XXX.h file for the logical system support it needs, and the details are kept isolated in include/system/ This patch also creates a "struct ipv4_addr" which replaces "struct in_addr" in our code. That avoids every C file needing to import all the system networking headers. (This used to be commit 2e25c71853f8996f73755277e448e7d670810349)
2007-10-10r3027: got rid of some configure checks we don't need any moreAndrew Tridgell1-45/+5
(This used to be commit 6a3f356b763b0577e2ad3e7ea74bee932c04a46b)
2007-10-10r2951: fixed the intptr_t test for discard_const()Andrew Tridgell1-1/+1
(This used to be commit 3318cf2722597e57d1731152b2607f6b167e45b9)
2007-10-10r2900: rusty pointed out to me that discard_const() can be done via a macroAndrew Tridgell1-0/+1
on systems that have the intptr_t type, and for systems that don't have it, they also almost certainly won't have -Wcast-qual, so we can use a void* cast. (This used to be commit 2132d38f9c5ba59825558d5ba084a514ebc2626b)
2007-10-10r2656: moved the seteuid configure tests into the posix backend (these testsAndrew Tridgell1-58/+0
don't actually work yet, that will come later) (This used to be commit 46b790c19da25ba88d29f555f828688bb05e531d)
2007-10-10r2582: Merge checks for xattr and acl libraries from Samba3 so the ↵Tim Potter1-0/+114
{get,set}ntacl programs can build on non-xattr machines. (This used to be commit daad76207dbb4060c231a58c99970e837e1e858f)
2007-10-10r1988: Let Samba use all POSIX features available on VOS.Paul Green1-2/+2
paulg (This used to be commit a489ea5ebec852c33c4d659893144b0577ee8af1)
2007-10-10r1973: for systems that don't have strtoull() try strtouq(). This should fixAndrew Tridgell1-1/+1
the build for some BSD varients. (This used to be commit 73e9ee791472bb212efe0eb4744daa91678263ad)
2007-10-10r1943: don't use the with --enable-*developer selected flags forStefan Metzmacher1-5/+0
the configure tests. and test if the compiler really understand the options, and clear them when not this means we can maybe use --enable-developer on the build farm now metze (This used to be commit 35624842c7b25c404e6203564005e3098e4249b4)
2007-10-10r1308: move smb_panic() to lib/fault.cStefan Metzmacher1-1/+1
merge the backtrace stuff from 3.0 metze (This used to be commit 4daf1bafc71cc8f13188aeb85d81aa7513d57d95)
2007-10-10r1073: import DYNEXP flags to smb_buildStefan Metzmacher1-1/+8
and use @{$SMB_BUILD_CTX->{BUILD_ENV}{LD}{DYNEXP}} for the flags I'll use this for all vars which are currently using AC_SUBST(), so we can skip Makefile.in... (this should fix the build on us4...) metze (This used to be commit 798cbed5a328bd773447f1ee0b4f6ea751062e7e)
2007-10-10r1037: Always export all symbolsJelmer Vernooij1-152/+146
(This used to be commit 0209dce1eb9c62c0e454906d9ba015d8c5f5abf6)
2007-10-10r970: - remove unused wchar_t checkStefan Metzmacher1-22/+0
- move immediate structures check to the compiler checks metze (This used to be commit e2a322aa116de9977f6438f9eb6d2af42799ab83)
2007-10-10r967: move some configure checks to seperate filesStefan Metzmacher1-111/+6
metze (This used to be commit 2d109074e8be712a6eb0cfc76439176e3dcdee3a)
2007-10-10r890: convert samba4 to use [u]int8_t instead of [u]int8Stefan Metzmacher1-0/+2
metze (This used to be commit 2986c5f08c8f0c26a2ea7b6ce20aae025183109f)
2007-10-10r889: convert samba4 to use [u]int16_t instead of [u]int16Stefan Metzmacher1-0/+2
metze (This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)
2007-10-10r884: convert samba4 to use [u]int32_t instead of [u]int32Stefan Metzmacher1-0/+2
metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
2007-10-10r873: converted samba4 to use real 64 bit integers instead ofAndrew Tridgell1-0/+2
structures. This was suggested by metze recently. I checked on the build farm and all the machines we have support 64 bit ints, and support the LL suffix for 64 bit constants. I suspect some won't support strtoll() and related functions, so we will probably need replacements for those. (This used to be commit 9a9244a1c66654c12abe4379661cba83a73c4c21)
2007-10-10r765: add SMB_INCLUDE_M4() macro as wrapper arround sinclude()Stefan Metzmacher1-1/+1
metze (This used to be commit afbe692b47f4aa6ebe2155927be00197fafe13f3)
2007-10-10r749: move the basic type checksStefan Metzmacher1-12/+17
be more restrict if we don't have 'long long' or it's size is less than 8 bytes (maybe only for a while, but if the build farm like it we may let it in forever since the smb protocol really need 64 bit variables!) metze (This used to be commit 4a13cc22b464dfc4cbecfa6922b14c60d95876bd)
2007-10-10r748: get some more info about what the compilers in the build farm supportStefan Metzmacher1-3/+10
what we need is a test if the compiler does ANSI c99 metze (This used to be commit e8a11e441b074f9dc1c7c24c9048f8927dac8e59)
2007-10-10r703: only use $PERL -W when --enable-debugStefan Metzmacher1-0/+3
metz (This used to be commit 6289da6783d91637a6be76a4e5444fc22570eca0)
2007-10-10r680: fail directly when we notice that perl is not thereStefan Metzmacher1-1/+7
(we fail anyway) metze (This used to be commit 9f6deb7d795fbddc973e84a45ecb1273aa4f3aea)
2007-10-10r147: - Remove dublicate ldap tests (richard the current test is in ↵Stefan Metzmacher1-0/+17
libads/config.m4 :-) - Move sendfile check to ntvfs/config.m4 - Move comparison_fn_t check to build/m4/rewrite.m4 Please do not new tests to configure.in directly, please add them to the subsystems config.m4 file where they belong to or to build/m4/rewrite.m4 if you don't know where to put it for now Thanks I know samba4's build system is not completly rewritten. I have a lot of updatest in my local tree, but it's not complete yet when it's complete I'll write documentation for it:-) metze (This used to be commit 31c23f14d60a4aa41e0500e369f25ed6dc7ddae7)
2004-02-22- creat the LIBCMDLINE subsystemStefan Metzmacher1-71/+0
including readline and popt - creat the CONFIG subsystem including param/* dynconfig.* and passdb/secrets.* metze (This used to be commit bfd7fd21c8e38c0065fc41dde10e863a169878c2)
2004-02-18don't inlcude rpc/rpc.h and rpcsvc/*.h anymoreStefan Metzmacher1-72/+1
and remove NET_GROUP stuff, this needs to be implemented in a better way if we ever readd this metze (This used to be commit da5f22976fb40ec96160439c7a926a15805fc7f0)
2004-02-18remove unused NISPLUS/AUTOMOUNT stuffStefan Metzmacher1-11/+0
metze (This used to be commit cbfa29549e5b302f947c7f2ca14fbea257e46c33)
2004-02-13move external configure test programsStefan Metzmacher1-11/+11
from tests/*.c to build/tests/*.c metze (This used to be commit dea3a3acbfe2341f9276ceaec2a42f0931e2c336)
2004-02-13move all old configure checks to build/m4/rewrite.m4Stefan Metzmacher1-0/+1787
we should get rid of this file in the end:-) the tests should go into subsystems config.m4 files the goal is to know which tests belong to what code and remove unused tests to make configure a bit faster metze (This used to be commit 3abb0fd19b27261e2b9fa46f287162be8f096913)