summaryrefslogtreecommitdiff
path: root/source4/lib/replace
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19245: mrege from samba3:Stefan Metzmacher1-0/+18
add AC_REMOVE_INCLUDE(), AC_REMOVE_DEFINE() macros metze (This used to be commit dc65a6625295a7316c2e9982ee09eb9607dbed70)
2007-10-10r19242: merge from samba3:Stefan Metzmacher1-0/+2
handle NO_CONFIG_H in libreplace metze (This used to be commit 909d736a4bf5a7adfcd64eecf6bb2a92211c6f96)
2007-10-10r19234: fix configure test for net/if.h for some platformsStefan Metzmacher1-2/+2
AC_LANG_SOURCE() causes to have the content of confdefs.h in front of the file that will be compiled metze (This used to be commit cd03738e7c5610c4a0cb1161b9bcee5d7c88322d)
2007-10-10r19227: - add a AC_CACHE_CHECK() around the net/if.h testStefan Metzmacher1-16/+15
to see (we now get some output that this test happens at all...). - make use of AC_INCLUDES_DEFAULT metze (This used to be commit 7e399e607c8e9bf7365de7d492d29377177cdc1f)
2007-10-10r19198: fix typo...Stefan Metzmacher1-1/+1
metze (This used to be commit 70bab6edfc1c8e52dfa3ff0f02059a2af6086589)
2007-10-10r19195: this should fix should workaround the brokenStefan Metzmacher1-0/+4
HPUX 11.23 <machine/sys/getppdp.h> on host hpisgr8 in the build-farm. metze (This used to be commit 88adbd744355284df223f5618bd76e3d327055d8)
2007-10-10r19186: that doesn't help...Stefan Metzmacher1-4/+0
metze (This used to be commit 59c6d51ab31d9d686de35024509f08f5de41c788)
2007-10-10r19173: see if HPUX 11.23 needs the same workaround as 11.11Stefan Metzmacher1-0/+4
metze (This used to be commit 896326d5081da6a20babacf4c28c556fa44216c5)
2007-10-10r19131: merge from samba3:Stefan Metzmacher1-1/+1
fix the logic for the AC_PROG_CC_C99 test metze (This used to be commit 5ccc020639b72a75edfc7f29775b298acf27216e)
2007-10-10r19122: merge from samba3:Stefan Metzmacher1-4/+17
sync system/iconv.h metze (This used to be commit 9c74964b619fd0754d3b72c21fe2cef4d24e7ad5)
2007-10-10r19120: silence a warning about a test functionAndrew Tridgell1-0/+1
(This used to be commit 59915150f0e303222a16f9d08d3ab31db4e4c617)
2007-10-10r19117: I've changed the checker wrapper on snab to allow for aAndrew Tridgell1-0/+3
.checker_innocent file, similar to our .valgrind_suppressions file. (This used to be commit 8228efdb93be20cc3255fbd55336fac89d1bc2d9)
2007-10-10r19116: fixed a checker warningAndrew Tridgell1-4/+2
(This used to be commit 48243721df27fa68b3232d71b411fba1e0ab7010)
2007-10-10r19033: prepare to use the libreplace testsuite as LOCAL-REPLACE in smbtortureStefan Metzmacher1-4/+6
metze (This used to be commit 71fc73e11cee89f1b52cda5a32468a74a38cecc3)
2007-10-10r19032: let the getdents replacement fail and see what the build-farm says.Stefan Metzmacher1-0/+1
metze (This used to be commit 4ed53dfafcbafbad8f2cde65e84dc0fe32fa62f8)
2007-10-10r19029: test if opendir() on a file sets errno = ENOTDIRStefan Metzmacher1-2/+6
metze (This used to be commit 6b5f06b059583f9d685d71d48299ab334581c179)
2007-10-10r19023: lets see what the build-farm says about trying theStefan Metzmacher1-22/+22
getdirentries() based readdir() replacement first. metze (This used to be commit 268c8bc7ef63ca7fd7900bd0aec345b895512c68)
2007-10-10r19017: Merge from Samba3:Volker Lendecke2-0/+24
Attempt to fix the BSD RAW-CHKPATH failures: In Samba3 we rely on opendir returning ENOTDIR when the file opened is not a directory. Can we merge this back into Samba4? This includes the tabs->spaces fix requested by Stefan. Volker (This used to be commit 7b9ee1171ddc89537ba3b286f20c722fb70c980b)
2007-10-10r18999: merge from samba3:Stefan Metzmacher2-10/+9
- make more usage of PRINTF_ATTRIBUTE() - vsyslog takes a 'const char *format' metze (This used to be commit cdcd4232d2f383f4d2f9ca1d049b7b3cc7b58359)
2007-10-10r18991: Fix bug 4133 -- Thanks to Olaf FlebbeVolker Lendecke1-0/+7
(This used to be commit d8bea42bb78619ae35a9680b24fe9eee5f25997d)
2007-10-10r18970: avoid strndup and strnlen on AIX. They are quite broken. SeeAndrew Tridgell2-2/+6
http://lists.samba.org/archive/samba-technical/2004-August/036915.html (This used to be commit c178c84f01166609e6bd3393d39fb0034130167b)
2007-10-10r18960: fix caching of some configure tests AC_CACHE_CHECK()Stefan Metzmacher2-20/+20
*needs* '_cv_' in the shell var to do caching... metze (This used to be commit cb334632fae28bff107200a7b5643289f383eaad)
2007-10-10r18957: we need to include unistd.h in system/network.h becauseStefan Metzmacher1-0/+4
it contains the ioctl() prototype on some systems and we need to make sure it gets included before socket_wrapper defines ioctl swrap_ioctl metze (This used to be commit f37b13cbe65404f27d31b8020afb2f542313f4d3)
2007-10-10r18947: overload listen() and ioctl() in socket_wrapperStefan Metzmacher1-0/+4
metze (This used to be commit dfaccdca1b6954cd61828749d7b000f804f3b066)
2007-10-10r18914: this bug fix needs to be for just hpux 11.11Andrew Tridgell1-1/+4
(This used to be commit 2cccede13d34011767159c3345bb6da24ed09bd3)
2007-10-10r18913: an attempt to get tdb/ldb working on the HPUX box 'gwen'. This ideaAndrew Tridgell1-0/+1
come from Don McCall. Don may well be able to provide us with a configure test in the future which does this in a nicer way, I just want to see if it works now. (This used to be commit f7f548a1c79a78a1b15e96732994135cba94aa3d)
2007-10-10r18862: as andrew pointed our on irc, if we are going to define _TRUE, thenAndrew Tridgell1-2/+2
better make it be true :) (This used to be commit 4bda5ed3f9fda437c3f9b7e8ce83853999601c74)
2007-10-10r18861: merge from samba3Andrew Tridgell1-0/+11
(This used to be commit c5e2fcdc10a0869264bb1c6a13ada5f12e1b655f)
2007-10-10r18859: finally worked out what is going wrong with immediate structures. TheAndrew Tridgell1-0/+27
problem is that the AC_PROG_CC_C99 macro ends up selecting either -std=std99 or -std=gnu99 for gcc. Ironically enough, that breaks constant structure initialisers! So, simplest solution is to not try that configure test if we know we are using gcc (This used to be commit 331435daf3275acaf282c1032c6e9f7dc3e685bb)
2007-10-10r18769: Re-enable __VA_ARGS__ test (but don't make it fatal)Jelmer Vernooij1-4/+4
(This used to be commit cc8c403de8c6558031c14f929a485361b7eb0222)
2007-10-10r18723: Update list of provided macros/defines in README.Jelmer Vernooij1-0/+7
(This used to be commit 5e951bdeec2d7d872410fafb9f051eb4340b6e50)
2007-10-10r18675: merge from samba3:Stefan Metzmacher1-1/+17
we need to define the macros the indicate we have bool even if we have not defining bool ourself metze (This used to be commit 0c18e5d9383883f696113837a9e2d1bc078f18b1)
2007-10-10r18674: merge from samba3,Stefan Metzmacher1-1/+1
PRINTF_ATTRIBUTE seems to not work with gcc 3.0 metze (This used to be commit dfb9bfba943bb4954101e7e02fa5a68046817162)
2007-10-10r18600: - fix shell syntax in tests for librariesAndrew Tridgell1-1/+1
- add library test for libpopt (This used to be commit 13878b7e7ec65b21df954f83afc0e9ceb73e44a0)
2007-10-10r18594: fail the configure step if the required library is not found for tdb,Andrew Tridgell1-1/+5
talloc or libreplace (This used to be commit 9f45f970f71ee5585bf3c924b9c77188405fa246)
2007-10-10r18593: try to get the same socket_wrapper file building in samba3 and samba4Stefan Metzmacher1-0/+2
this is preparation of adding libreplace to samba3 later. metze (This used to be commit 26228e4b2e8debd84caebe84bb34bfbbf2ad405c)
2007-10-10r18592: we don't need this twiceStefan Metzmacher1-3/+0
metze (This used to be commit e9fe725cf4021943e939f493b967e0ef5a438622)
2007-10-10r18563: - move more of the header checks into lib/replace/Andrew Tridgell1-4/+27
- change the test for net/if.h to do a full compile, not just an existance test. net/if.h is completely broken on hpux, and can never compile (it uses stuff before it defines it), so by using a AC_TRY_COMPILE() test we avoid using net/if.h on hpux, which should fix the build (This used to be commit bde18f3d5ce837f600bae8d63f31d92a579fe1f2)
2007-10-10r18549: move gcc version check to libreplace and reorder the tests a bitStefan Metzmacher1-6/+10
for nicer output metze (This used to be commit 888a769af557d050d99df703ce5f651688c837c5)
2007-10-10r18544: - use AC_LIBREPLACE_LOCATION_CHECKS in samba4Stefan Metzmacher1-0/+2
- to get the ordering right we need to specify AC_CANONICAL_BUILD explicit - add AC_CANONICAL_TARGET metze (This used to be commit 1ea52d75849f004752cdbe11a3dddd10b4afe47d)
2007-10-10r18539: 'make distclean' should delete config.cacheAndrew Tridgell1-1/+1
(This used to be commit 5a8becb1be1b41b4fecf9f9f47a60eed5f77c264)
2007-10-10r18535: move the AC_CANONICAL_HOST and host specific flag tests intoAndrew Tridgell4-0/+3100
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? (This used to be commit 823cd3ab35456769dcefee17bdaca21f01ba0f63)
2007-10-10r18518: we replace snprintf() if its not C99, so we should also add the rep_Andrew Tridgell1-2/+2
prototype in that case (This used to be commit 64b5ff171d04bd93bd41309edfbe532c01a46e4f)
2007-10-10r18514: fix configure caching of AC_VERIFY_C_PROTOTYPE() macroStefan Metzmacher1-3/+3
metze (This used to be commit 8e49dc69e7d588c85c9e9e7b24b595c61c1da95a)
2007-10-10r18505: add configure checks for telldir() and seekdir()Stefan Metzmacher3-4/+47
telldir() is different on older OpenBSD versions seekdir() is different Tru64 tridge: OpenBSD seems to like this replacement:-) while MAC OS 10 gets 134 runtime error:-( lets wait what Tru64 will give metze (This used to be commit 1f4e602ff239b7feabb2dd1d6938dedf91bde5cd)
2007-10-10r18503: - _GNU_SOURCE is defined by libreplaceStefan Metzmacher1-0/+4
- move AS_HELP_STRING replacement to libreplace metze (This used to be commit ace406a36ebbed230bf6c844e4639bac5e6c9882)
2007-10-10r18502: remove unused linesStefan Metzmacher1-10/+0
metze (This used to be commit 37f55c08c304feddf2ca5d0d20deeb9a6317e2c3)
2007-10-10r18501: libreplace needs 'long long', bailout if not presentStefan Metzmacher1-0/+7
or the size is not 8 bytes or more. samba4 doesn't need type checks anymore metze (This used to be commit d8fdd05482fc6b9bfb48d72db6b467e3e5c05e4d)
2007-10-10r18499: this hopefully lets the code compile on OpenBSDStefan Metzmacher1-0/+6
the prototype was fixed in this revision http://www.openbsd.org/cgi-bin/cvsweb/src/include/dirent.h.diff?r1=1.15&r2=1.16 so we'll need a configure test to find the prototype of telldir later metze (This used to be commit c4da3b43640368aff98e501b6ca7801821fd2fbd)
2007-10-10r18493: another "blind coding" attempt at a getdirentries() based readdir()Andrew Tridgell1-2/+5
replacement (This used to be commit 94b73d692bf85604c7be811bad0b8c6a08b18103)