summaryrefslogtreecommitdiff
path: root/source4/lib/replace
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r18383: ok we need _XOPEN_SOURCE 500 and include standards.h on Tru64Stefan Metzmacher2-1/+7
to get MAP_FAILED metze (This used to be commit 0f48c8ad7c066ba33cb8d4491083e15b24c5046e)
2007-10-10r18382: define _XOPEN_SOURCE to hopefully bring in MAP_FAILED inStefan Metzmacher1-1/+6
sys/mman.h on Tru64 metze (This used to be commit 8109eb9d28c9043c359d48319efe91aed2714431)
2007-10-10r18381: make sure autoconf doesn't add '-O2' to CFLAGSStefan Metzmacher1-2/+3
metze (This used to be commit ec6365b5f18eea7035b6963c8005e75b9f4e3437)
2007-10-10r18378: try enabling _OSF_SOURCE to see if it fixes the tru64 build problems -Andrew Tridgell1-0/+6
thanks to volker for the suggestion (This used to be commit 03ed41515b2228d130f669a2c0cf916a21182f30)
2007-10-10r18359: better handling of child process killing in standard modeAndrew Tridgell1-1/+1
(This used to be commit 3752cc2b5767950b26b57e79fa87a70f8d93173d)
2007-10-10r18353: try to fix the assumption of NULL being handled in printf()Andrew Tridgell1-0/+21
permanently by replacing printf() on systems that don't have a C99 printf lib (This used to be commit eacb5357c347255817a0a47abe7dadfaf24301fa)
2007-10-10r18350: we have to check for lstat() to keep roken happen on hpuxAndrew Tridgell1-1/+1
(This used to be commit e251c211f7fa67e2e32d684f10a742b496913284)
2007-10-10r18343: fixed setlinebuf() prototype, added test for it, and use it in twoAndrew Tridgell3-4/+5
places to avoid a #ifdef (This used to be commit 095b8057740a4bb207e24e4c63a2dcb53521a72f)
2007-10-10r18340: some HPUX boxes don't have ptrdiff_tAndrew Tridgell1-0/+1
(This used to be commit f3b24ea48a70268be5a3af601b5bb923d446c5d5)
2007-10-10r18339: need these checks for roken.h on hpuxAndrew Tridgell1-0/+11
(This used to be commit e98e0a28a0cb79e272c0caa0bcb3b5fb6bf3a17b)
2007-10-10r18337: more -Ae tests in check_cc.m4Andrew Tridgell1-0/+4
honor the MMAP_BLACKLIST (This used to be commit c2f2dbb5d1c082ee1391908073336a9dfc10f712)
2007-10-10r18336: autoconf tries to force on C89 mode on HP-UX, using the -AeAndrew Tridgell1-0/+4
flag. Unfortunately that flag conflicts with the -AC99 flag, and we get lots of breakage. This is a trick to force off the -Ae option (This used to be commit eb93fb8e54c46df35904e03870063c4532599442)
2007-10-10r18335: more portable bool testsAndrew Tridgell2-2/+22
(This used to be commit 45a3a6a566de020578c24feb5788367efd685f29)
2007-10-10r18332: added back in our shared mmap test codeAndrew Tridgell2-1/+77
(This used to be commit 6ff100b26698a50ba79b587a687cc0d440f73b55)
2007-10-10r18321: fixed some warnings on AIXAndrew Tridgell1-1/+1
(This used to be commit 449fab2c264aa50601f9a2d3310f1910ba97706b)
2007-10-10r18304: fixed misuse of size_t in dopr()Andrew Tridgell1-3/+3
(This used to be commit d082a3c5f5785e9d7775d94542ce9cc8ef098f63)
2007-10-10r18292: import some autoconf 2.60 specific macros,Stefan Metzmacher2-0/+199
so that older autoconf versions still work metze (This used to be commit 43970e6d081e56837e38856a9d05c8b9c303955e)
2007-10-10r18289: don't check for inline till we've worked out the main compiler flagsAndrew Tridgell1-1/+1
(This used to be commit 46ab2b9971c100afa2ed2cb8da0390cfaa9b7032)
2007-10-10r18288: autoconf already has a C99 test builtin!Andrew Tridgell1-0/+1
If this works well, we can remove our own test (This used to be commit b4b028e65e242b0fa1d74454bfa0b292917088eb)
2007-10-10r18287: add support for the -qlanglvl=extc99 and -qlanglvl=stdc99 flags,Andrew Tridgell1-0/+18
needed on AIX 5.2 for C99 structures (This used to be commit 2dc9239a3621f48fbb410a60fee61d70f85ada91)
2007-10-10r18284: enable _XOPEN_SOURCE_EXTENDED to fix a HP-UX bug with the definitionAndrew Tridgell1-0/+6
of sendfile() (This used to be commit 3e0f262b384b73183452aefabca93c01d53387a8)
2007-10-10r18283: libreplace.m4 needs to be early in configure.ac in other packages tooAndrew Tridgell2-2/+2
(This used to be commit 03f9c67c066d772d9a544f1183fbee609ab8137b)
2007-10-10r18280: more portability tidyups, ensuring we use libreplace everywhereAndrew Tridgell1-8/+12
(This used to be commit 4860d0256547b33709cdc109bdf7bb0310c2a5b6)
2007-10-10r18278: move more header checks and _GNU_SOURCE into libreplaceAndrew Tridgell2-1/+10
(This used to be commit 77c442cd469ba881215e025c87ce632c876eb617)
2007-10-10r18221: moved more configure checks into lib/replace/Andrew Tridgell1-0/+32
(This used to be commit d853dcfda771888f80a80e14ffabb1c0e58a340e)
2007-10-10r18219: move some more portability checks out of samba4 and info lib/replaceAndrew Tridgell1-0/+31
(This used to be commit 50318dc55ed5eb70adb02a5680498fad3c3e590d)
2007-10-10r18216: a special override for the broken HP-UX C compiler. It does supportAndrew Tridgell1-0/+10
C99 initialisers without any flags, but if you don't give it -AC99 then it dies when those initialisers are very complex (This used to be commit 46f72d7e3f285d08a043b4e8551f22c4dffe65e5)
2007-10-10r18206: need rep_ macro for setlinebufAndrew Tridgell1-0/+5
(This used to be commit 6a48f75eaef031538c3e5b98d8672919bba7c409)
2007-10-10r18205: need rep_ macros for seteuid and setegidAndrew Tridgell1-0/+10
(This used to be commit dd7af58b83815620114795aa49bc30b2440bd81b)
2007-10-10r18183: - add LIBREPLACE globaly and add LIBREPLACE_HOSTCCStefan Metzmacher1-0/+9
- also specify USE_HOSTCC = YES on binaries that use HOSTCC I also disable autodependecies as this change let make run forever, I hopefully fix that tomorrow metze (This used to be commit 159f74570233a8707dc1deb70fb1917a854213f8)
2007-10-10r18160: - pread and pwrite replacements need to be non-staticAndrew Tridgell7-60/+36
- replacing rename() is pointless - all platforms have it (and the #define of rename breaks some code) - use system/locale.h in snprintf.c - fix passwd.h for initgroups - stdlib is in replace.h, not needed elsewhere - fix the initgroups replacement - fix mapping of dl functions to rep_* (This used to be commit 57cd0ca176387d6a3acabf9fedeef4f2a3a3dad7)
2007-10-10r18159: always recreate the the archive and use -s (which does the same as ↵Stefan Metzmacher1-2/+1
ranlib) and see how portable it is metze (This used to be commit 47b4509db909e0848842c1601f2058183d36bda7)
2007-10-10r18156: fix platforms that need timegm replacementAndrew Tridgell1-1/+2
(This used to be commit 859fefc3b9d4241c3db2b2642e3340dffd93f1dd)
2007-10-10r18152: move our AC macros into lib/replace/libreplace_macros.m4Stefan Metzmacher3-21/+182
and include them from there metze (This used to be commit 38f9e90a120b4e62f005a1bac89139ee87f63071)
2007-10-10r18151: remove testfileStefan Metzmacher1-0/+1
metze (This used to be commit 6ffebfb9b7b8175eb312df6b9bc9fbd0db61b2e1)
2007-10-10r18147: add make realdistcleanStefan Metzmacher1-4/+4
metze (This used to be commit 20543e0306b129ee89c6ad21dd41205ac0263d7d)
2007-10-10r18146: we need signal.h in some placesAndrew Tridgell1-0/+2
(This used to be commit f226645d73c85011fea32a9b6e26eb41dd2c4336)
2007-10-10r18145: rename cc_feature.m4 into libreplace_macros.m4Stefan Metzmacher2-1/+1
metze (This used to be commit d0f40dd3e5ca8b46ee9b2c4332b393f519383aae)
2007-10-10r18144: make the logic a bit more cut&paste friendlyStefan Metzmacher1-10/+21
metze (This used to be commit da9be10dc602d21871d970a10015e970650942fe)
2007-10-10r18143: the 'showflags' convention from Samba is useful for the other packagesAndrew Tridgell1-1/+6
(This used to be commit a4d1f1d2229e1a0b1523bf14fab59278207abbc0)
2007-10-10r18141: an accidental nested C comment!Andrew Tridgell1-1/+1
(This used to be commit 47c305c7dc5d2b2b61afe9f42f77ee3652c61a79)
2007-10-10r18140: and this reduces warnings about toupper()Andrew Tridgell1-0/+1
(This used to be commit 41419e54d5e79d08a71cd9c94585be3448b1e9fc)
2007-10-10r18139: irix needs system/network.h hereAndrew Tridgell1-0/+1
(This used to be commit f46ab799b41c0ec520739ec11979771316781ce4)
2007-10-10r18138: LIBREPLACE provides stuff from -ldl so it should depend on itStefan Metzmacher1-1/+1
metze (This used to be commit b4e4c115ab23bcc3b116a3736ddf2e88bab6f4cf)
2007-10-10r18132: getpass can't depend on fns in lib/util/Andrew Tridgell1-2/+28
(This used to be commit b346ab2f0573177e0a4654fd7c77a071225fc785)
2007-10-10r18129: moved the system includes into libreplace - this gives much moreAndrew Tridgell23-41/+1160
isolation of our portability environment from the main code, and also simplifies the includes system (no separate #ifdef _SAMBA_BUILD for tdb. ldb etc now) (This used to be commit 77d1a468e06290aba789e2f3affc769fc5159a21)
2007-10-10r18127: Add macro AC_CHECK_DECL() for systems that don't have it.Jelmer Vernooij1-0/+13
(This used to be commit 589a1c250934a61db0f86c1e98962e195e681c79)
2007-10-10r18125: Remove obsolete file.Jelmer Vernooij1-58/+0
(This used to be commit 27aa34eb55afdbc27f36cebae074d6fef5fc822c)
2007-10-10r18124: Keep right libs when looking for dl*() functionsJelmer Vernooij1-2/+2
(This used to be commit 12ce4cef2fcdb4224fdf15c9ecf952ceb797f02c)
2007-10-10r18122: Fix warnings related to errno declaration.Jelmer Vernooij1-1/+3
(This used to be commit c30abc8e491d482c1771e7ac06cb511bae578467)