summaryrefslogtreecommitdiff
path: root/source4/build/m4/rewrite.m4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r11184: Remove test that checks whether ftruncate() needs root, because I can'tJelmer Vernooij1-7/+0
find the file it tries to use (build/tests/ftruncroot.c) and the value it defines is not used anywhere. (This used to be commit 97bbf4a46035becaee50d242364146e3529cf631)
2007-10-10r10525: change from AC_CHECK_TYPES() to AC_CHECK_TYPE() for intptr_t, so theAndrew Tridgell1-1/+0
type is always available, which means we need less #ifdefs (This used to be commit d4af4b11ae69a63fa3b2048e6d576055d86d2bb4)
2007-10-10r10510: Decrease the amount of data included by includes.h a bitJelmer Vernooij1-1/+0
(This used to be commit 03647e1321cf6c9bd6ced3945265f635e9468973)
2007-10-10r10456: More SCons fixes:Jelmer Vernooij1-4/+1
- 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-10r10438: Move portability functions to lib/replace/; replace now simply ensuresJelmer Vernooij1-93/+7
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-10r10071: Configure checks for IRIX build environment. Test whether we canJames Peach1-2/+0
use the MIPSPro 7.4 -c99 option to get C99 support. Try to find a common perl that is more modern than /usr/bin/perl. (This used to be commit 82fab8b747bf68d8548c6f0f2f4bff98bd428d22)
2007-10-10r9369: an attempt to fix the build on HPUX. This is based on work by DonAndrew Tridgell1-1/+1
McCall, but takes a slightly different approach that I hope will be more generic (This used to be commit e8260a81cf99be2ccae64135ca0572c8a6ae62ad)
2007-10-10r9148: remove the aix stuff it didn't fix the buildStefan Metzmacher1-8/+0
metze (This used to be commit ff01807d731980ecc38264d6923f54cfae460878)
2007-10-10r9108: try to get aix building...Stefan Metzmacher1-0/+8
metze (This used to be commit b5277c62f2e82bb2f3fd5a091e82680deab03c77)
2007-10-10r9063: - don't pollute the global $LIBS variable with -ldlStefan Metzmacher1-159/+7
- -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-10r8713: Experiment to try and fix warnings on 64-bit machines without breakingTim Potter1-1/+1
32-bit ones. Yes, this weird looking macros are part of C99. (This used to be commit 7b316f119b8486b75ebe63b185c50fab82313e58)
2007-10-10r8540: fixed network interface detection on several hostsAndrew Tridgell1-3/+0
(This used to be commit 777ac8496b400b0ed348995feed83c22c5b344b3)
2007-10-10r8462: added a test for %lld support to our snprintf() configure test.Andrew Tridgell1-1/+5
our snprintf replacement code is going to be getting a good workout :) (This used to be commit 3e9e5af4cee16e2316b544eebb489f87fd064ff4)
2007-10-10r8461: fixed integer64 handling on bit endian platforms. The ejs code usedAndrew Tridgell1-0/+1
%Ld, which is an invalid format code. This will probably cause problems on systems that don't have %lld, but do have a working snprintf otherwise. We will need to expand the snprintf configure test to make sure we replace snprintf on those platforms (This used to be commit ccc87eb8aaf571d91170555a732d287746b3430f)
2007-10-10r8453: my solaris10 box doesn't have math.hAndrew Tridgell1-1/+1
maybe sun isn't very good at maths? (This used to be commit ab67c8b2b7847ecad803dfc04a66007b8f6b4abe)
2007-10-10r8356: avoid warning from AC_CHECK_HEADER that file is present but cannot be ↵Love Hörnquist Åstrand1-1/+7
compiled for sys/mount.h (This used to be commit f70e8b4f6ea0db0a7a9134848fefcd0389aabe56)
2007-10-10r8306: some more heimdal configure checksAndrew Tridgell1-1/+1
(This used to be commit 575413fc863147ee46e1ff658af1d74093fc7686)
2007-10-10r7866: Remove some unused autoconf macro calls.Jelmer Vernooij1-17/+11
Some of these should probably be re-added again later when we need them. They should then be added to the appropriate config.m4 file in the source tree rather then in rewrite.m4. (This used to be commit 4eca613470139f6425f454aea016566f9deffa3e)
2007-10-10r7672: this should fix the crypt dependency problem (I hope!)Andrew Tridgell1-3/+3
(This used to be commit 3fe00b61147e09159ef02328a7f1d8f7805abf0d)
2007-10-10r7302: remove dublicate includesStefan Metzmacher1-3/+0
metze (This used to be commit be63496a315e29af5025d87c6f539f8db5e4c7d1)
2007-10-10r7288: Remove empty wrapper functionJelmer Vernooij1-2/+2
(This used to be commit 879f68cef72df708a6ff7a5f5818fa8478c2a6ea)
2007-10-10r7284: more build issues for sqlite3Derrell Lipman1-0/+1
(This used to be commit 45f88f0f81e96fc122d39e70d518a65f00e03817)
2007-10-10r6825: Fall back to chsize if ftruncate is not availableJelmer Vernooij1-1/+1
patch from Steven Edwards (This used to be commit 82be4978116b73cd6d964da4fad59b5c5b11217e)
2007-10-10r6752: Patch by Steven Edwards to improve portability to mingw32Jelmer Vernooij1-3/+3
(This used to be commit 8d63cd33a223cccb21d808747e9c97da53629fbc)
2007-10-10r6538: Somehow building shared libraries was broken. Either AC_CANONICAL_HOSTTim Potter1-0/+2
or AC_CANONICAL_SYSTEM needs to be called in order for $host_os to be defined. (This used to be commit d05cb53399d98804fd8590c10a3db43deb53180a)
2007-10-10r6485: Move LDAP detection M4 file and use it for the standalone ldb buildJelmer Vernooij1-1/+1
Remove a couple of unused M4 macros. The standalone LDB build will not work until I've figured out what AC_CHECK_LIB_EXT() does exactly (it's Samba-specific) (This used to be commit cc20d6bb7f06e077ebe4c366e545e187a0c79472)
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)